coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: ergo on January 21, 2006, 08:55:24 PM

Title: possible group bug ?
Post by: ergo on January 21, 2006, 08:55:24 PM
I have the following issue when trying to bridge coppermine and Phpbb:
the problem occurs with private albums - ie . i have many groups in forum like moderators , editors and so.
the problem is when i set the : Album can be viewed by to the "registered group" , my moderators or editors cant access it. And every one of them IS a member of of the registered group, right? only registered users that DONT belong to other groups can access the album.


Coppermine install: http://darknation.pl/gallery
Forum install: http://darknation.pl/forum2
Coppermine version: cpg1.4.3
Forum version: Phpbb 2.0.19

BridgeManager settings:
Forum URL:  http://darknation.pl/forum2
Relative path to your BBS's config file:  ../forum2/
Use post-based groups?:  1
Title: Re: possible group bug ?
Post by: Nibbler on January 21, 2006, 11:25:32 PM
Try a code change, bridge/phpbb2018.inc.php

find

if ($this->userlevel == 0) array_unshift($data, 2);

change to

if ($this->userlevel == 0 || $this->userlevel == 2) array_unshift($data, 2);
Title: Re: possible group bug ?
Post by: ergo on January 22, 2006, 10:04:53 AM
looks like this patch fixed things :]
Title: Re: possible group bug ?
Post by: Joachim Müller on January 22, 2006, 12:58:46 PM
@Nibbler: do we need (yet another) phpbb bridge file for phpbb 2.0.19 ?
Title: Re: possible group bug ?
Post by: Nibbler on January 22, 2006, 03:34:45 PM
No, this issue is not specific to 2.0.19.
Title: Re: possible group bug ?
Post by: ergo on January 22, 2006, 11:07:46 PM
well it worked before i upgraded cpg from 1.3.x to 1.4.x
Title: Re: possible group bug ?
Post by: gad on March 10, 2006, 06:45:03 PM
I am having the same issue, but with cpg 1.4.4 & phpBB 2.0.17
Title: Re: possible group bug ?
Post by: Joachim Müller on March 11, 2006, 09:33:57 AM
start your own thread, doing as suggested in the sticky thread on this sub-board. Locking this one.