Quote:
Originally Posted by noppid
$userdata->set('usergroupid', 4); on hook register_addmember_process
Of course wrap it in your conditions.
|
Fabulous! That's just what I needed. Thanks to everyone for their help.
Quote:
What is your condition to place the new user in 1 or the other usergroup?
|
At the moment I'm just trapping persistently annoying but not very cunning trolls by their IP address range ($userdata->user[ipaddress]). I don't want to ban them outright because I'm likely to pick up non-troll users using the same IP address range, I just want an easy way of knowing they are about so the moderators can monitor them.
thanks
kirsty