The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Little help with Postbit..
I am currently modifying the postbit template.. I have made it so that when you click the username, in the drop down list, there is now user notes... I have that functioning, but, I only want it to show for those that have permission... HOw can I accomplish this?
Herei s the code I currently have Code:
<tr><td class="vbmenu_option"> <a href="usernote.php?$session[sessionurl]u=$userinfo[userid]"><phrase 1="$post[username]">$vbphrase[user_notes]</a></phrase></a></td></tr> When I viewed the memberoptions templates... I noticed they used an If command that was this: Code:
<if condition="$show['usernotes']"> So I decided to add that little part to my code, thus having Code:
<if condition="$show['usernotes']"> <tr><td class="vbmenu_option"> <a href="usernote.php?$session[sessionurl]u=$userinfo[userid]"><phrase 1="$post[username]">$vbphrase[user_notes]</a></phrase></a></td></tr> </if? What have I dont wrong here? Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|