Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Counters Main Page Log In  (Read 2540 times)

0 Members and 1 Guest are viewing this topic.

rufride

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Counters Main Page Log In
« on: March 09, 2007, 06:48:12 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Counters Main Page Log In
« Reply #1 on: March 09, 2007, 07:14:15 pm »

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).
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.