coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: vaughan198 on March 08, 2005, 07:06:18 PM

Title: topn
Post by: vaughan198 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
Title: Re: topn
Post by: Joachim Müller on March 09, 2005, 09:50:33 AM
(not tested): edit include/functions.inc.php, find$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
Title: Re: topn
Post by: vaughan198 on March 09, 2005, 08:22:55 PM
thanks for the suggestion. didn't seem to work. any other suggestions?
Title: Re: topn
Post by: Joachim Müller on March 10, 2005, 09:43:36 AM
search include/functions.inc.php for 'n_views'and comment out the line that contains the code.

Joachim