![]() |
Date & Time of Profile Visitor
1 Attachment(s)
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> HTML Code:
<li class="smallfont"><a href="member.php?$session[sessionurl]u=$user[userid]" title="$userdateline">$user[musername]</a>$user[invisiblemark]$user[buddymark] </li> 3. Open the file includes/class_profileblock.php and find the following line around line 1159: PHP Code:
PHP Code:
This was written for and tested on my 3.8.0 RC1 board. |
1 Attachment(s)
ahhh excellent lynne :up:
Screenshot attached as someone is bound to ask for one :eek::D |
Thanks for the screen shot! I meant to do one and then forgot about it.
|
Pitty Iam second :(
Nominated, rated, installed Thanks Lynne Here is a HUG from me :eek: :D |
Thank you, Lynne.
|
Nice work lynne!
Should be default! |
thanks lynne nice
|
Usergroup permissions or do we have to add conditionals?
|
You could just add a condition either around the php code (added in step 3) or the template code (added in step 2). Either will work.
|
great mod. does anyone know of a way to make the profile visitors show up in the order of when they visited rather than in alphabetical order?
|
All times are GMT. The time now is 11:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|