coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: MaidenFan on May 20, 2006, 06:07:32 PM

Title: Integrating Coppermine 1.4.6 with phpBB 2.0.20
Post by: MaidenFan on May 20, 2006, 06:07:32 PM
I have the following issue when trying to bridge Coppermine 1.4.6 and phpBB 2.0.20:

When I try to go to the gallery index.php page I get redirected to the forum page. All well and good but how do the users that already have a forum account upload their images? Which cpg page do I have to link to in their edit profile pages? I have added a link in their view-profile page to view their cpg pics but when I click on it I get redirected straight back to my forum index.

Apologies if the explanation isn't very clear.

Coppermine install: http://www.ukthrash.co.uk/forum/
Forum install: http://www.ukthrash.co.uk/gallery/
Coppermine version: cpg1.4.6
Forum version: phoBB 2.0.20
Test user account: test / test

BridgeManager settings:
Forum URL:  http://www.ukthrash.co.uk/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0
Title: Re: Integrating Coppermine 1.4.6 with phpBB 2.0.20
Post by: Nibbler on May 20, 2006, 06:10:36 PM
If you want anonymous users to have access then enable it in config.
Title: Re: Integrating Coppermine 1.4.6 with phpBB 2.0.20
Post by: MaidenFan on May 20, 2006, 06:26:45 PM
OK thanks. I've allowed anonymous users in Config. I'm now slightly confused. The Bridging section of the Documentation says that cpg and the BBS will share the same user database. When I log in as my forum user (which is different from the phpBB overall-admin user in username/password only - ie it has full admin privileges etc) I get redirected to the gallery index but I'm shown as logged out.

My understanding of the shared users table is that you can log in from either application. When I log in from my forum I should also be logged in to Coppermine. Am I correct or am I just understanding the bridge function wrongly?
Title: Re: Integrating Coppermine 1.4.6 with phpBB 2.0.20
Post by: Nibbler on May 20, 2006, 06:30:15 PM
For that to work you need to set the cookie path to '/' in phpbb as explained in the docs.
Title: Re: Integrating Coppermine 1.4.6 with phpBB 2.0.20
Post by: MaidenFan on May 20, 2006, 07:08:34 PM
Thanks very much for the help :)

All sorted now so can be marked as Solved.  :D