Did anyone got this working? I tried on my local xampp with both fresh installations of wp2.9 and the latest vanilla2 without success. As soon as I enable Single Sign-on in vanilla, my vanilla forum seems to be inaccessible (white page, loading forever) and I can't log in to wordpress anymore (always get redirected to login-form after entering user & password).
Also, I installed it using wordpress 2.8.3, and I get the following when I try to change the plugin settings in vanilla: http://area51.bluehaze.org/forum/error.html It's a static page.
@flobster - Hmmm. Strange. I thought it might be cookie related, but it might also be related to the fsock call that Vanilla makes to your WordPress AuthenticateUrl.
Oh, and it should really work with WP 2.8.x also...
It shouldn't matter where Vanilla is installed in relation to WP - it only matters that they're on the same domain (or related subdomains) like domain.com and forum.domain.com or wp.domain.com
The fsock calls can be a pain. It's really what took the longest for me to get sorted out (about 4 hours). I'm concerned that different web servers respond differently to the request depending on the headers defined. If you want to see what I'm talking about, check out the fsock call here:
Thanks @Mark, guess I'll have to give it a try 'in the wild'. When using the addon on localhost, there seems to be no proper defined domain. I realised the value 'Cookie Domain' in my vanilla config being blank, however inserting various values didn't make a difference.
Vanilla 1 was built with a different sso scheme in mind. I don't have time to try this kind of a port for Vanilla 1, but anyone is welcome to give it a shot...
I got this to work fine on localhost with leaving the domain blank. I am pretty sure that if Vanilla is in a subfolder of Wordpress then they can share cookies just fine.
It works for me too on localhost. Very nice module. I didn't know what CMS to choose for my new site but know vanilla/wordpress is a lot more appealing.
Comments
I have to check this out!
http://area51.bluehaze.org/forum/error.html
It's a static page.
@Mark - that's what I did: clear cookies and close the browser. Does it matter where vanilla is installed? Currently I have a folder 'wpdev' (so on my machine, wordpress is at 'http://localhost/wpdev'), and within a sub folder, vanilla2 is installed ('http://localhost/wpdev/vanilla').
Oh, and it should really work with WP 2.8.x also...
http://github.com/lussumo/Garden/blob/master/library/core/class.handshakeauthenticator.php#L119
You can see I've got some debugging code there to spit out the headers being sent and the response received...
Very nice module. I didn't know what CMS to choose for my new site but know vanilla/wordpress is a lot more appealing.
Keep up the good work !
http://xblreview.com <- blog
http://xblreview.com <- forum
This addon integrates the forum's login into the blog's login... so the blog's login is the only interface.
from conf/config.php
$Configuration['Garden']['Authenticator']['AuthenticateUrl'] = 'http://tivocentral.co.nz/wp-login.php';
$Configuration['Garden']['Authenticator']['SignInUrl'] = 'http://tivocentral.co.nz/wp-login.php';
$Configuration['Garden']['Authenticator']['SignOutUrl'] = 'http://tivocentral.co.nz/wp-login.php?action=logout&_wpnonce=b8247aca7e';
$Configuration['Garden']['Authenticator']['RegisterUrl'] = 'http://tivocentral.co.nz/wp-login.php?action=register';
http://tivocentral.co.nz/vanilla/
using WP 2.8.4 .... doesn't seem to work
I've tried different combinations of URLs etc.
IS it that I am not using WP 2.9 perhaps?
2 questions:
1.
I have it working
once logged in the "edit my account" and "change my password" links are incorrect.
I've found this in the source:
applications/garden/controllers/profile.php: $SideMenu->AddLink('Options', 'Edit My Account', '/profile/edit', FALSE, array('class' => 'Popup'));
Is there a way to over write these without tampering with the source files?
2.
How do I "administer" the forum? I'm logged in as an admin in wordpress, but don't have access to the admin of vanilla.
and slightly relate, has anyone messed about with theme integration?