The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
How to tell if a post is by a member of a certain usergroup
I know the below code tells the forum to run code if the current user is a member of a certain usergroup:
if(is_member_of($vbulletin->userinfo, 5, 6, 7)) //stuff goes here if true My question is, is there similar code to decide to run the if statement based on the usergroup of the current poster. Basically I'm in the postbit template and want a conditional to do something if the poster is in a certain usergroup(s). Maybe something like: if(is_member_of($vbulletin->posterinfo, 5, 6, 7)) //stuff goes here if true |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|