Loading...
 
Features / Usability

Features / Usability


Re: Automatically assign newly registered user to a specific group

posts: 2881 United Kingdom

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

posts: 18 United States
okay - Thanks!!