![]() |
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. |
Wrong forum...
|
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 |
I know, looks like there is no way to delete it. Maybe someone can give me an answer before the moderator whacks it.
|
Quote:
|
navbar template does not give you the USERID number anywhere.
|
HTML Code:
<a href="$vboptions[bburl]/member.php?u=$bbuserinfo[userid]"> My Profile </a> |
Thank you sir, that worked.
|
All times are GMT. The time now is 03:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|