SMF and CM. I'm using subdomains for both.... SMF and CM. I'm using subdomains for both....
 

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

SMF and CM. I'm using subdomains for both....

Started by tauonline, September 12, 2004, 08:44:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tauonline

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

Nibbler

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.

tauonline

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

[Unknown]

Make sure subdomain independent cookies are enabled for SMF.

-[Unknown]

tauonline

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?

Nibbler

Post what changes you have made to the file and the lines 70-80

tauonline

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

Nibbler

Looks like a nasty case of 'asking for support on the dev version' to me.

tauonline

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?

Nibbler

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.

tauonline

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.

Nibbler


tauonline

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.

[Unknown]