Quote:
Originally Posted by JJR512
A lot of people from where I work have registered and are starting flame wars and other bullshit.
|
JJ, I am currently working on a custom 'work IP' permissions system based on the general IP ban but have nothing tested yet.
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