coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Kivek on April 10, 2005, 09:48:09 PM

Title: Integration between 2 CPGs and IPB - Need help
Post by: Kivek on April 10, 2005, 09:48:09 PM
I have 2 CPG installed on my server along with IPB (I can switch to vB if needed). I would like to integrate all 3 to share accounts, otherwise users are having to sign-up three times which is a pain.

Thanks
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Nibbler on April 10, 2005, 10:01:32 PM
OK. Bridge both coppermine installs to the IPB.
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Kivek on April 10, 2005, 10:12:13 PM
Quote from: Nibbler on April 10, 2005, 10:01:32 PM
OK. Bridge both coppermine installs to the IPB.

How exactly do you bridge?
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Joachim Müller on April 10, 2005, 10:19:05 PM
http://coppermine.sourceforge.net/manual.php#integrating
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Nibbler on April 10, 2005, 10:19:36 PM
Instructions:
http://coppermine.sourceforge.net/manual.php#integrating

IPB2 bridge file:
http://forum.coppermine-gallery.net/index.php?topic=8334.0
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Kivek on April 10, 2005, 11:21:05 PM
"5.2.5 Keep Coppermine and bbs tables in the same database

It is recommended that you use the same database for your board and Coppermine (in fact it is even mandatory!)."

Right now my databases are seperate
Screenshot: http://www.kivek.com/images/other/ssdb.jpg

Is there anyway I could merge them togeather perhaps? Or would I have to delete all 3 and change the database they are tied to to just a single one, and if so, how would I change the database IPB and CPG are tied to? A friend suggested trying to backup the databases and insert them into a single database, would that work?

Thanks
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Nibbler on April 10, 2005, 11:27:45 PM
You can move the CPGs into the forum db, that would be the best way. You can dump the tables into a .sql file using phpmyadmin and then import them into the forum db. Then you edit the include/config.inc.php of each gallery with the info for the forum db. Make sure the tables of the 2 coppermines have different prefixes. If they do not then you would need to rename the tables first. Make sure everything is working properly before you remove the old tables and databases.
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Kivek on April 10, 2005, 11:35:41 PM
Quote from: Nibbler on April 10, 2005, 11:27:45 PM
You can move the CPGs into the forum db, that would be the best way. You can dump the tables into a .sql file using phpmyadmin and then import them into the forum db. Then you edit the include/config.inc.php of each gallery with the info for the forum db. Make sure the tables of the 2 coppermines have different prefixes. If they do not then you would need to rename the tables first. Make sure everything is working properly before you remove the old tables and databases.

The CPGs have the same table prefixs, if I rename will it mess anything up?
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Nibbler on April 10, 2005, 11:37:25 PM
You would need to change the prefix setting, which is also in include/config.inc.php . Also if you had any poorly coded mods they may give you errors.
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Kivek on April 11, 2005, 12:40:41 AM
It worked! Thanks for your help

I would post my site but its not exactly "work friendly", not sure if you would allow it
Title: Re: Integration between 2 CPGs and IPB - Need help
Post by: Nibbler on April 11, 2005, 12:41:47 AM
Well done :)