coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: McFly_Bravo on January 26, 2006, 08:10:30 PM

Title: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 26, 2006, 08:10:30 PM
How can I integrate the coppermine to my joomla. What I want is, that if someone registers to joomla, he is automaticly registered to the coppermine.

Can i do this with the MamboServer bridge integrated with the actual CPG143? Or do I need another bridge like the joombla "Joomla Coppermine User Bridge" (https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.bavarian-racing.de%2Fsmilies%2Fhmm.gif&hash=0069b6a07511889394ce9899c844e52fa0680c11)

I'm not going to bridge a Forum later on, cause a wanna do this with an extra registration
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: Nibbler on January 26, 2006, 09:25:17 PM
The mambo bridge works afaik. There are hacks floating about the net for tighter integration, but the official bridge is the only method we support here.
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 27, 2006, 12:32:47 AM
Ok, THX. I gonna try it with the Mambo Bridge
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 27, 2006, 11:16:18 PM
Looks like I'm to stupid  :-[

When enabling the mambo bridge, I'm asked to put in the URL of the forum. hmm, I'm not using any forum, I want to integrate the jommla users to the cpg.
So I put in the Joomla url. Bad thing, after that the cpg isn't working any more.  >:(
I restored it with the bridgemgr.php, but what should I enter to get the cpg bridged correctly?  ???
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: Nibbler on January 27, 2006, 11:18:47 PM
Quote from: McFly_Bravo on January 27, 2006, 11:16:18 PM
Bad thing, after that the cpg isn't working any more.  >:(

Try being more specific.
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 28, 2006, 02:29:37 AM
Forums-URL: i made my www.mysite.com cause joomla is there
Relative forum path: i made       ../

I don't know where thsi file is and what's it called.

Then i had a blank site with fatal Error and thats it  :'(
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: Joachim Müller on January 28, 2006, 03:14:35 AM
an url would be http://www.mysite.com/ instead of www.mysite.com. Don't post dummy placeholder crap, but real URLs. In fact, do as suggested in the sticky thread on this sub-board if you actually want support.
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 28, 2006, 03:49:47 PM
Ok here it is

I have the following issue when trying to bridge coppermine and Joomla 1.0.7:
[error message here]
Fatal error :
Thats all i get

Coppermine install: http://www.good-or-evil.de/cpg143/
Forum install: no forum installed, i want to bridge to joomla
Coppermine version: cpg1.4.3
Forum version: Joomla 1.0.7
Test user account: test / test

BridgeManager settings:
Forum URL:  http://www.good-or-evil.de
Relative path to your BBS's config file:  ../
Use post-based groups?:  1 or 0 doesn't matter
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: Nibbler on January 28, 2006, 03:53:10 PM
Disable the bridge, enable debug mode, re-enable the bridge and see what error message you get.

'Forum' refers to Joomla in your case.
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 28, 2006, 04:09:51 PM
did it, here is the message

QuoteWhile executing query "insert into `db115812_2`.jos_session (session_id, username, guest, time, gid) values ("181bb965c89e63d675e0762edece832f", "", 1, "1138460924",0)" on 0

mySQL error:


Joomla is installed to www.good-or-evil.de, no folder

Joomla and CPG have their own sql database
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: Nibbler on January 28, 2006, 04:14:33 PM
http://forum.coppermine-gallery.net/index.php?topic=25649.msg118087#msg118087
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 28, 2006, 05:11:20 PM
I changed following code
QuoteCode:

      // insert the guest session
        cpg_db_query($sql);


to

Code:

      // insert the guest session
        cpg_db_query($sql, $this->link_id);


when u click on login or register you are linked to http://www,good-or-evil.de. But when u register or login, you do not have any rights to view the images, cause i only want registered users to see my images at full size.

U can take a look at www.good-or-evil.de. I made a link with wrapper and one to open on a new page. Looks weird at the moment, but that's just for testing.

I deleted all Users and created a new account
test / PW: test12

but still not working
Title: Re: CPG 1.4.3 bridge to Joomla 1.0.7
Post by: McFly_Bravo on January 29, 2006, 02:07:10 AM
now i reinstalled the cpg. Folder etc ist the same, but now i'm using the same db as joomla. But i still have the problem that if someone registers to joomle he does not has access to the cpg.

At the moment no users are registered, just the admins.

Right now i don't know what else i can do to make them share the users   :'(