coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: vhero on May 14, 2007, 11:12:05 AM

Title: SMF and CPG problems
Post by: vhero on May 14, 2007, 11:12:05 AM
I installed my board and coppermine both in differnt subdirs
/forum
/gallery

I ran bridging wizard put all correct details as requested both cpg and smf in same DB enabled the briding when i goto login to gallery it kicks me to forum login which is great BUT then comes my problem i login go back to gallery and i'm logged out of gallery and cannot log in as login kicks me back to forums. I'm thinking its a cookie problem?? any assistance would be nice? I made sure cookie names on forum and CPG were differnt though..

BTW you guys do a great job with CPG i'm loving it so far..
Title: Re: SMF and CPG problems
Post by: Nibbler on May 14, 2007, 12:54:16 PM
Yeah, probably a cookie problem.
Title: Re: SMF and CPG problems
Post by: vhero on May 14, 2007, 04:31:17 PM
yeah thats nice but how do i fix?? they both have differnt cookie names in panel? Please help me?
Title: Re: SMF and CPG problems
Post by: Joachim Müller on May 14, 2007, 05:20:02 PM
For a start, do exactly as suggested in the sticky thread on this sub-board that is named "When requesting bridge support - mandatory! (http://forum.coppermine-gallery.net/index.php?topic=24032.0)". Alternatively, do exactly as suggested in the documentation that comes with Coppermine (Chapter "5. Integrating the script with your bulletin board (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating)", Section "5.4 Bridging support (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating_support_start)"). For your ease of use, here's what it says:
Quote5.4 Bridging support

With the explanations given above you should be able to bridge your (BBS) application with Coppermine. However, if things don't work as expected, you're welcome to look for help using the coppermine support board. When asking for support, please keep in mind that the supporters will need some information to enable them to help you:

  • Search the board before posting - maybe somebody had similar issues to yours that have been solved already
  • Post on the board that deals with your version - bridging mechanisms have changed from version to version, that's why it's important to post on the board that actually corresponds to your coppermine version
  • Don't hijack threads - when looking for bridging support, start your own thread
  • Read the sticky threads before posting
  • Make sure you are using the latest versions of the bridging files, they are kept up to date between formal Coppermine releases. Download the relevant files from the SVN. Update udb_base.inc.php and the file that corresponds to the bridge you are using and upload them into your bridge directory, overwriting the old ones. Of course you should make sure to use the most recent stable coppermine release in the first place.
  • When requesting bridge support, please post a link to your site, a test user account, and what you have set in the bridge manager.
          Make sure that the test user account doesn't have admin privileges. When posting parts of your bridge file, make sure to replace passwords with asterisks.
       
      This is how your posting should look like (with actual URLs instead of the dummy URLs given here as an example):

QuoteI have the following issue when trying to bridge coppermine and XXX:
      [error message here]

      Coppermine install: http://mysite.tld/my_coppermine_folder/
      Forum install: http://mysite.tld/my_forum_folder/
      Coppermine version: cpg1.4.10
      Forum version: SuperDuper BBS app v0.8.15
      Test user account: some_testuser_name / the_password_for_the_test_user_account

      BridgeManager settings:
      Forum URL:  http://mysite.tld/test/foo_bar
      Relative path to your BBS's config file:  ../bla/
      Use post-based groups?:  0

Title: Login problem using SMF and CPG 1.4
Post by: vhero on May 14, 2007, 09:12:38 PM
I have the following issue when trying to bridge coppermine and XXX:
i login to forums goto gallery and im not logged in a few members it works for not all I think it may be a cookie problem

Coppermine install: http://www.epicrenders.com/gallery/
Forum install: http://www.epicrenders.com/forum/
Coppermine version: cpg1.4.10
Forum version: SMF 1.1.2
Test user account: test / tester123

BridgeManager settings:
Forum URL:  http://www.epicrenders.com/forum/
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0 


sorry i reposted you cna remove my other thread i didnt mean to not use your template.
Title: Re: Login problem using SMF and CPG 1.4
Post by: Nibbler on May 14, 2007, 09:45:04 PM
Test account does not work.
Title: Re: SMF and CPG problems
Post by: vhero on May 15, 2007, 11:16:18 AM
password is test123 try now..
Title: Re: SMF and CPG problems
Post by: Nibbler on May 15, 2007, 01:56:57 PM
Enable subdomain independent cookies in SMF.
Title: Re: SMF and CPG problems
Post by: optimalnitro on May 17, 2007, 07:40:58 AM
Quote from: Nibbler on May 15, 2007, 01:56:57 PM
Enable subdomain independent cookies in SMF.

To find this setting in your Simple Machines Forum:
Admin tab-->Configuration-Server Settings-->Feature configuration tab-->Check the box to "Use subdomain independent cookies"

After running the bridge and checking that box, it worked like a charm.  ;D
Title: Re: SMF and CPG problems
Post by: vhero on May 18, 2007, 12:09:10 AM
thanks! that worked a treat!