The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to add a link to the postbit popup vbmenu (click on the username in postbit) that will take me to the user profile edit.
I have tried the following, but the link tells me there was no user selected, so I suppose the link does not realize the userid. Code:
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></td></tr> Thanks! |
#2
|
||||
|
||||
![]()
You probably need to use $post[userid] instead of $userinfo[userid].
|
#3
|
|||
|
|||
![]()
Yep... that did it... thanks!
|
#4
|
||||
|
||||
![]()
Also, you can add the following conditional:
Code:
<if condition="can_moderate()"> </if> |
#5
|
|||
|
|||
![]()
I actually just use the usergroup id's in a condition.
I don't guess it matters does it? |
#6
|
||||
|
||||
![]()
Using can_moderate() adds a query to the page. If possible, it's better to use is_member_of
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|