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: remove # of views?  (Read 3544 times)

0 Members and 1 Guest are viewing this topic.

agge

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
remove # of views?
« on: November 02, 2003, 08:49:22 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
remove # of views?
« Reply #1 on: November 02, 2003, 09:07:50 am »

edit /include/functions.inc.php and search for
Code: [Select]
$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
Code: [Select]
$caption = $rowset[$key]['title'] ? "<span class=\"thumb_title\">".$rowset[$key]['title']."</span>" : '';

GauGau
Logged

agge

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
remove # of views?
« Reply #2 on: November 02, 2003, 10:01:51 am »

thankyou! it works perfectly!!! Thankyou so much for your fast help :)
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.