The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
If UsergroupNo = 1........correct format needed
Hiya,
I'd like to place an If statement in my postbit which checks the usergroup first. Basically Code:
[IF Usergroup Number = 1] Do Stuff; [/IF] Also, I'm looking for a reference for VB coding standards, like what hooks (right term?) can be called, where, how, etc. I looked around the VB.com website but couldn't find anything, though it should be there. Can someone point me in the right direction please. Thank you. |
#2
|
||||
|
||||
I just posted about the usergroup issue here: https://vborg.vbsupport.ru/showthread.php?t=158554
|
#3
|
||||
|
||||
Code:
<if condition="is_member_of($vbulletin->userinfo, 1)"> DO STUFF </if> |
#4
|
||||
|
||||
Will that php work in a template dismounted?
|
#5
|
||||
|
||||
My code example will work in templates, it will only work in templates.
|
#6
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|