View Full Version : Is it possible to move recent visitors to the UserCP area?
designco2
10-05-2011, 01:21 PM
I would like to HIDE all recent visitors from public but allow the profile owner to see this information. Is it possible to hide this from everyone but the owner of the profile (or) move this into the UserCP so only he/she can see this info and not the public?
souperman
10-06-2011, 07:57 AM
Yeah it's possible. The way I could think of it is to get the profile id and match it to the userid. If they're equal then display the visitor block. If not, then don't display it.
designco2
10-06-2011, 07:41 PM
Anyone know how to pull the members ID and the profile ID?
richy96
10-11-2011, 05:13 PM
Not played around with that area of VB for a while but it's something like
$userinfo['userid']
and $bbuserinfo['userid']
the first being the logged in user and the second being the profile user
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.