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: Numbers still below thumbnails in most viewed  (Read 3131 times)

0 Members and 1 Guest are viewing this topic.

marian

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 160
    • BYM Photo Gallery
Numbers still below thumbnails in most viewed
« on: July 03, 2005, 01:43:32 pm »

I've just upgraded www.bymnews.com/photos(having put it off for ages), so first a thank you for the upgrade and the fool proof instructions!
I just have one small prob. I cant get rid of the number of views under the thumnails in Most Viewed, even though I have been into Config and made sure Display no of views below thumbnail is set to NO.
Hope you can help.
« Last Edit: July 03, 2005, 03:15:38 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Numbers still below thumbnails in most viewed
« Reply #1 on: July 03, 2005, 02:17:13 pm »

Most views shoes the views, it's coded that way. You'd need to modify include/functions.inc.php

Code: [Select]
$caption = "<span class=\"thumb_caption\">".sprintf($lang_get_pic_data['n_views'], $row['hits']).'</span>';
and blank the caption

Code: [Select]
$caption = '';
Logged

marian

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 160
    • BYM Photo Gallery
Re: Numbers still below thumbnails in most viewed
« Reply #2 on: July 03, 2005, 02:40:29 pm »

Many thanks, tiz done! :)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.