News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

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