View Full Version : How Do I Get the USERID #...
LLIFE
01-10-2006, 05:28 PM
I want to put a simple "view my profile" link in UserCP, whats the quickest way to get the USERID as a digit?
I edited the USERCP_SHELL and added a view profile with an href of
/forum/member.php?u=$vbulletin->userinfo['userid']"
but thats not working, im sure there is a global varible for this I just dont know it, anyone know what it is?
Thanks.
Reeve of shinra
01-10-2006, 05:32 PM
Wrong forum...
peterska2
01-10-2006, 05:33 PM
The easiest way is to get the link from the navbar template and copy it into the usercp shell where you want it.
BTW, you posted in the wrong forum
LLIFE
01-10-2006, 05:33 PM
I know, looks like there is no way to delete it. Maybe someone can give me an answer before the moderator whacks it.
peterska2
01-10-2006, 05:36 PM
The easiest way is to get the link from the navbar template and copy it into the usercp shell where you want it.
see there
LLIFE
01-10-2006, 05:41 PM
navbar template does not give you the USERID number anywhere.
Guest190829
01-10-2006, 05:42 PM
<a href="$vboptions[bburl]/member.php?u=$bbuserinfo[userid]"> My Profile </a>
I'm not sure if there is another template form of bburl for 3.5...
LLIFE
01-10-2006, 05:51 PM
Thank you sir, that worked.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.