PDA

View Full Version : Miscellaneous Hacks - Date/Time of Profile Visitor


SorentoUltimate
01-10-2010, 10:00 PM
Title : Date/Time of Profile Visitor

Description : Show Date/Time of Profile Visitor when you hover your cursor over their UserName in Recent Profile Visitors.

Please remember to click Mark as Installed if you use this modification.
NO SUPPORT FOR USERS NOT MARKED AS INSTALLED.

Files : 0
Plugins : 4
Phrases : 2
Templates : 1
Settings : 0 Group / 0 Settings

Instalation
1. Import Installation File.

2. Open the file forumroot/includes/class_profileblock.php

Find (Around 1159)
eval('$visitorbits .= "' . fetch_template('memberinfo_visitorbit') . '";');___

Above Add
$user['date'] = vbdate($this->registry->options['dateformat'],$user['dateline']);
$user['time'] = vbdate($this->registry->options['timeformat'], $user['dateline']);
$userdateline = $user['date'] .' '. $user['time'];___

Save and UpLoad forumroot/includes/class_profileblock.php

Sorento-UltimateClub
http://www.sorento-ultimateclub.com (http://www.sorento-ultimateclub.com/)

SorentoUltimate
01-11-2010, 09:58 PM
RESERVED

Eplexx
06-24-2011, 03:48 PM
I changed something within the code so it doesn't say "visit" and so it's past tense rather than present.

Search in phrases: profile_visitor_dateline_hover

Change the code to: {1} visited your profile at {2}.

Tyran1
05-08-2012, 12:09 PM
Work with 3.8.7 PL2 thanks!