WordPress.org

Forums

WP Vanilla Connect
[resolved] It works but could be better (3 posts)

  1. aptsonic
    Member
    Posted 3 years ago #

    I've installed this plugin, and jsQuery. Works as described.

    However it could be better, currently if your sign into your wordpress and navigate to the forum, you still have to sign in, albeit you don't have to use your password and username again, its just a single click. Am I doing something wrong? should example.com/wp-admin/ sign me into both without an additional click?

    http://wordpress.org/extend/plugins/wp-vanilla-connect/

  2. nickiler
    Member
    Plugin Author

    Posted 3 years ago #

    To have a seamless login use the jsConnect Login URL which will send users to your WordPress login and then redirect them to Vanilla logged in automatically.

    http://WORDPRESS-ROOT/wp-login.php?redirect_to=http://VANILLA-ROOT/entry/jsconnect?client_id=CLIENT-ID&Target=%2F

    If your users are already logged into WordPress and you need to redirect them to your Vanilla, use the jsConnect URL which initiates the check for a the currently logged on WordPress user and logs them in automatically:

    http://VANILLA-ROOT/entry/jsconnect?client_id=CLIENT-ID&Target=%2F

    jsConnect does not currently support auto logging on or auto-checking for a WordPress user, but using the methods above works just fine for me.

  3. iLERTECH
    Member
    Plugin Author

    Posted 3 years ago #

    I posted this a few hours ago, but I'm having problems posting from my developer account so, I had to create a new account and reposting the original response below.
    -----------------------------------------------------------------------

    should example.com/wp-admin/ sign me into both without an additional click?

    No, If you send your users to your WordPress URL without the redirect to jsConnect URL you will be sent to WordPress Dashboard instead of Vanilla Forums.

    Correct method for login and redirect to Vanilla

    To have a seamless login use the jsConnect Login URL which will send users to your WordPress login and then redirect them to Vanilla logged in automatically.

    http://WORDPRESS-ROOT/wp-login.php?redirect_to=http://VANILLA-ROOT/entry/jsconnect?client_id=CLIENT-ID&Target=%2F

    Already logged into WordPress? Use the jsConnect URL.

    If your users are already logged into WordPress and you need to redirect them to your Vanilla, use the jsConnect URL which initiates the check for a the currently logged on WordPress user and logs them in automatically:

    http://VANILLA-ROOT/entry/jsconnect?client_id=CLIENT-ID&Target=%2F

    jsConnect does not currently support auto logging on or auto-checking for a WordPress user, but using the methods above works just fine for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Vanilla Connect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic