View Full Version : Ban a user by making them "ignored" by everyone?
chris frolic
06-13-2002, 01:43 AM
Wouldn't a good way of secretly banning a user be that they become "ignored" by everyone?
For example, couldn't whatever process vB goes through when showing posts and keeping people on your ignore list invisible be expanded slightly to also make posts by people in a "banned" category ignored as well? (except by mods/admins).
Any idea how difficult this might be? I don't have the skills, so I thought I'd throw the idea out there.
frist get your functions.php file from the admin dir.
find this bit of code
if (!$ignore[$post[userid]]) {
eval("\$retval = \"".gettemplate("postbit")."\";");
} else {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
}
under it add.
if ($post[userid]==*users id here* AND $bbuserinfo[userid]!=*users ID here*) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
}replace *user id here* with the members user ID.
go to your postbit_ignore template and deleate everything in it, now the member is on site wide ignore, they see their post but no one else can, you can also do the same with user gourps, that way u can just change their status and they go under the ban, however others with cp acess can edit this, so i dont use it.
fallow what i posted about but insted of adding that code up there add this
if ($post[usergroupid]==*user gourp id here AND $bbuserinfo[usergroupid]!=*user gourp id here) {
eval("\$retval = \"".gettemplate("postbit_ignore")."\";");
}
now make a new user gourp, something like banned, and replace the bits int he code with its #
chris frolic
06-14-2002, 06:06 AM
cool, thanks for the response.
Posts disapear, but is there a way to make a Thread topic disapear if that same user started it? Now the thread remains visible, but no posts are inside it.
Xenon
06-14-2002, 11:08 AM
wasn''t there an ultimate ignore hac in the release forum??
i don't know what exactly it does, but you should take a look
chris frolic
06-14-2002, 11:11 PM
as far as I can tell, that Ultimate Ignore hack is unfinished and buggy?
Xenon
06-16-2002, 05:22 PM
don't know, i don't use it
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.