vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=200903

Date & Time of Profile Visitor
by Lynne
06 Jan 2009 22:34

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the template.

3. Open the file includes/class_profileblock.php and find the following line around line 1159:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add above it:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save and upload the file.


This was written for and tested on my 3.8.0 RC1 board.

Bounce 06 Jan 2009 22:58

1 Attachment(s)
ahhh excellent lynne :up:

Screenshot attached as someone is bound to ask for one :eek::D

Lynne 06 Jan 2009 23:13

Thanks for the screen shot! I meant to do one and then forgot about it.

Thanks
by goxy63
06 Jan 2009 23:14

Pitty Iam second :(

Nominated, rated, installed

Thanks Lynne

Here is a HUG from me :eek:
:D

g0dfather1984 06 Jan 2009 23:43

Thank you, Lynne.

SEOvB 06 Jan 2009 23:46

Nice work lynne!

Should be default!

Ch13f 07 Jan 2009 16:04

thanks lynne nice

glorify 07 Jan 2009 17:49

Usergroup permissions or do we have to add conditionals?

Lynne 08 Jan 2009 01:30

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.

azher 16 Jan 2009 08:44

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?

Magnumutz 16 Jan 2009 11:06

Sweet but just hate file edits...

Lynne 16 Jan 2009 17:10

Quote:

Originally Posted by azher (Post 1714331)
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?

Comment out the line in class_profileblock.php that sorts them:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Quote:

Originally Posted by Magnumutz (Post 1714431)
Sweet but just hate file edits...

So do I, but unfortunately I couldn't find a way around it.

algor65 19 Jan 2009 00:04

nice item, installed and rated as MOTM

TimberFloorAu 19 Jan 2009 00:08

Good Work Lynne :up:

goxy63 22 Jan 2009 05:00

Lynne
Regarding to 'azhers' post, and your reply....
quote:
'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?'

In includes/class_profileblock.php
I found mentioned line

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But what to change here to show up vistitors in mentioned order ?


All times are GMT. The time now is 11:32.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.