VB Plugin and Reseting Password

Discussion in 'Troubleshooting' started by simplyr, Sep 3, 2011.

  1. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    Why does the plugin direct users to amember to reset their passsword?

    I have turned off amember to handle the registrations, I don't want it to reset passwords either - I want vbulletin to do that.

    Help me please.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    hi,
    When you use plugin, aMember should be used as main database in most cases.
    So, user should change password in aMember(and it will be changed in vBulletin as well) If user will change password in vBulletin, it will not be changed in aMember, so single login will not work.
  3. simplyr

    simplyr Member

    Joined:
    Jul 25, 2010
    Messages:
    75
    I don't want it to change in aMember. The idea was to close aMember site down and merge with VB. So members need to expire first on aMember and then join again via VB.

    How can I stop aMember handling password resets? I only want it to expire users now.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Ok. In vBulletin admin -> Plugins -> edit style_fetch plugin inserted by aMember and delete this block from that plugin :
    if ($_REQUEST['do'] == 'lostpw'){
    $vbulletin->url =........
    $vbulletin->options['amemberurl'].
    '/login.php?amember_redirect_url='.
    $vbulletin->options['bburl'];
    exec_header_redirect($vbulletin->url);
    }

Share This Page