The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
You can only use $bbuserinfo in a template condition. If you want to check in a plugin, use $vbulletin->userinfo. Also, if you want it to work for all forums you can just take out the forum check (unless you're leaving it there for future use or something). So try:
Code:
if (is_member_of($vbulletin->userinfo, 5,6,7)) { I guess in the other thread I assumed when you asked for a conditional you meant a template condition. BTW, ! just means "not", so it was working only because the check was always failing (so !is_member_of was always true), but I think you would have found that it was true for all members. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|