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.
Anyone working on WordPress integration?
I read an article posted at devlounge.net however it still doesnt solve the problem of integrating logins. Will this be possible ?
0
This discussion has been closed.
Comments
How would I detect someone was logged in on a non-Vanill page?
How is "People" supposed to work?
And at WordPress .com .org find out where their database matches up:
through their Database Description and here's one on WP Cookies.
1. Keep the user tables in-sync with usernames/passwords. I added a script that checks the vanilla users table for a matching username when someone logs into my main site. If it's not there I insert the new user into that table.
To keep the passwords in sync, I remove all the links to the Vanilla change password form(even better, disable it somehow, just in case someone knows the link).
2. When a user logs into the "main" site, log them in to Vanilla as well, by reproducing the http call that the vanilla sign form would make. The same username and password should be in the vanilla users table. I tried this with a server-side http call but it didn't work (maybe Mark has some built in
security). So I tried a client-side ajax call. That worked. When a user signs out of the main site, I do the same on vanilla (a server-side http call works in this case). I modify my templates so all the Vanilla signin/signout links actually go to my main site.
3. Bypass the Vanilla member profile page. I'm still working on this one. I want to redirect people to the main site's profile page so they can never see the vanilla version. I don't know the PHP code for a server-side redirect yet, but I want to put one on the Vanilla profile page.
I'd be happy to post more details on request, but hopefully this will get some folks started.