SOLVED - Change default Account Type on sign up page
Installation and Configuration
This has been fixed for the next version. If you want to add the change yourself, here is the code:
if (isset($_opt) && is_array($_opt) && count($_opt) > 1) {
$_tmp = array(
'name' => 'quota_id',
'label' => 59,
'help' => 60,
'type' => 'select',
'options' => 'jrProfile_get_signup_quotas',
'validate' => 'number_nz'
);
jrCore_form_field_create($_tmp);
}
above is what it is now, change it to:
if (isset($_opt) && is_array($_opt) && count($_opt) > 1) {
$_tmp = array(
'name' => 'quota_id',
'label' => 59,
'help' => 60,
'default' => $_conf['jrProfile_default_quota_id'],
'type' => 'select',
'options' => 'jrProfile_get_signup_quotas',
'validate' => 'number_nz'
);
jrCore_form_field_create($_tmp);
}
Its just this line thats added:
'default' => $_conf['jrProfile_default_quota_id'],
its in:
/modules/jrUser/index.php around line 720 ish