I use this method:
First create a new usergroup in your CP and note the usergroup id.
Then edit global.php (not the in in admin dir!). Go to the end of page and before $logincode=makelogincode(); insert this:
if ($bbuserinfo[usergroupid] == 11) {
header("HTTP/1.0 500 Internal Server Error"); exit;
}
(11 should be replaced with the usergroupid you created)
If someone annoys you, just add his name to this usergroup then he will get an error message (IE) or Blank Document Error (Netscape) if he tries to visit your forum.
I was inspired by HellBan hack so you may want to take a look at that hack either.
Regards,
|