Quote:
Originally Posted by ThomasR
Dark Jim : thank you for your hack, it works perfectly !
Just a small question, since I'm not a coder at all: how can I add more than a usergroup ? Actually, your code is for only admin (usergroup 6) and I want to add the super moderators
Code:
if ($post['usergroupid'] == 6)
6 + 3 for exemple 
Thank you !
|
Code:
if ($post['usergroupid'] == 5 || $post['usergroupid'] == 6 || $post['usergroupid'] == 7)
this would be for mods, smods and admins.
I think its ok, someone please check.