Can someone help me. I'm trying to make certain user groups immune from having their title changed. I have edited
This part of the action.changeotherusertitle.php
Code:
// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}
To
Code:
// you cant change an administrators title :p
if (($touser['usergroupid'] == '6') || ($touser['userid'] == '1') || ($touser['usergroupid'] == '27') || ($touser['usergroupid'] == '12') || ($touser['usergroupid'] == '22') || ($touser['usergroupid'] == '19') || ($touser['usergroupid'] == '13') || ($touser['usergroupid'] == '11') || ($touser['usergroupid'] == '35'))
{
// display error, this user is protected against this action
eval(standard_error(fetch_error('estore_protected_user')));
}
And yet still only admins are immune, the users in all the other groups listed above can still have their titles changed.
What am I doing wrong?
Frugal