• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Addong a default secondary group

How can i add a default secondary group so after someone has registered they get the default group and a secondary group.

I know i can use User Group promotions, but this only runs once an hour and that delay is not good for me ^^
Okay, i fixed this myself

My Solution:
Open 'XenForo/DataWriter/User.php'

=> array('type' => self::TYPE_BINARY, 'default' => ''),
=> array('type' => self::TYPE_UINT, 'default' => ''),

Change to
=> array('type' => self::TYPE_BINARY, 'default' => SECONDARYGROUPID),
=> array('type' => self::TYPE_UINT, 'default' => SECONDARYGROUPID),