Show total # of pics Show total # of pics
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Show total # of pics

Started by Hanna Iris, October 20, 2004, 12:16:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hanna Iris

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 :)

Joachim Müller

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

Hanna Iris

Thanks so much GauGau :) Will have a look now.