forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: Hanna Iris on October 20, 2004, 12:16:10 pm

Title: Show total # of pics
Post by: Hanna Iris on October 20, 2004, 12:16:10 pm
I have a little 'statistics' info on my menu (of my site) which states how many visitors there are at the moment, total etc. I'd like to show the total number of pics I have on my gallery but don't know how. So basically any help would be amazing :)
Title: Re: Show total # of pics
Post by: Joachim Müller on October 21, 2004, 05:45:50 am
use the ssi.mod to display coppermine statistics on non-coppermine pages. Search the mods-board for "Random image include". However, you have to understand that the mod in question goes unsupported and is not recommended if you have private albums, as it doesn't respect privacy.
If you only need the stats, it's should be fairly easy to come up with a query that extracts this bit of information only. You might want to search the mod board even more, there are other mods that are based on the ssi.mod that will display stats in one way or the other. There's a stats mod by Nibbler as well that works differently, take a look into it as well and see if it works for you (not sure though, haven't used it so far).

Joachim
Title: Re: Show total # of pics
Post by: Hanna Iris on October 21, 2004, 09:45:00 am
Thanks so much GauGau :) Will have a look now.