coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: brenakie on August 25, 2005, 12:54:45 PM

Title: Direction/Tutorial for phpbb & CM intergration
Post by: brenakie on August 25, 2005, 12:54:45 PM
Hi All,

Just looking for some direction.  I'm running phpbb 2.0.17 and want to install coppermine.

But I need to find a tutorial or step by step instructions on how I can utilize the phpbb user database for single sign-on.

I poked around a bit and did not find anything if it is here can someone please pass along the link.

Thanks again for your help,

Bren
Title: Re: Direction/Tutorial for phpbb & CM intergration
Post by: Abbas Ali on August 25, 2005, 01:47:33 PM
http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#integrating
Title: Re: Direction/Tutorial for phpbb & CM intergration
Post by: brenakie on August 25, 2005, 06:12:07 PM
Hi All,

I just need some Clarification on the instructions ( http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#integrating_bridge_start ) I know 99.9% of you can do this in your sleep, but I'm not one of the lucky ones.....  :-\\

Note I'm using phpbb 2.0.17

1) phpbb.inc.php is that to go into the main phpbb dir/root directory of the forum or do I need to create a bridge directory or am I looking in the wrong place?
QuoteGo to the bridge directory and open the file that corresponds to the bulletin board you use (eg. phpbb.inc.php if you use phpBB) with a text editor.



Thanks for all your help!!!

Bren
Title: Re: Direction/Tutorial for phpbb & CM intergration
Post by: Nibbler on August 25, 2005, 06:35:44 PM
OK, the bridge directory is that included with coppermine, the phpbb.inc.php file stays exactly where it is.

define('PHPBB_WEB_PATH', 'http://www.rideinri.com/forum/');

That is wrong, it must be a path, not an url :

define('PHPBB_WEB_PATH', '/forum/');

In the cpg_redir.php, all you need to change is 1 line:

$cpg_path='/ririgallery';

Put the rest back as it was.
Title: Re: Direction/Tutorial for phpbb & CM intergration
Post by: brenakie on August 25, 2005, 07:46:32 PM
Thanks Nibbler,  Think I got it thanks to you!!!   ;D
Title: Re: Direction/Tutorial for phpbb & CM intergration
Post by: brenakie on August 25, 2005, 10:24:25 PM
Nibble/Anyone,

I tried intergrating another site.  THe problem I having is when I'm at copperming and click login I get xfered over to phpbb, i enter my credentials then I get bounced to my 404 page.  Here's the url it's trying to hit:

http://rihunts.com/forum/cpg_redir.php
http://rihunts.com/forum/cpg_redir.php?sid=d96e2fb0e4850214ad9bf17d7e96b4bf
http://rihunts.com/forum/cpg_redir.php?sid=5db41b1eb41639a6a9fa07fbcaa59132


I've double check my code, cookies and it all looks good....

Any ideas?

Bren
Title: Re: Direction/Tutorial for phpbb & CM intergration
Post by: Nibbler on August 25, 2005, 10:29:03 PM
Part of the instructions is to place that file there.
Title: Re: Direction/Tutorial for phpbb & CM intergration
Post by: brenakie on August 25, 2005, 10:32:33 PM
 :-[ once again thank you...  hopefully you won't be hearing from me for a while.