Recent Topics

1 Nov 09, 2009 22:23    

My b2evolution Version: Not Entered

Is it possible to make a "Preview" button work on multidomain installation?

The structure is as follows:
somesite.com/blogs/ - b2evo base url
anothersite.org - blog 1
bla-bla.com - blog 2

I'm talking about the latest b2evo version

2 Nov 11, 2009 20:13

Anyone?
The idea is to stay logged in on different domains of the same b2evo installation.

3 Nov 12, 2009 17:22

in the same category : see protected posts on a multidomain blog.

4 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 Nov 12, 2009 20:32

Sounds reasonable, let me try this...

6 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 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 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 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 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 Nov 14, 2009 02:14

I hope you guys can figure it out ;)

12 Nov 14, 2009 06:08

My preview features are working now. Thanks for this hint.


Form is loading...