Changing Registered > Member Changing Registered > Member
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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