coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: macmiller on February 14, 2009, 11:57:35 AM

Title: Bridge coppermine -> phpbb 3 problems
Post by: macmiller on February 14, 2009, 11:57:35 AM
I have the following issue when trying to bridge coppermine and phpbb 3.0.2:

When I log on to phpbb 3.0.2 and then go to coppermine it does not show me being logged in.

Coppermine install: http://www.coolthaihouse.com/cthpics/
Forum install: http://www.coolthaihouse.com/forum/
Coppermine version: cpg1.4.16
Forum version: phpbb 3.0.2
Test user account:
BridgeManager settings:
Forum URL:  www.coolthaihouse.com/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0
Cookie name/preifx phpbb3_8p4br

I hope you can take a look at my BridgeManager settings and tell me if these look OK.  I currently have the old bridge back up and running.  It is working well, but I would like to be able to upgrade to the new bridge as the old bridge is no longer supported.

Please take a look at the way I filled in the mods to the bridgemgr.php:
// KM 090214:  new coppermine phpbb bridge mods
$default_bridge_data['phpbb3'] = array(
  'full_name' => 'phpBB version 3',
  'short_name' => 'phpbb3',
  'support_url' => 'http://www.phpbb.com/',
  'full_forum_url_default' => 'http://www.coolthaihouse.com/forum',
  'full_forum_url_used' => 'http://www.coolthaihouse.com/forum',
  'relative_path_to_config_file_default' => '../forum/',
  'relative_path_to_config_file_used' => '../forum/',
  'use_post_based_groups_default' => '0',
  'use_post_based_groups_used' => 'radio,1,0',
   'cookie_prefix_default' => '',
   'cookie_prefix_used' => 'phpbb3_8p4br',
);
// KM 090214:  end bridge mods

Does it look OK?

If there is anything obvious I will fix it, otherwise I can post a note that the gallery will be unavailable to provide for testing.

Thanks in advance.
Title: Re: Bridge coppermine -> phpbb 3 problems
Post by: Nibbler on February 14, 2009, 03:38:01 PM
Instructions don't say to 'fill in' anything. You are supposed to copy and paste the code without modification.

Title: Re: Bridge coppermine -> phpbb 3 problems
Post by: macmiller on February 15, 2009, 02:26:01 AM
Thanks for the quick response.  What confused me before which let me to modify the above code was this.....   I don't see where to fill in the cookie name.  In my case the cookie_prefix should be phpbb3_8p4br.  Where does this get filled in?

I ended up installing the bridge per the instructions.  I had the problem where it wouldn't recognize on coppermine that I was logged in.  This time I went into phpmyadmin and manually adjusted the cookie_prefix in the bridge file to be phpbb3_8p4br and it worked, but I'm sure this should get filled in somewhere else.....

Thanks a bunch for the support by the way, nice to have the new bridge installed and working.
Title: Re: Bridge coppermine -> phpbb 3 problems
Post by: Joachim Müller on February 18, 2009, 09:23:39 AM
Do exactly as suggested in the sticky thread "When requesting bridge support - mandatory! (http://forum.coppermine-gallery.net/index.php/topic,24032.0.html)" on this sub-board. Those instructions are pretty straightforward IMO. There's a reason why we labelled that thread to be mandatory: it is mandatory to read it and do as suggested there if you want support. Failing to read it or failing to do as suggested there will lead to only one thing: we will not be able to help you. This is frustrating both for you as well as for us.