Bridging Coppermine and MyBB Bridging Coppermine and MyBB
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Bridging Coppermine and MyBB

Started by Danielle20, December 01, 2008, 08:48:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Danielle20

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:
// 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:
// 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)

Joachim Müller

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

Danielle20

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.

Danielle20

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

Nibbler

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

Danielle20

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

Joachim Müller

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.

Danielle20

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. =]

RARE_1

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.

RARE_1

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.

Joachim Müller

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

RARE_1

Quote from: Joachim Müller on December 18, 2008, 09:19:05 AM
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.