change default re-direct page from amember/member.php to previous page url

Discussion in 'Customization & add-ons' started by lokust, Dec 30, 2005.

  1. lokust

    lokust New Member

    Joined:
    Oct 21, 2005
    Messages:
    15
    Hi.

    I don't wish to specify url's for products - so Amember defaults to amember/member.php upon member sign-in.

    However I'd like the member to be returned to the previous URL when they sign in. I will include the sign in form / welcome message as detailled here and would like the user returned to the same page they signed in on.

    Thanks.
  2. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Unfortunately, it is currently not possible.
  3. lokust

    lokust New Member

    Joined:
    Oct 21, 2005
    Messages:
    15
    Now that's a shame. Can this funcionality be implemented?
    It would certainly add to the flexibility of AMEMBER.

    I'm right on the verge of purchasing this script.


    Code:
    <?php echo $_SERVER['HTTP_REFERER']; ?>
  4. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Well, I think it is possible to add. When you order aMember Pro, please contact me via helpdesk with link to this topic, and I will implement this feature.
  5. tomarriola

    tomarriola Member

    Joined:
    Mar 29, 2003
    Messages:
    140
    This would be a nice option. Can you post a how to?
    Tom
  6. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Tom,
    it will be included into next release of aMember.
  7. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Sorry, there is always such a feature in amember/login.php script - if "amember_redirect_url" value passed into login form, it will be used instead of actual product url.

    If you show me your setup via helpdesk, I will show how to use this feature.

Share This Page