PDA

View Full Version : Need some help with what code to use here.


Parker Clack
02 Mar 2002, 17:53
In the admin/functions.php file I want to add a check to the ignore feature so that a member cannot ignore an admin, moderator or themselves.

Here is the check as it is there now.

// do posts from ignored users
if (!$ignore[$post[userid]]) {
eval("\$retval = \"".gettemplate("postbit")."\";");
} else {

Any ideas what to use?

Thanks,
Parker

Chen
02 Mar 2002, 17:56
Turn off the 'Allow Ignore Moderators' setting.

Parker Clack
02 Mar 2002, 18:10
Chen:

Ok, I tried that but I was able to still ignore one of my moderators. Does this not apply to moderators or admins themselves?

Parker

Parker Clack
02 Mar 2002, 18:17
Chen:

Thanks. I just figured out it doesn't apply if you are an admin. You can ignore anyone.

Parker

Chen
03 Mar 2002, 09:51
Yup. :)