I was afraid of that. We don't actually have a test site, I'm using one of our internal forums, only visible to employees. At the moment my problem is trying to figure out why any hook I attached this plug-in on prevents the page load. I tried hooking it on editor toolbar start and end as well as show thread and I get a blank page. I even tried changing the execution order to 1000, so it would be sure to execute after everything else hooked on the same process. Puzzling...
--------------- Added [DATE]1263406044[/DATE] at [TIME]1263406044[/TIME] ---------------
here's the code, by the way.
PHP Code:
$regIP=IPADDRESS;
$badIPs= array('122','121','123','124','125','41','196','58','59','61','218','219','220','221','222','118','117','116','210','114','113','68');
$regIPparts = explode(".",$regIP);
if(in_array($regIPparts[0],$badIPs))
{
$userdata->set('usergroupid',4);
}