b2evolution bridge b2evolution bridge
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

b2evolution bridge

Started by Nibbler, February 05, 2007, 10:53:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nibbler

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.

phill104

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?
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

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.

slamp

Anynone knows if this bridge is working with b2evolution 1.10.x ?

Joachim Müller

Please try it and report your test results.

slamp

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

Bastox

I may be blind, but I don't find the attached file  ???
Someone can hekp me ?
Cheers

Joachim Müller

Attached to initial posting.

Bastox

Quote from: GauGau on November 22, 2007, 09:10:07 AM
Attached to initial posting.
... Whenm you're loggued. Thanks anyway mate

DaBe

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=


DaBe

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...

Nibbler

Does it really say domain.com? Provide ALL the requested information.

DaBe

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

Nibbler

Provide ALL the requested information !

Looks like you set the relative path wrong, or not atall.

DaBe

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 )

Nibbler


DaBe


Nibbler

The modpack is only compatible with certain bridge files. I doubt this is one of them. See discussions in the modpack section.

DaBe

Oh no!

what can I do?

what is other on the bridge files for the modpack?

=(