1 sam2kb Nov 09, 2009 22:23
3 topanga Nov 12, 2009 17:22
in the same category : see protected posts on a multidomain blog.
4 yabba Nov 12, 2009 18:24
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
¥
5 sam2kb Nov 12, 2009 20:32
Sounds reasonable, let me try this...
6 sam2kb Nov 13, 2009 00:31
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?
7 yabba Nov 13, 2009 08:27
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"
¥
8 sam2kb Nov 13, 2009 14:12
All my "domains" share the same public_html folder
I see what you mean... it's not possible in my case.
9 yabba Nov 13, 2009 18:02
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 ;)
¥
10 topanga Nov 13, 2009 21:43
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.
11 sam2kb Nov 14, 2009 02:14
I hope you guys can figure it out ;)
12 flyingsheep2009 Nov 14, 2009 06:08
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.