• Resolved aptsonic

    (@aptsonic)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nickiler

    (@nickiler)

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Vanilla Connect] It works but could be better’ is closed to new replies.