PDA

View Full Version : The code to force ignore


acast
12-14-2012, 02:58 AM
I was trying to force users to ignore themselves with this old code of Logician:

edit global.php (in forum dir not in admin dir!), go at the end of file and find ?> right before that add:

PHP Code:
if ($bbuserinfo[userid]==X) {$bbuserinfo[ignorelist].=' Y';}
elseif ($bbuserinfo[userid]==Y) {$bbuserinfo[ignorelist].=' X';}

Replace X and Y with the userids of the users and you're done..

But it doesn't work for me. Anybody knows why?

kh99
12-14-2012, 01:47 PM
I'm not sure, but that must be very old or else it wouldn't be telling you to edit a file. In any case maybe try changing each $bbuserinfo to $vbulletin->userinfo

acast
12-14-2012, 02:31 PM
I'm not sure, but that must be very old or else it wouldn't be telling you to edit a file. In any case maybe try changing each $bbuserinfo to $vbulletin->userinfoHey, it works! Thank you very much!!!