Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CPG 1.4.3 bridge to Joomla 1.0.7  (Read 7246 times)

0 Members and 1 Guest are viewing this topic.

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
CPG 1.4.3 bridge to Joomla 1.0.7
« 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://forum.coppermine-gallery.net/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
« Last Edit: January 27, 2006, 05:24:43 am by GauGau »
Logged

Nibbler

  • Guest
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #1 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.
Logged

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #2 on: January 27, 2006, 12:32:47 am »

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

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #3 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?  ???
Logged

Nibbler

  • Guest
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #4 on: January 27, 2006, 11:18:47 pm »

Bad thing, after that the cpg isn't working any more.  >:(

Try being more specific.
Logged

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #5 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  :'(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #6 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.
Logged

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #7 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
Logged

Nibbler

  • Guest
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #8 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.
Logged

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #9 on: January 28, 2006, 04:09:51 pm »

did it, here is the message

Quote
While 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
Logged

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #11 on: January 28, 2006, 05:11:20 pm »

I changed following code
Quote
Code:

      // 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
« Last Edit: January 28, 2006, 05:29:16 pm by McFly_Bravo »
Logged

McFly_Bravo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG 1.4.3 bridge to Joomla 1.0.7
« Reply #12 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   :'(
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.