'lasthits' customization 'lasthits' customization
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

'lasthits' customization

Started by mamu, February 18, 2007, 05:46:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mamu

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!

Nibbler

Edit include/functions.inc.php,

find the 'lasthits' case and change

if ($set_caption) build_caption($rowset,array('mtime','hits'));

to

if ($set_caption) build_caption($rowset,array('hits'));

or whatever caption you want.