2014-01-07, 12:04 AM
2014-01-07, 04:50 AM
if($mybb->user['postnum'] > 10 // Exclude higher post count holders
| in_array($mybb->user['uid'],explode(',',$mybb->config['super_admins'])) // Exclude Superadmins
| $mybb->usergroup['cancp']) // Exclude Admins
| $mybb->usergroup['issupermod'] // Exclude Supermods
| $mybb->usergroup['canmodcp']) // Exclude Mods
{
return;
} else {
// Do something
}
2014-01-07, 01:28 PM
Holy cow @effone your are awesome man I really love dude
I have just put you in my list of most respected and trusted dudes just after myself
I have come up with this conditional what do you think?
I have just put you in my list of most respected and trusted dudes just after myself
I have come up with this conditional what do you think?
if($mybb->user['postnum'] > 10 | in_array($mybb->user['usergroup'], array('3','4','6')))
return;