Change From Fans Only to Members

Currently when you create a Group, the default for things like 'allow comments' are set to Fans Only.

 

How can I change it so that it is set to Members by default? I checked the database and I can see that it should be a '4' but not sure where in the code to change that at.

 

Looking at BxGroupsFormAdd.php, I found the 'f' between lines 86 -94 but cannot tell exactly what to change it to.

 $aInputPrivacyCustom = array ();
        $aInputPrivacyCustom[] = array ('key' => '', 'value' => '----');
        $aInputPrivacyCustom[] = array ('key' => 'f', 'value' => _t('_bx_groups_privacy_fans_only'));
        $aInputPrivacyCustomPass = array (
            'pass' => 'Preg',
            'params' => array('/^([0-9f]+)$/'),
        );

        $aInputPrivacyCustom2 = array (
            array('key' => 'f', 'value' => _t('_bx_groups_privacy_fans')),
            array('key' => 'a', 'value' => _t('_bx_groups_privacy_admins_only'))

Nothing to see here
Quote · 14 Nov 2014

This is changed from the database. Run the following query then clear cache :

UPDATE `sys_privacy_actions` SET `default_group`='4' WHERE `module_uri`='groups' AND `name`='comment';

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 14 Nov 2014

Rock On! Thanks Modzzz Laughing

Nothing to see here
Quote · 14 Nov 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.