Counters Main Page Log In Counters Main Page Log In
 

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

Counters Main Page Log In

Started by rufride, March 09, 2007, 06:48:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rufride

Is there a way to place a counter on our Coppermine Photo Book
main page log in screen?

We need a way to count the individuals entering the photo book,
not the number of times each photo is viewed. 


Thank You for your help.
Don

Joachim Müller

Sure, go ahead and add your counter code to themes/yourtheme/template.html (if you want to count all page impressions and your counter is client-driven, e.g. written in JavaScript) or login.php (if you want to count only the visits per login page, PHP-counter possible as well as a JavaScript-driven one or a webbug).
If you have a counter driven by server-sided scripting (e.g. PHP or Perl) I suggest using the custom header feature for this purpose.

Out of the box, Coppermine doesn't come with counter scripts, but the web is full of them. Choose the one that suits your needs best and apply it as you see fit. Make sure to decide for a counter that doesn't need to manipulate the file header, as such counters are hard to get to work with Coppermine (if at all).