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: Hide votes below thumbnails for one album  (Read 2636 times)

0 Members and 1 Guest are viewing this topic.

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Hide votes below thumbnails for one album
« on: April 08, 2012, 01:53:57 am »

Hi, I want to hide the number of votes which appear below the thumbnails in one of my albums ONLY. Is there a way to implement the code which will set limit to display the voting below the thumbnail according to the album_id?


Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hide votes below thumbnails for one album
« Reply #1 on: April 12, 2012, 09:24:48 am »

Open include/functions.inc.php, find
Code: [Select]
if ($CONFIG['display_thumbnail_rating'] == 1) {and replace with
Code: [Select]
if ($CONFIG['display_thumbnail_rating'] == 1 && $album != 3) {if you want to hide it for the album with the ID '3'.
Logged

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Hide votes below thumbnails for one album
« Reply #2 on: April 12, 2012, 01:51:12 pm »

Topic has been solved. Thank you, Andre.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.