MyBB Community Forums

Full Version: Administrator Control Panel in PHP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I tried with:
if ($mybb->usergroup['canadmincp'])
but it is not working, what name have admin cp in PHP?
if ($mybb->usergroup['cancp'])
Thank you very much for help
What is this?
can anyone explain it.
I'm writing plugin. It's reminder. I needed ACP name in PHP because I wanted to set such that user, which has permission to ACP showed up reminder (I'm setting reminders for different groups).
Thank you, Google Translator Wink