The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Check Usergroup Permissions in Template
I have searched high and low for an answer but have come up with nothing. So I am posting here.
I want to do this Code:
if ($permissions['neots_perms'] & $vbulletin->bf_ugp['neots_perms']['neots_generate']) All help is appreciated. |
#2
|
||||
|
||||
What was the code you used in vB3 and what is the code you tried in vB4?
|
#3
|
|||
|
|||
Quote:
Here is what it looks like in the plugin Code:
if ($permissions['neots_perms'] & $vbulletin->bf_ugp['neots_perms']['neots_generate']) { $content .= "<a href=\"".$_SERVER['PHP_SELF']."?do=add\">Generate Token</a><br />"; } Code:
<if condition="!$permissions[tunez_perm] AND $vbulletin->bf_ugp[tunez_perm][tunez_vote]"> NOT ALLOWED </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|