Changing Registered > Member Changing Registered > Member
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Changing Registered > Member

Started by wj1927, May 27, 2008, 02:42:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wj1927

Hi guys

I want to change the 'Registered' group to 'Member'

I have changed the following in the groupmgr.php

$default_group_names = array(
        '1' => 'Administrators',
        '2' => 'Member',
        '3' => 'Anonymous',
        '4' => 'Banned',


And

cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
        VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3)");
        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
        VALUES (2, 'Member', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)");
        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
        VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
        VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
        cpg_die(CRITICAL_ERROR, $lang_groupmgr_php['error_group_empty'], __FILE__, __LINE__);


Do I need to change it anywhere else, has I confirm the change on the groups option through the admin part of cpg but it keeps reverting back to 'Registered'

Thanks