![]() |
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] 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. |
I just posted about the usergroup issue here: https://vborg.vbsupport.ru/showthread.php?t=158554
|
Code:
<if condition="is_member_of($vbulletin->userinfo, 1)"> |
Will that php work in a template dismounted?
|
My code example will work in templates, it will only work in templates.
|
Quote:
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|