Pagina 1 van 1

Wat is het pad naar het forum op mijn subdomein

Geplaatst: 28 dec 2006, 17:59
door Giganerd
Support Template
  • Wat is het probleem? wat is het pad naar een forum op een subdomein
    Wanneer ontstond het probleem? heden
    Adres van je forum: http://forum.no-w.nl
    Modifications op je forum: geen
    Huidige stijl: xand of subsilver
    phpBB versie: 2.0.22
    Waar is je forum gehost: Hosting2go
    Heb je onlangs iets verandert aan je forum? nee
Overige opmerkingen:

Ik heb een subdreamer CMS aangeschaft.
Hierin kan je een phpBB2 forum integreren.
Hiervoor moet ik een pad opgeven naar de map waarin het forum staat.

De site staat op http://www.no-w.nl
Het forum staat op http://forum.no-w.nl

Welk pad moet ik invoeren?

Geplaatst: 28 dec 2006, 18:46
door Jan
Subdreamer is geen addon van phpBB, maar omgekeerd.
Je zal deze support dus via SubDreamer.com Support moeten vragen!

Geplaatst: 28 dec 2006, 19:22
door Giganerd
Ja heb ik ook alleen hier reageert men sneller ;)

Geplaatst: 29 dec 2006, 11:16
door Paul
ik weet het niet 100% zeker, maar volgens mij ondersteund subdreamer dat niet.

Geplaatst: 29 dec 2006, 14:41
door Giganerd
Heb al antwoord :)

De laatste replier heeft gelijk. Het kan overigens wel, maar het is er niet voor gemaakt. Heeft te maken met beveiliging begrijp ik.
I understood that the first poster wants to have "www.sitename.com" running Subdreamer and "forums.sitename.com" running the forum.

This cannot be done in the way you described, because Subdreamer part of the website does not work.

I have done this modification on the website I run. In order to do it, modifications are needed to Subdreamer code.

First, you need to alter the usersystem code to change the "cookie domain" to highest common domain for the site, for example ".sitename.com". This way, the forum and Subdreamer will use the same cookies for session management. This also requires setting the cookie domain in the forum. If cookie domain is not set, sessions across forum and Subdreamer won't work.

Then, you need to change plug-ins that deal with forum functions so that references to "$sdurl . $forumpath" are replaced with the forum domain.

There could be some problems with security implications when the cookie domain is set. I remember reading a specification about how browsers should act when cookie domain is set. The point was, that when the cookie domain is "too broad", like ".com.tw", it means that the browser sends the cookie to all sites that end with .com.tw. This is a security risk, and the document proposed that the browser wouldn't accept this kind of broad cookie domains.

In conclusion, this is possible, but needs changing Subdreamer code. I'm sure this could be added as a feature to Subdreamer. I don't know if developers are willing to implement this though.

On my site this setup works fine, but occasionally the auto-login feature seems to work incorrectly with Opera browser. This could occur because Opera might have more strict policy on cookies.
Dank voor uw reacties, vraag wat mij betreft opgelost.

Fijne jaarwisseling allen!