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: SMF and CM. I'm using subdomains for both....  (Read 6699 times)

0 Members and 1 Guest are viewing this topic.

tauonline

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
SMF and CM. I'm using subdomains for both....
« 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
« Last Edit: September 16, 2004, 11:03:59 pm by GauGau »
Logged

Nibbler

  • Guest
Re: SMF and CM. I'm using subdomains for both....
« Reply #1 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.
Logged

tauonline

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: SMF and CM. I'm using subdomains for both....
« Reply #2 on: September 15, 2004, 07:37:16 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?
« Last Edit: September 15, 2004, 07:43:10 pm by tauonline »
Logged

[Unknown]

  • VIP
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • Simple Machines
Re: SMF and CM. I'm using subdomains for both....
« Reply #3 on: September 16, 2004, 05:36:46 am »

Make sure subdomain independent cookies are enabled for SMF.

-[Unknown]
Logged

tauonline

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: SMF and CM. I'm using subdomains for both....
« Reply #4 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:

Quote
Notice: 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?
Logged

Nibbler

  • Guest
Re: SMF and CM. I'm using subdomains for both....
« Reply #5 on: September 16, 2004, 07:51:18 pm »

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

tauonline

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: SMF and CM. I'm using subdomains for both....
« Reply #6 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:

Code: [Select]
   // 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
Logged

Nibbler

  • Guest
Re: SMF and CM. I'm using subdomains for both....
« Reply #7 on: September 16, 2004, 07:59:48 pm »

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

tauonline

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: SMF and CM. I'm using subdomains for both....
« Reply #8 on: September 16, 2004, 08:00:50 pm »

Looks like a nasty case of 'asking for support on the dev version' to me.
Sorry, I don't understand?
Logged

Nibbler

  • Guest
Re: SMF and CM. I'm using subdomains for both....
« Reply #9 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.
Logged

tauonline

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: SMF and CM. I'm using subdomains for both....
« Reply #10 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:

Quote
An Error Has Occurred!
Unable to verify referring url. Please go back and try again.
Logged

Nibbler

  • Guest
Re: SMF and CM. I'm using subdomains for both....
« Reply #11 on: September 16, 2004, 08:17:37 pm »

Never seen that before in my life.
Logged

tauonline

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: SMF and CM. I'm using subdomains for both....
« Reply #12 on: September 16, 2004, 08:19:53 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.
Logged

[Unknown]

  • VIP
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • Simple Machines
Re: SMF and CM. I'm using subdomains for both....
« Reply #13 on: September 17, 2004, 05:18:48 am »

That's what this topic about integration is meant to resolve.

-[Unknown]
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.