News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Hide votes below thumbnails for one album

Started by mr.bena, April 08, 2012, 01:53:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mr.bena

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?



ΑndrĂ©

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

mr.bena