View Full Version : Disable Ignore User Option??
Is there a way to disable the ignore option? Thanks..
Anybody? Hello... Or is this just a stupid request.. LOL I never have used a board with an ignore function so maybe it's one of those things that I will find useful???
You mean.. so users dont have the option ignore other users correct?
yes. Is this possible? I just figured it would get annoying when people are talking and some idiot ignored someone for something stupid and is saying "Huh? What?" when they don't see the comment that someone is referring to... ?? :ninja:
first do this mysql query.
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,6,'Allow Ignore Users','ignoreuser','1','Allow users to add Users and admins to their ignore list?','yesno','18')
then in member2.php find
if ($var=='ignorelist' and !$ignoremods and $bbuserinfo[usergroupid] != 6 and ismoderator(0,"",$userid)) {
$username=$userinfo[username];
eval("standarderror(\"".gettemplate("error_listignoreuser")."\");");
exit;
}
and replace with
if ($var=='ignorelist' and !$ignoremods and $bbuserinfo[usergroupid] != 6 and ismoderator(0,"",$userid)) {
$username=$userinfo[username];
eval("standarderror(\"".gettemplate("error_listignoreuser")."\");");
exit;
} elseif ($var=='ignorelist' and !$ignoreuser and $bbuserinfo[usergroupid] != 6 and ismoderator(0,"",$userid)) {
$username=$userinfo[username];
eval("standarderror(\"".gettemplate("error_listignoreuser2")."\");");
exit;
}
now futher down find
if ($var=='ignorelist' and !$ignoremods and ($userid[usergroupid]==6 or $userid[usergroupid]==5 or $userid[moduserid]) and $bbuserinfo[usergroupid] != 6) {
$username=htmlspecialchars($val);
eval("standarderror(\"".gettemplate("error_listignoreuser")."\");");
exit;
} else if ($bbuserinfo['userid'] == $userid['userid']) {
eval("standarderror(\"".gettemplate("error_cantlistself")."\");");
exit;
} else {
$listids.=" $userid[userid]";
}
and replace with
if ($var=='ignorelist' and !$ignoremods and ($userid[usergroupid]==6 or $userid[usergroupid]==5 or $userid[moduserid]) and $bbuserinfo[usergroupid] != 6) {
$username=htmlspecialchars($val);
eval("standarderror(\"".gettemplate("error_listignoreuser")."\");");
exit;
} else if ($var=='ignorelist' and !$ignoreuser and $bbuserinfo[usergroupid] != 6 and ismoderator(0,"",$userid)) {
$username=$userinfo[username];
eval("standarderror(\"".gettemplate("error_listignoreuser2")."\");");
exit;
} else if ($bbuserinfo['userid'] == $userid['userid']) {
eval("standarderror(\"".gettemplate("error_cantlistself")."\");");
exit;
} else {
$listids.=" $userid[userid]";
}
now make a new template called error_listignoreuser2 and place this within it.
Sorry user blocking in disabled.
---------------------
thank should do it.
Sweet , I give that a try. Now if this doesn't work, or messes anything up, is there any way to undo the queries I have to make? I'm assuming these will just not be used and remain on the server? Or will this effect how other things work..
Also, does this just take out the option to ignore? Or does it give the admin a "yes / no" option... I looked at the code and saw some stuff like this but I haven't done much with PHP yet so I wasn't sure.
Thanks again. :alien:
I am sure this will work but if it doesnt PM me and I will put together a uninstall for it.
What it does is run along side the normal yes/no ignore mod/admin one. But if you are a mod/admin you can still ignore users... but if you are a mod/admin you will realize that you have blocked someones post and still be able to read it.
If you are a user and try to blacok another user when this is on then you will get the error message "Sorry user blocking in disabled."
:)
cool, thanks, I'll let you know if it works. THANKS! :)
bozzy
02-17-2005, 06:20 PM
would this work for 3.0.3?
cynthetiq
08-24-2007, 09:54 AM
Can anyone tell me how to modify this for 3.5.4?
or is there a mod that removes/disables this function? I cannot locate one from searching the forums.
J105C
04-15-2008, 03:57 AM
How to disable ignore users on 3.6.9?
Marco van Herwaarden
04-15-2008, 08:58 AM
This is an Usergroup Option.
Sunsi
04-04-2009, 09:36 AM
Is it really a Usergroup Option? It's not in there. It can be removed from code, so I discovered. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.