coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Schnurstracks on April 06, 2006, 04:41:08 PM

Title: Usergroup names will return to default values (Bug?)
Post by: Schnurstracks on April 06, 2006, 04:41:08 PM
Hi,

I tried to change the names of the default usergroups (Administrators, Registered, etc.). After applying the modifications, I checked the result in the userlist, everything was alright (data was correctly written to the database). But when I revisited the group settings, the group names were set to the former (default) values. Quota, Permissions, Personal Gallery settings, etc. were still correct, just the group names are always beeing reset when hitting the "Group" button.

Tested on a fresh 1.4.4 install.

TIA for your help.
Title: Re: Usergroup names will return to default values (Bug?)
Post by: mrmknet on December 15, 2007, 12:40:44 PM
I know my reply is more than one year late, but i installed coppermine few days ago and this problem was driving me mad, I searched a lot for a solution and this was one of the topics I ran into... At last I didn't find anyone else reporting this problem and with no reply here, I tried to look through the code to find what is causing this problem and I liked to live my attempt here as a reference for anyone later facing the same problem.

open bridge/coppermine.inc.php
find
$udb_groups = array(1 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');

Remove "1 =>'Administrators', "
Or change the word administrator to the groupname you want, but when u want to change it again u will have to remodify this file (as entering the groups page will reset the group name to the value set above)