Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: topn  (Read 2795 times)

0 Members and 1 Guest are viewing this topic.

vaughan198

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
topn
« on: March 08, 2005, 07:06:18 pm »

Is it possilbe to edit the most viewed block on the main page so that it does not display how many times the image has been displayed?
Many Thanks
WV
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: topn
« Reply #1 on: March 09, 2005, 09:50:33 am »

(not tested): edit include/functions.inc.php, find
Code: [Select]
$caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);and comment the line out by putting a double slash in front of it.

Joachim
Logged

vaughan198

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: topn
« Reply #2 on: March 09, 2005, 08:22:55 pm »

thanks for the suggestion. didn't seem to work. any other suggestions?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: topn
« Reply #3 on: March 10, 2005, 09:43:36 am »

search include/functions.inc.php for
Code: [Select]
'n_views'and comment out the line that contains the code.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.