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: Bridging Coppermine and MyBB  (Read 10984 times)

0 Members and 1 Guest are viewing this topic.

Danielle20

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 11
    • Contest That
Bridging Coppermine and MyBB
« on: December 01, 2008, 08:48:09 pm »

I have the following issue when trying to bridge coppermine and mybb:

--The problem I am having and what I have done so far...

I had to edit one file like myBB told me to do to get it to work.
I edited the page ../photoalbums/bridge/mybb.inc.php

I have done this:

I have replaced this:
Code: [Select]
// Database connection settings
        $this->db = array(
            'name' => $config['database'],
            'host' => $config['hostname'],
            'user' => $config['username'],
            'password' => $config['password'],
            'prefix' =>$config['table_prefix']
        );


and replaced it with:
Code: [Select]
// Database connection settings
        $this->db = array(
          'name' => $config['database']['database'],
            'host' => $config['database']['hostname'],
            'user' => $config['database']['username'],
            'password' => $config['database']['password'],
            'prefix' =>$config['database']['table_prefix']
        );


Now when you go to login after doing the bridging you are taken to the forums to login and if you login with the right password and username
you are redirected back to the photoalbums. But you are not kept logged in. So I had done something else that someone told me to do by changing
the cookie path of my forums to just / from the /forums/ but if I do that then I can't use the admin control panel in the forums and that's kinda important.

Coppermine install: http://contestthat.com/photoalbums/
Forum install: http://contestthat.com/forums/
Coppermine version: cpg1.4.19
Forum version: MyBB 1.4.3 but I need to upgrade to 1.4.4
Test user account: Test / testing

BridgeManager settings:
Forum URL:  http://contestthat.com/forums
Relative path to your BBS's config file:  ../inc/ 
Use post-based groups?:  0
Cookie name/preifx (if applicable)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridging Coppermine and MyBB
« Reply #1 on: December 01, 2008, 09:19:41 pm »

Does this mean that your other thread http://forum.coppermine-gallery.net/index.php/topic,56880.0.html is invalid? Please resolve your threads!
Logged

Danielle20

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 11
    • Contest That
Re: Bridging Coppermine and MyBB
« Reply #2 on: December 01, 2008, 09:22:21 pm »

Well I could pay someone or ask for free help either way. I can do it myself if told so. I just wanted to see which was quicker. If it wasn't that expensive I might just have someone do it but I wanted to see what the answers for this would be and see if I could do it myself first. But I would always need the other help too. Maybe not just the bridge.
Logged

Danielle20

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 11
    • Contest That
Re: Bridging Coppermine and MyBB
« Reply #3 on: December 01, 2008, 09:23:32 pm »

Oh and ALSO that thread said I needed help with a theme too =] so it wasn't all bridging. I am willing to pay someone to help me with a theme. Soooo I had to turn that off...even though I still would pay someone for a theme look??
Logged

Nibbler

  • Guest
Re: Bridging Coppermine and MyBB
« Reply #4 on: December 01, 2008, 09:28:35 pm »

You need to clear your cookies after changing the cookie path.
Logged

Danielle20

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 11
    • Contest That
Re: Bridging Coppermine and MyBB
« Reply #5 on: December 03, 2008, 03:45:31 am »

How would I do that....I asked a couple people and no one knows.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridging Coppermine and MyBB
« Reply #6 on: December 03, 2008, 07:43:06 am »

How to clear your cookies? You do that in your browser. Use your browser's help (hit the [F1] key) if you don't know how to do that. We can not support you on the usage of your browser. My twelve-year-old knows how to do that.
If you need more advice, read up http://www.aboutcookies.org/Default.aspx?page=2 - they explain it for all major browsers.
Logged

Danielle20

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 11
    • Contest That
Re: Bridging Coppermine and MyBB
« Reply #7 on: December 03, 2008, 05:25:45 pm »

Oh well I know that way I thought there was some special way to do something on your photoalbums.

If you mean clearing cookies that way...that doesn't work.
It's the whole website that doesn't login...not just me.

You can talk to someone a little nicer. I know I'm here for help.
But people need to know simple things. Not to be rude...but you can be nice
that's how you get people to keep coming back and to use word of mouth
and tell people how great your places is. =]
Logged

RARE_1

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Bridging Coppermine and MyBB
« Reply #8 on: December 03, 2008, 09:09:44 pm »

I think I had the exact same problem with MyBB bridge.

You attempt to log in to the Gallery, you are redirected to the Forum for Authentication, then you are redirected back to the gallery but you are not logged in to the gallery. There is no way to log on to the gallery.

Danielle20, use your link like this: http://yourdomain.tld/your_coppermine_folder/bridgemgr.php to disable the bridge so you can log in again.

I really don't know much about this stuff but it seems to me that Coppermine is not reading the MyBB cookies.
Logged

RARE_1

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Bridging Coppermine and MyBB
« Reply #9 on: December 05, 2008, 04:35:39 am »

I think I understand what you are talking about now Danielle20. Now I cannot access the admin console in MyBB either. Every time I change screens it asks me to authenticate and then it returns me to the screen I was just on. If I click somewhere again the cycle repeats. I guess I will look to the ByBB support for some assistance with that unless anyone here can ovver advice.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridging Coppermine and MyBB
« Reply #10 on: December 18, 2008, 09:19:05 am »

Are your replies meant to help the thread starter or are you asking for support?
Logged

RARE_1

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Bridging Coppermine and MyBB
« Reply #11 on: December 18, 2008, 04:07:27 pm »

Are your replies meant to help the thread starter or are you asking for support?

Sorry, my replies were meant to provide some clarification and affirmation that Danielle20 is not the only one that is having this issue.

Some how, some way, everything has returned to normal for me but I have not attempted to use the bridging again since the last attempt.

I'm sorry I didn't start a separate thread but having two threads on the exact same issue seems pointless.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.