The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Custom permission in template
I've been using custom permissions for a while in PHP but never found out how to use them in a template. It is possible or do I need to pass a variable from the PHP?
Thanks in advance |
#2
|
|||
|
|||
I'm not sure exactly what you mean by custom permissions, but in templates you can only check variables that have been registered in the template. So I guess it depends on what you're checking to determine the permission.
|
#3
|
||||
|
||||
Thank you for the reply kh99 When I say permissions I mean usergroup permissions like in this article
Up until now I have being doing it just as you describe but I can't help feeling that's not the way it should be done. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|