2 sam2kb Nov 11, 2009 20:13

in the same category : see protected posts on a multidomain blog.
You need to switch the $baseurl and have blogs 1 & 2 on "absolute url" ... you'll still need to login to each domain though
I did start on an alternative method but, unfortunately, $Sessions doesn't have a get_by_ID method that's (easily) usable
¥
Sounds reasonable, let me try this...
Changing $baseurl to the current domain is not an option since the skin directory doesn't exist and all styles and scripts will not be found.
Or does "You need to switch the $baseurl" mean anything else?
All my "domains" share the same public_html folder .... at least, they did until I split my dev blog off and slapped it in it's own folder ... which makes multi-domain sign-on a lot simpler.
You can achieve a single login if you piss around enough but it's not a straightforward task and you need to make sure that "logout" == "all domains/sessions"
¥
All my "domains" share the same public_html folder
I see what you mean... it's not possible in my case.
It *is* possible, you just have to piss around ;)
When I get chance I'll post a "method" that should work ... at least, it worked on another of my installs, but I can't remember if you need to arse around with the cookie domain ... and I no longer have the install to refer to ... at least, I don't *think* I have ;)
¥
yabbs, you can always test on my installation.
one of the blogs on tfbe (blog59) needs to be amigurumis.be
and when I see amigurumis.be, I need to see the protected posts.
I hope you guys can figure it out ;)
My preview features are working now. Thanks for this hint.
Anyone?
The idea is to stay logged in on different domains of the same b2evo installation.