Moderator in PHP
#1
Moderator in PHP?
if ($mybb->user['ismoderator'])
I tried with:
if($mybb->user['uid'] && $mybb->user['moderator'])
but nothing
P.S. I'm sorry for this thread because I created other threads about registered users but it is big problem. Wink
Reply
#2
To determine if someone is a moderator, I test if the user can use the Mod CP.

if($mybb->usergroup['canmodcp'])
{
// Moderator
}
else
{
// Not a moderator
}
Reply
#3
Think there's also is_moderator?
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#4
(2016-10-31, 01:34 PM)Matt Wrote: Think there's also is_moderator?

Yes, but this is a func is_moderator()


Uwazaj bo bedzie ban
My Plugins

PM only paid support
Reply
#5
(2016-10-31, 04:46 PM)Supryk Wrote: Uwazaj bo bedzie ban

To do mnie?
Matt Wrote:Think there's also is_moderator?
But I prefer with canmodcp
Reply
#6
(2016-11-01, 07:18 AM)CezPlayer Wrote:
(2016-10-31, 04:46 PM)Supryk Wrote: Uwazaj bo bedzie ban

To do mnie?
raczej tak, please use English

//why u are put settings in mcp?
Reply
#7
I think he wants modify something. Not definitely. He wants to develop anyhow.
Reply
#8
Those people who have access to MCP, they see something
@X3nO Jak widzę, że jesteś z Polski, nie będę pisał po angielsku. 
Reply
#9
So, modify template?

This is eng support, lang english and write english.
Reply
#10
Not important
Thread is resolved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)