#1 2025-03-28 07:49:46

Tassu
Member
2023-06-21
9

Is there a way show Pages seen in start page?

Hi,
I'm looking a way show Pages Seen count in start page?

Piwigo URL: https://www.photorgasm.com/galleria/

Offline

 

#2 2025-03-29 04:45:12

swhite-photos
Member
2024-12-13
11

Re: Is there a way show Pages seen in start page?

I don't see a plugin that does that easily off hand, maybe someone can correct me.

Piwigo admin page uses this to generate it:

Code:

include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
$stats = get_pwg_general_statitics();

I slapped together this little plugin that will put it in the footer of every page if you want to try it out, code is super simple and stripped down for easy modification (I broke down Perso Footer plugin to make it quickly for you). You can see it active on the footer of my page currently. Could be updated to also display users and other available keys I put in the comments of the code.

https://github.com/swhite8/piwigo-statfooter

Offline

 

#3 2025-03-29 07:26:42

Katryne
Member
2016-12-03
506

Re: Is there a way show Pages seen in start page?

There is also the "Whois on line" plugin that display in the footer a the total number of viewed pages but also many other statistics about current visitors, such as :

Total hits: 217981
Most recent 10 minutes hits: 2
Current hour hits: 3
Yesterday hits: 3638
Last 24 hours visitors: 68
Current hour visitors: 1
Recent member(s): Katryne

https://fr.piwigo.org/ext/index.php?eid=279


https://album.chauvigne.info/ v.15.7.0  PHP: 8.2.29
https://balades.comoni.org/  v.15.7.0 PHP: 8.2.29
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2025 · Contact