External page for members to change PWD, UID

Discussion in 'aMember Pro v.4' started by 2reikis, Jun 10, 2012.

  1. 2reikis

    2reikis aMember Pro Customer

    Joined:
    Sep 17, 2006
    Messages:
    5
    My client doesn't want his customers to see the amember member's profile page. He wants an external page where they can change their username, password and cancel their subscription. I'm a fair programmer (front and back end) and am somewhat familiar with aMember v3.x but there's a lot going on in v4.x that's new.

    Can anybody give me a clue where to start this process? The aMember v4.x user's manual is sketchy and incomplete and there's nothing on this except an API section which has far too many "There is no content in this page" links.
  2. 2reikis

    2reikis aMember Pro Customer

    Joined:
    Sep 17, 2006
    Messages:
    5
    This worked.
    PHP:
    require_once '../amember/bootstrap.php';
        
    $user Am_Di::getInstance()->userTable->findFirstByEmail('me@me.com');
        
    $user->setPass('password123');
        
    $user->update();

Share This Page