View Full Version : Own Link
Hex_legend
02-16-2008, 08:45 AM
How would I show a link for a particular member?
I mean, if I want to show a link for a user to upload pics to their profile, how do I show it on their profile only and so only that user can see it?
Dismounted
02-16-2008, 09:10 AM
<if condition="$vbulletin->userinfo['userid'] == $userinfo['userid']">LINK HERE</if>
When you put that code in a profile page, it only shows if the user seeing it is their profile.
Hex_legend
02-16-2008, 09:12 AM
Thanks Dismounted.
What would be the one to show profile information field to anyone in particular usergroups (admin 6, Moderators 7, Custom Usergroup 9)
--------------- Added 1203160785 at 1203160785 ---------------
<if condition="$vbulletin->userinfo['userid'] == $userinfo['userid']">LINK HERE</if>
When you put that code in a profile page, it only shows if the user seeing it is their profile.
Also, that code doesn't work for me.. It doesn't display anything :confused:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.