![]() |
Pull user ID from UserCP
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.
|
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> |
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?
|
It's not going to be $post[] in the usercp - at a guess, without looking, I would say $userinfo['userid'].
|
It should still be $bbuserinfo in the User CP.
|
All times are GMT. The time now is 12:03 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:
|