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: Don't display album views  (Read 3119 times)

0 Members and 1 Guest are viewing this topic.

Morgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Don't display album views
« on: October 29, 2012, 10:40:20 am »

Hello everyone,

I would like to show no picture views and no album views in a 1.5 album. I have found the option to disable picture views in settings. But how can I disable album views? I am using the theme "curve".

Thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Don't display album views
« Reply #1 on: October 29, 2012, 04:02:03 pm »

Open index.php, find
Code: [Select]
            $alb_list[$alb_idx]['alb_hits'] = sprintf($lang_list_albums['alb_hits'], $alb_hits);and replace with
Code: [Select]
            $alb_list[$alb_idx]['alb_hits'] = '';(twice)


find
Code: [Select]
            $alb_list[$aid]['alb_hits'] = sprintf($lang_list_albums['alb_hits'], $album['alb_hits']);and replace with
Code: [Select]
            $alb_list[$aid]['alb_hits'] = '';(twice).
Logged

Morgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Don't display album views
« Reply #2 on: October 29, 2012, 08:41:24 pm »

Thanks a lot. Works perfectly!  ;D
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Don't display album views
« Reply #3 on: October 29, 2012, 10:07:39 pm »

Then please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.