Hello Joachim
i sure have to give you a test user (it already exist in fact) but i should have made a second one with a dedicatedalbum etc ... sorry but i did not have the time just before leaving home today. I just post when i saw the problem. Now i came back home, and take a little time to debug.
Here are the problems.
in the phpbb3.inc.php, i have change at line 77
// Board table names
// John Degey : add the user_group for multi group user
$this->table = array(
'users' => 'users',
'groups' => 'groups',
'usersgroups' => 'user_group',
'sessions' => 'sessions'
);
// Derived full table names
// John Degey : add the user_group for multi group user + correct the backticks for name table
$this->usertable = '`' . $this->db['name'] . '`.`' . $this->db['prefix'] . $this->table['users'].'`';
$this->groupstable = '`' . $this->db['name'] . '`.`' . $this->db['prefix'] . $this->table['groups'].'`';
$this->usergroupstable = '`' . $this->db['name'] . '`.`' . $this->db['prefix'] . $this->table['usersgroups'].'`';
$this->sessionstable = '`' . $this->db['name'] . '`.`' . $this->db['prefix'] . $this->table['sessions'].'`';
in the udb_base.inc.php, i've corrected what it seems like a bug for me at line 57
// John Degey : correct the "+100" for the returned group id
$sql = "SELECT u.{$f['user_id']} AS id, u.{$f['username']} AS username, u.{$f['password']} AS password, ug.{$f['usertbl_group_id']}[b]+100[/b] AS group_id ".
"FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug ".
"WHERE u.{$f['user_id']}=ug.{$f['user_id']} AND u.{$f['user_id']}='$id'";
now everything seems to works as expected
a user doesn't have to have the group used in coppermine as the default one in phpbb.
John
ps: after other tests, there is still a problem when a user is member of different groups who have differents privileges in coppermine
Edit: after some debugging, i have made some change to the bridge
here is my version
now all my settings works, multi group, admin, not default group etc ...
i have tested with use_post_based_groups = 1 only
hope this one will help you improve coppermine
regards
John