1. 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

Discussion in 'XenForo Questions and Support' started by fronix, Jul 8, 2012.

  1. fronix

    fronix Member

    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 ^^
  2. fronix

    fronix Member

    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),

Share This Page