Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Wordpress Vanilla Forum

Amazing plugin! Happy to be able to use Vanilla on my Wordpress site.

Everything seems setup correctly except...

Logout does not sync with Vanilla.

In the "Other Information..." section of the Single Sign-on, there is this:

Other information for Vanilla
Authenticate Url
Sign In Url{Target}
Register Url

However, there's no Logout Url section. I added

to the section on the Vanilla dashboard, but it doesn't seem to function correctly. When I logout of Wordpress I am still logged into Vanilla.

Any suggestions?



  • No dice?

  • Wow! Thanks for your help @x00.

    However, I added all this and the logout still doesn't seem to function. I also have the forum embedded (will this impact it?). When I logout of Wordpress, still logged into Vanilla and can post and all that. However, with your code added, now if I logout using the Vanilla interface, it refreshes the embed and just has my website within the embed (so you see my website twice, one of them smaller within the embed frame).

    Any thoughts?

  • x00x00 MVP
    edited August 2015

    But are you logged out?


    $Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}?Target=';

    grep is your friend.

  • No. When I logout of my Wordpress (via my main menu), I am still logged into the embedded Vanilla forum. Tried that new config and it also didn't log me out.

    I can only logout via the logout option in the Vanilla forum.

  • x00x00 MVP
    edited August 2015

    @PFAFF said:
    I can only logout via the logout option in the Vanilla forum.

    that's what that does.

    Another idea


    $smart_redirect_to = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '/';
    setcookie('Vanilla', null, -1, '/');
    $smart_redirect_to = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '/';

    This is assumes that your Vanilla cookie is named 'Vanilla'

    grep is your friend.

  • @x00 that last thing worked! You are amazing! Thanks soooooooo much!

  • Is there a way to remove the "Sign in / Register" buttons from the Vanilla embed so people don't use that? I've created a custom theme based on the Default to modify things without breaking stuff.

  • No worries.

    grep is your friend.

  • basically you have to get the two logouts to work as one in both directions.

    grep is your friend.

  • Can I just remove the Register button from the vanilla theme?

  • @x00 I figured out a way to do it through Dashboard. Go to Admin -> Users -> Registration and choose "Connect".

  • Thanks again for your help!

  • Try registration method to Connect. If it that doesn't work you can hide it with css.

    grep is your friend.

  • Beat me too it.

    grep is your friend.

  • @x00 I know I'm killing you right now. But, final problem (I hope): can I remove the Signout option from the Dropdown menu in Vanilla?

    Send me your PayPal. I owe you a beer!

  • css in design/custom.css or

    .SignOutWrap {

    grep is your friend.

  • That did it! Thanks a million! I'm serious about buying you a beer if you want one!

  • @x00 I just tried to follow the same steps in Version 3.3 with Vanilla embedded into wordpress, but it's not working (i.e. logging out of Wordpress does not log a user out of the embedded forum).

    Otherwise, I'm using jsConnect and it's working great to log a user in correctly.

    Do you believe the steps above should still work with Version 3.3?

Sign In or Register to comment.