The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
UserId
How can I show the userid in the welcome box after "Welcome, username" (HERE) for the user that is viewing the page?
|
#2
|
|||
|
|||
In your navbar template find
Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /> Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> $vbphrase[userid]: $bbuserinfo[userid]<br /> |
#3
|
||||
|
||||
Thanks! I didn't explain myself correctly,sorry!
Example: if I'm viewing another user's user profile I would like their userid to show there, not mine. I can't figure that out. Thanks in advance! |
#4
|
|||
|
|||
You can already get a user's userid, simply by putting your mouse on their username and looking at the bottom of your Browser (if you are using IE.)
Maybe that would be enough for your purposes. Regards, |
#5
|
||||
|
||||
I know that! It's for a purpose.
|
#6
|
||||
|
||||
Just stick $user[userid] wherever in the profile page you want it to show.
|
#7
|
||||
|
||||
Thanks y'all I got it. Maybe I'll post it so others can use it if they want.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|