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: 'lasthits' customization  (Read 3359 times)

0 Members and 1 Guest are viewing this topic.

mamu

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
'lasthits' customization
« on: February 18, 2007, 05:46:12 am »

Hi there,

I've added the 'lasthits' to my content display and was wondering how I could customize it so that the time/user IP of the last view is not shown?  Is there a setting I can change for that?

Thanks!
Logged

Nibbler

  • Guest
Re: 'lasthits' customization
« Reply #1 on: February 18, 2007, 12:27:25 pm »

Edit include/functions.inc.php,

find the 'lasthits' case and change

Code: [Select]
if ($set_caption) build_caption($rowset,array('mtime','hits'));
to

Code: [Select]
if ($set_caption) build_caption($rowset,array('hits'));
or whatever caption you want.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.