forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: wj1927 on May 27, 2008, 02:42:20 pm

Title: Changing Registered > Member
Post by: wj1927 on May 27, 2008, 02:42:20 pm
Hi guys

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

I have changed the following in the groupmgr.php

Code: [Select]
$default_group_names = array(
        '1' => 'Administrators',
        '2' => 'Member',
        '3' => 'Anonymous',
        '4' => 'Banned',

And

Code: [Select]
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
Title: Re: Changing Registered > Member
Post by: Stramm on May 27, 2008, 07:02:51 pm
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#group_cp