I'm attempting to add this to config_inc.php:
$g_default_new_account_access_level = 'updater';
However, when I do so, new users are created with an access level of:
@0@
Additionally, having set:
$g_default_advanced_report = 'ON';
Is not appearing to have any effect - new users do not have that preference on.
Am I putting these in the wrong place? Other customizations in config_inc.php ARE working, such as:
$g_from_email = 'noreply@blah.com';
Any thoughts?
Wade
Setting new user default access level
Moderators: Developer, Contributor
The values that you are trying to set are not strings, they are defined values.
Instead of:
$g_default_new_account_access_level = 'updater';
Use:
$g_default_new_account_access_level = UPDATER;
Instead of:
$g_default_advanced_report = 'ON';
Use:
$g_default_advanced_report = ON;
Note that there are no quotes around those values.
Hope this helps,
Lincoln.
Instead of:
$g_default_new_account_access_level = 'updater';
Use:
$g_default_new_account_access_level = UPDATER;
Instead of:
$g_default_advanced_report = 'ON';
Use:
$g_default_advanced_report = ON;
Note that there are no quotes around those values.
Hope this helps,
Lincoln.