Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Counter seen in Admin view only?  (Read 3118 times)

0 Members and 1 Guest are viewing this topic.

boating_jo

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Counter seen in Admin view only?
« on: October 19, 2005, 01:14:45 pm »

Can the counter for "viewed xx times" on the home page be removed, but, still be seen in admin mode please?


« Last Edit: October 21, 2005, 06:34:52 pm by GauGau »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Counter seen in Admin view only?
« Reply #1 on: October 19, 2005, 07:40:46 pm »

Edit index.php

Replace

Code: [Select]
$STATS_IN_ALB_LIST = true;

with

Code: [Select]
if (GALLERY_ADMIN_MODE) {
   $STATS_IN_ALB_LIST = true;
}

That's it.

Abbas
Logged
Chief Geek at Ranium Systems

boating_jo

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Counter seen in Admin view only?
« Reply #2 on: October 21, 2005, 02:16:11 pm »

Thank you for your kind help, I will attempt the change this weekend  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.