The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Turn off the 'Allow Ignore Moderators' setting.
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
Chen:
Thanks. I just figured out it doesn't apply if you are an admin. You can ignore anyone. Parker |
|
#5
|
||||
|
||||
|
Yup.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|