Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Changing Registered > Member  (Read 1251 times)

0 Members and 1 Guest are viewing this topic.

wj1927

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Changing Registered > Member
« 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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.