Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Vanilla & Wordpress integration issue
Hello
I've followed Mark's excellent documentation on the swell blog for integrating Vanialla & WP. On my test site it is working wonderfully.
However, one small issue. If you decide to allow logins only from WP, and delete the people.php as suggested, when in vanilla, signing out attempts to redirect to the people.php, throwing up a page not found error.
Just wondered if this sign out should now be redirected to the WP logout? And how to do this.
thanks
ps. Hope this is the write place to post
0
This discussion has been closed.
Comments
I don't know how to create addons for wordpress, but I'd hope they have the capability of allowing you to alter a query and update a field on-sign-in. We'd need a WP developer to help out if you want to keep using the WP login.
Sorry, but I'm back again with a small issue with the integration.
I've set things up where a new user is created, and sign in is done via vanilla now
When I delete a user in wordpress, it correctly gets deleted in vanilla. (Not sure if this has anything to do with the issue below though).
When a new user applies for registration, everything seems ok.
But when admin tries to login after, I get this 'error' (displayed twice) above the you have successfully signed in message.
Notice: Undefined variable: CookiePath in /home/asylum10/public_html/site/discuss/library/People/People.Class.WordpressAuthenticator.php on line 34
Notice: Undefined variable: SiteCookiePath in /home/asylum10/public_html/site/discuss/library/People/People.Class.WordpressAuthenticator.php on line 34
This message disappears after a couple of logins. But I've found that with the Notify0.2 extension, the new user isn't being sent any notification messages after testing, (visit count gets updated properly). I understand that I would need to contact the Notify0.2 author to debug this, but wondered if it's related to the integration/cookiepath message?
I've installed the integration twice now and get the same issue
thanks
1. user created from vanilla are given the "contributor" privilage in wordpress, but they can't create anything in wordpress. Each time i try to login through wp-admin, it will tell me "You do not have sufficient permissions to access this page.
2. user created from wordpress are well, creatd the way you want them to (subscriber, author, editor or admin) and they can login and post in vanilla.
Number 1 is the issue here.... I wonder y...
It would be great if Mark could get issue 1 working the same way as 2.
I have added the 2 lines suggested above to my conf/settings.php file: My file:
$Configuration['SIGNIN_URL'] = '/home/.hog/hometurf/hometurfmedia/blog/wp-login.php';
$Configuration['SIGNOUT_URL'] = '/home/.hog/hometurf/hometurfmedia/blog/wp-login.php';
I have also deleted the people.php, but I get a 404 when I try and access the forum...it is still looking for the people.php file
I am still unable to login to Vanilla at all, after going through the instructions [twice] step by step. I can create a new user in Vanilla and then log into WordPress with the account, but there is no way to get access to Vanilla.
I'm using WP 2.0.5 and Vanilla 1.0.3 and I noticed the directions are for Vanilla 1.0.1...has anything changed that would affect WordPress integration?
Thanks