View Full Version : Profile Visitor Question
Sweeks
01-17-2009, 05:02 PM
I want to know if there is any code/variable I can use to display the current visitor to a profile. For example, If Mark visits Davids profile it will display. Mark's username on David's profile and vice versa.
I am hoping there is something for this :)
Thank you.
________
BOX VAPORIZERS (http://boxvaporizers.com)
Lynne
01-17-2009, 05:15 PM
It shows on the profile page in 3.7 and later. I'm pretty sure that information is not kept in the earlier versions of vb.
Sweeks
01-17-2009, 05:41 PM
Basically what I want is the current visitors username to display only to the current visitor. I dont mean like the recent visitors block. Is there anything for this? For example, If I am viewing Marks profile it will say to me, Welcome to Mark's profile.
________
Wicca dicussion (http://www.religionboard.org/wicca/)
Lynne
01-17-2009, 06:15 PM
The variable for the current user viewing any page is $bbuserinfo. So, if you want to add something to the profile template that spits out the name of the current viewer, that is the variable to use.
Sweeks
01-17-2009, 06:45 PM
Oh simple!
________
Uhwh (http://uhwh.com/)
Medina
02-18-2009, 02:20 PM
Do you mean like this;
https://vborg.vbsupport.ru/showthread.php?t=199800&highlight=recent+visitors
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.