coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: tauonline on September 12, 2004, 08:44:42 PM

Title: SMF and CM. I'm using subdomains for both....
Post by: tauonline on September 12, 2004, 08:44:42 PM
Hello,
  My forums can be found at 'forums.tauonline.org' and my galleries at 'gallery.tauonline.org' I'd like to intergreat the 2, although as it says in the CM docs, it's hard to do if you use subdomains. I'm not too bad at PHP, would it be too hard to integrate the 2?
  Thanks,
Tau Online
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: Nibbler on September 12, 2004, 08:55:57 PM
Depends on the board you wish to use and your understanding of cookies. You will also need to alter the redirection in the bridge file.
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: tauonline on September 15, 2004, 07:37:16 PM
Quote from: Nibbler on September 12, 2004, 08:55:57 PM
Depends on the board you wish to use and your understanding of cookies. You will also need to alter the redirection in the bridge file.
I'm using SMF as my board. What parts of the bridge file do I need to edit?
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: [Unknown] on September 16, 2004, 05:36:46 AM
Make sure subdomain independent cookies are enabled for SMF.

-[Unknown]
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: tauonline on September 16, 2004, 07:48:18 PM
I've enabled subdomain independent cookies in SMF, followed the online manual and uploaded the modified files and when I go to my gallery I get the following errors:

QuoteNotice: Undefined variable: BRIDGE in /home/tauonli/public_html/gallery/bridge/smf.inc.php on line 78

Notice: Undefined variable: BRIDGE in /home/tauonli/public_html/gallery/bridge/smf.inc.php on line 79

Any help?
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: Nibbler on September 16, 2004, 07:51:18 PM
Post what changes you have made to the file and the lines 70-80
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: tauonline on September 16, 2004, 07:57:43 PM
I changed the variable $path to:

$path = '../../forums/Settings.php'; (My forums setting file)

And lines 70-80 are:

   // rather than using Post Count based groups.
    define('USE_POST_GROUPS', 1);

// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //

} else { // the vars from the bridgemgr
       $path = $BRIDGE['relative_path_to_config_file'];
       define('USE_POST_GROUPS', $BRIDGE['use_post_based_groups']);
}


Thanks
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: Nibbler on September 16, 2004, 07:59:48 PM
Looks like a nasty case of 'asking for support on the dev version' to me.
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: tauonline on September 16, 2004, 08:00:50 PM
Quote from: Nibbler on September 16, 2004, 07:59:48 PM
Looks like a nasty case of 'asking for support on the dev version' to me.
Sorry, I don't understand?
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: Nibbler on September 16, 2004, 08:02:20 PM
You are using the unsupported dev version of the bridge file. If you need support you must use the supported stable version 1.3.2.
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: tauonline on September 16, 2004, 08:14:23 PM
Ah right! Thanks I've fixed the error now. Although when I try to logout I get the following error:

QuoteAn Error Has Occurred!
Unable to verify referring url. Please go back and try again.
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: Nibbler on September 16, 2004, 08:17:37 PM
Never seen that before in my life.
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: tauonline on September 16, 2004, 08:19:53 PM
Quote from: Nibbler on September 16, 2004, 08:17:37 PM
Never seen that before in my life.
Never mind! I just found out it's a SMF error not a CMG error. When logging out the session ID isn't added and so the forums show that error. I'll have to wait until Unknown comes on and sees this.
Title: Re: SMF and CM. I'm using subdomains for both....
Post by: [Unknown] on September 17, 2004, 05:18:48 AM
That's what this topic about integration (http://forum.coppermine-gallery.net/index.php?topic=9934.0) is meant to resolve.

-[Unknown]