![]() |
PHP If user = moderator
What can I use for an if statement to determine whether a user is moderator or not i.e. if member is able to access the modcp?
|
I'm not that much familiar with the mod variables as I haven't used them before, but you could try using:
Code:
if (can_moderate() == true) Code:
if can_moderate()) |
The condition to determine if a user has access to the ModCP is:
PHP Code:
|
^ awesome, good to know :).
|
All times are GMT. The time now is 01:22 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:
|