aMember WordPress and vBulletin Integration

Discussion in 'Integration' started by stockguy22, May 5, 2010.

  1. stockguy22

    stockguy22 Member

    Joined:
    Jan 18, 2010
    Messages:
    56
    Hi everyone,

    As the title suggests, I have setup aMember with WordPress and vBulletin. aMember handles all of the member data and one way sync it to both WP and vB from what I understand.

    Logging in from vBulletin (after putting in the aMember login form) let's me login. When I hit logout from vBulletin, I am brought to the wp-logout screen.

    If I set the link to the aMember logout page, then the user is not logged out. However, if I set the logout link to the WP logout page, it works.

    Unfortunately, WP uses a hash at the end of links to verify that it didn't come from another domain, so it works for my own generated user account. I had someone create an account and test, but it doesn't work for them - since they copied and pasted MY logout link.

    So, logging out doesn't work when we point the logout link to /member/logout.php

    How do we make it so we can login and logout from any page and it will redirect to the referring page?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Do you use latest vBulletin plugin? Also what wordpress plugin do you use?
  3. stockguy22

    stockguy22 Member

    Joined:
    Jan 18, 2010
    Messages:
    56
    Hi,

    Yes, we use the latest vB plugin and the beta WP plugin.

    We were told by support:

    Hello,
    I see logout works fine, but please change the next
    AmemberCP->Setup->Php_include->Redirect after logout

    It seems to all be working fine now, but will keep you updated.

    I wrote back to support (sorry if this is repetitive, I would like the input of other members if they are around, too):

    I don't quite understand what you mean by "change the next setting after logout". There is nothing in that field - and it redirects to the homepage. Did you change this setting for us? Because it seems to work just fine now.

    Our goal is: Whatever page you LOGIN from, you will be redirected back to it. But if you logout, I don't really care, so the homepage is fine.

    This is how it works, right?

    On another note, is there anyway to get rid of the aMember redirect page?

Share This Page