Automatically assign newly registered user to a specific group Posted by Lindsay 29 Jun 2004 15:47 UTC Hi, Is there a way to automatically assign a new user to a certain group? Right now the new user is assigned to the Registered group, but I would like them to be assigned to a group called Members. How can I do this? Thanks, ~Lindsay~
Posted by Damian Parker 29 Jun 2004 16:11 UTC You can modify the code in lib/userslib.php search for the add_user function and this line Copy to clipboard$this->assign_user_to_group($user, 'Registered'); Add another line after it exactly the same but with your groupname:Copy to clipboard$this->assign_user_to_group($user, 'Registered'); $this->assign_user_to_group($user, 'Members'); You need to leave Registered in as its a Internal Tiki group. Damian