PDA

View Full Version : IP Ban Exemptions for specific users (only like 5-10)


Patrick
07-18-2003, 12:51 AM
Any ideas for this please let me know. Thanks

-Patrick

Erwin
07-18-2003, 01:39 AM
In the forum directory global.php (not the admin one)

Find:


checkipban();


Replace with:


if (!in_array($bbuserinfo['userid'], array(1,5,123,675))) checkipban();


Replace those numbers in the brackets with the userids you want to ALLOW, with commas separating them.

Not tested, but should work. ;)

Patrick
07-24-2003, 02:26 AM
Erwin, you are the man, thank you very much, I just now noticed the new post.