The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I pull a user ID from the user cp to be linked in a url? I just need to know the variable that will pull the info.
|
#2
|
||||
|
||||
![]()
The variable would be $post[userid]
With linkage it would be: Code:
<a class="smallfont" href="$admincpdir/user.php?do=edit&u=$post[userid]">$post[userid]</a> ![]() |
#3
|
|||
|
|||
![]()
What I want to do put a link in the usercp that links to their profile.php page. The problem is, I can't seem to get their userID from the usercp.php Any alternate ideas how to get their userid?
|
#4
|
||||
|
||||
![]()
It's not going to be $post[] in the usercp - at a guess, without looking, I would say $userinfo['userid'].
|
#5
|
||||
|
||||
![]()
It should still be $bbuserinfo in the User CP.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|