Back to vBulletin 3.7 Add-ons

Date & Time of Profile Visitor
Mod Version: 1.00, by Lynne

This modification is in the archives.
vB Version: 3.7.x Rating: (2 votes - 5.00 average) Installs: 11
Released: 08 Jan 2009 Last Update: Never Downloads: 31
Not Supported Uses Plugins Template Edits Code Changes Re-usable Code Translations  

A simple mod to show the date and time of the profile visitor when you hover your cursor over their username in Recent Visitors in member.php.

1. Go to your Admin CP > Plugins & Products > Download / Upload Plugins > Upload the sml file profile_visitor_datetime.xml

2. Change the template "memberinfo_visitorbit" from:
HTML Code:
<li class="smallfont"><a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>$user[invisiblemark]$user[buddymark] </li>
To:
HTML Code:
<li class="smallfont"><a href="member.php?$session[sessionurl]u=$user[userid]" title="$userdateline">$user[musername]</a>$user[invisiblemark]$user[buddymark] </li>
Save the template.

3. Open the file includes/class_profileblock.php and find the following line around line 1159 (may be earlier for 3.7):
PHP Code:
eval('$visitorbits .= "' fetch_template('memberinfo_visitorbit') . '";'); 
Add above it:
PHP Code:
 $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 the file.

This was written for and tested on my 3.8.0 RC1 board and just tested it on a friend's 3.7.0 board.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s profile_visitor_datetime.zip (2.0 KB, 34 downloads)

Similar Mods

Profile Enhancements Date & Time of Profile Visitor vBulletin 3.8 Add-ons
Profile Enhancements vB3.5 Local time and date in post and profile Modification Graveyard
The Date + Time User Was Last Active In Profile! vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024