CPG 1.4.3 bridge to Joomla 1.0.7 CPG 1.4.3 bridge to Joomla 1.0.7
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CPG 1.4.3 bridge to Joomla 1.0.7

Started by McFly_Bravo, January 26, 2006, 08:10:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

McFly_Bravo

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

Nibbler

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.

McFly_Bravo

Ok, THX. I gonna try it with the Mambo Bridge

McFly_Bravo

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

Nibbler

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.

McFly_Bravo

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  :'(

Joachim Müller

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.

McFly_Bravo

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

Nibbler

Disable the bridge, enable debug mode, re-enable the bridge and see what error message you get.

'Forum' refers to Joomla in your case.

McFly_Bravo

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


McFly_Bravo

#11
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

McFly_Bravo

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   :'(