![]() |
Mod / Admin Check
What's the best way to check if individual user 'X' (the poster) is either a moderator or an admin when you're in a postbit hook?
|
Here is what I would use:
Code:
if (in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))) |
All times are GMT. The time now is 02:25 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:
|