Jake Bunce
Well-known member
(per this post)
When people want to change the destination group for new users I always advise them to simply treat the Registered group as if it were the new group. Set appropriate permissions for Registered just as you would the new group.
FYI, the default groups are hard coded into this file:
library/XenForo/Model/User.php
(and fair warning per this post)
You should respect the roles of the default groups. They are hard-coded and changing them will cause problems in the future (at the very least, having to remodify the files after every upgrade).
If I wanted users to automatically be placed into X usergroup rather than "registered users" after they register, how can I make this happen?
When people want to change the destination group for new users I always advise them to simply treat the Registered group as if it were the new group. Set appropriate permissions for Registered just as you would the new group.
FYI, the default groups are hard coded into this file:
library/XenForo/Model/User.php
Code:
public static $defaultGuestGroupId = 1;
public static $defaultRegisteredGroupId = 2;
public static $defaultAdminGroupId = 3;
public static $defaultModeratorGroupId = 4;
(and fair warning per this post)
You should respect the roles of the default groups. They are hard-coded and changing them will cause problems in the future (at the very least, having to remodify the files after every upgrade).