Changing Registered > Member Changing Registered > Member
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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