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: Counter seen in Admin view only?  (Read 3300 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.02 seconds with 19 queries.