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 (http://forum.coppermine-gallery.net/index.php?topic=24032.0) before posting.
Feedback appreciated.
It's not something I need to to but I was just interested how it would work.
I recently saw a website with coppermine, phpbb and b2evolution installed. How is this done?
Do they do it by bridging coppermine to phpbb and then b2evolution to phpbb so all use the same user database?
We don't know, as we're not mind readers.
Stick to the subject of this thread, it deals with the bridge file Nibbler posted. If you have something to say on the bridge file, do so. If you have questions about other things, then stay out of this thread.
Anynone knows if this bridge is working with b2evolution 1.10.x ?
Please try it and report your test results.
It works with b2evolution 1.9.3 and 1.10.2
I will come back with a full test result asap.
Thanks a lot for your work GauGau
I may be blind, but I don't find the attached file ???
Someone can hekp me ?
Cheers
Attached to initial posting.
Quote from: GauGau on November 22, 2007, 09:10:07 AM
Attached to initial posting.
... Whenm you're loggued. Thanks anyway mate
hello
I have one question.
I have try the bridge, but i have a error:
I have the b2evo under http://www.domain.com/blog/
than is the config file under following url: http://www.domain.com/blog/conf/_basic_config.php
or not?
when I start the bridge i have this error:
http://www.domain.com/blog/conf/_basic_config.php existiert nicht. Korrigiere den Wert, den Du für Relativer Pfad zur Konfigurations-Datei Deines Forums eingegeben hast
is on german and sais: the _basic_config.php doesnt exist.
what can I do?
(sry for my english=
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating_support_start
I have the following issue when trying to bridge coppermine and b2evo:
"http://www.domain.com/blog/conf/_basic_config.php existiert nicht. Korrigiere den Wert, den Du für Relativer Pfad zur Konfigurations-Datei Deines Forums eingegeben hast"
Coppermine install: http://www.b-different.org
Forum install: http://www.b-different.org/0nelove/
Coppermine version: cpg1.4.13
Forum version: b2evo 1.10.3
Test user account: test/ test
pls help...
Does it really say domain.com? Provide ALL the requested information.
sry
here:
http://b-different.org/0nelove/conf/_basic_config.php existiert nicht. Korrigiere den Wert, den Du für Relativer Pfad zur Konfigurations-Datei Deines Forums eingegeben hast
Provide ALL the requested information !
Looks like you set the relative path wrong, or not atall.
it worked!
but when I login on the coppermine skip the script on the login page from b2evo.
and when I login from the b2evo I have a fatal error on coppermine page!
(testuser on b2evo: test / password: testtest )
Enable debug mode.
enabled!
The modpack is only compatible with certain bridge files. I doubt this is one of them. See discussions in the modpack section.
Oh no!
what can I do?
what is other on the bridge files for the modpack?
=(
Read the modpack section.
where? I found nothing info interessts.
Please do not clutter this thread will questions not related to this mod. If you need support with the modpack then post there.
Discussion continued in http://forum.coppermine-gallery.net/index.php?topic=49203.0
does anyone have a working example of coppermine and b2evolution?
Locking