forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: robindengate on November 09, 2006, 10:50:07 am

Title: Hi, A newbie here - can't seem to make Hit Stats, etc, work
Post by: robindengate on November 09, 2006, 10:50:07 am
According to config I should be able to:

Keep detailed hit statistics
Enabling this option records:

Each vote separately
IP Address
Search Keyword, if the referer is Google, Yahoo! or Lycos search engines
Referer
Browser
Operating System
of the visitor.

As the statistics are being kept per file, the link to the stats can be accessed on the individual file's page (displayimage.php) by clicking the link in the file info section to open the stats pop-up.

Note: The total hits may not match if you enable details and do not reset the earlier hits.


However, I have spent ages looking through the manual and config etc, and cannot see a link on the files info box. View log files in config only shows admin config changes.

Help, anyone?

here's my site link http://www.scenicbritain.co.uk/coppermine/index.php (http://www.scenicbritain.co.uk/coppermine/index.php) if it helps.
Title: Re: Hi, A newbie here - can't seem to make Hit Stats, etc, work
Post by: Nibbler on November 09, 2006, 02:03:09 pm
This is a bug. Edit displayimage.php

Code: [Select]
$detailsLink = ($CURRENT_PIC_DATA['hits'] && $CONFIG['vote_details'] && GALLERY_ADMIN_MODE)
and change to

Code: [Select]
$detailsLink = ($CURRENT_PIC_DATA['hits'] && $CONFIG['hit_details'] && GALLERY_ADMIN_MODE)
Alternatively enable vote stats.
Title: Re: Hi, A newbie here - can't seem to make Hit Stats, etc, work
Post by: robindengate on November 09, 2006, 02:30:50 pm
Thanks!

Seems OK now!