![]() |
Need help fast: How to ban an IP except for specific members
A lot of people from where I work have registered and are starting flame wars and other bullshit. On the board it looks like we all come from the same IP. I could member-ban but they'll just re-register. If I IP-ban, though, then I can't post, and neither can a few other co-workers who aren't part of the problem. I assume I'll have to modifiy some code somewhere but am looking for some quick help on what, where, and how. Thanks! :)
|
No solution to this i guess. If IP-banned, you won't even get a login, so the board don't know who you are.
|
Quote:
If ya need a 'nudge' look at Line#671 in global.php which calls the function verify_ip_ban() at line#551 in functions.php. IPADDRESS is the system detected IP of person logging & $val is an element out of your 'banning list'. Would think it'd be a simple matter to test both IPADDRESS(your job IP) and the current forumid / user trying to log in. Based On preferences, either return 'Ok' or let eval(standard_error . . .) do its work??? In my case if I BAN the work IP I'm looking to reassign anybody logging from a work set to a predetermined generic userid assigned a usergroup with restricted permissions. Having done so, would I simply redirect back to 'index.php'?? Rabbit |
Quote:
|
Quote:
Look HERE Either way I suspect this test is called repeatedly/constantly as .php progresses on it's merry way. Test the userids you do not want to 'pass thru' and eval() out and the rest you simply 'return' out(errr . . . in)!! I Am NOT At The House And Need My FTP!!! Can you 'break' from a 'foreach'?? Rabbit |
Quote:
|
All times are GMT. The time now is 12:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|