This is scheduled for 1.5, if you wish to use it with 1.4 then use the attached file and follow the directions.
Download and unzip the file.
Upload bridge file into your coppermine bridge folder.
Add details of the new file into bridgemgr.php
in bridgemgr.php, find
//////////////// main code start //////////////////////
before it, add
$default_bridge_data['b2evolution'] = array(
'full_name' => 'b2evolution 1.9',
'short_name' => 'b2evolution',
'support_url' => 'http://www.b2evolution.net/',
'full_forum_url_default' => '',
'full_forum_url_used' => '',
'relative_path_to_config_file_default' => '../b2evolution/',
'relative_path_to_config_file_used' => 'lookfor,conf/_basic_config.php',
'use_post_based_groups_default' => '0',
'use_post_based_groups_used' => 'radio,1,0',
);
This will register it as an option in the bridge manager. Do not change anything in the above code.
Run the bridge manager.
Answer the questions.
Unfortunately there is a small code mod needed to b2evolution in order for it to share its cookies with Coppermine.
Edit the file conf/_advanced.php
Find
$cookie_path = preg_replace( '#https?://[^/]+#', '', $baseurl );
Change it to this
//$cookie_path = preg_replace( '#https?://[^/]+#', '', $baseurl );
$cookie_path = '/'; // Let Coppermine see the cookie.
Note that you will need to redo this change whenever you update b2evolution to a newer version.
After making this change you will need to clear your site's cookies.
If you changed your 'instance name' away from the default then you'll need to tell the bridge file, see the note at the start of the file.
If you have issues with the bridge then read
this before posting.
Feedback appreciated.