The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How Do I Get the USERID #...
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. |
#2
|
||||
|
||||
Wrong forum...
|
#3
|
|||
|
|||
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 |
#4
|
|||
|
|||
I know, looks like there is no way to delete it. Maybe someone can give me an answer before the moderator whacks it.
|
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
navbar template does not give you the USERID number anywhere.
|
#7
|
|||
|
|||
HTML Code:
<a href="$vboptions[bburl]/member.php?u=$bbuserinfo[userid]"> My Profile </a> |
#8
|
|||
|
|||
Thank you sir, that worked.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|