remove # of views? remove # of views?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

remove # of views?

Started by agge, November 02, 2003, 08:49:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

agge

Hello, is there anyway to remove the number of views from the thumbnails page?
I have looked at the thumbnails.php script but I have no idea what to look for to remove the # of views.
The bit I am talking about it where you look at an album's thumbnail list, the number of views is right next to the picture's title and in my case it is a very annoying sport for it to be. Is there anyway to remove it?

Thankyou very much for any help.

Joachim Müller

edit /include/functions.inc.php and search for$caption = $rowset[$key]['title'] ? "<span class=\"thumb_title\">".$rowset[$key]['title']."-".sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits'])."</span>" : '';Replace it with$caption = $rowset[$key]['title'] ? "<span class=\"thumb_title\">".$rowset[$key]['title']."</span>" : '';

GauGau

agge

thankyou! it works perfectly!!! Thankyou so much for your fast help :)