Members page customization

Discussion in 'Customization & add-ons' started by conquermaths, Mar 14, 2006.

  1. conquermaths

    conquermaths New Member

    Joined:
    Feb 13, 2006
    Messages:
    9
    Hi,

    I'm hoping to add an extra option to the members page that is only available for 14 days after a members first payment is completed. This is to allow a user to request their money back before a certain time.

    Is there an easy-ish way to do this?

    Many thanks in advance.

    Richie
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Richie,
    no, unfortunately, there are no implemented ways to do that.
  3. conquermaths

    conquermaths New Member

    Joined:
    Feb 13, 2006
    Messages:
    9
    Hi Alex,

    Thanks for the reply. Is the date a user first completed payment held in an array or would I have to query the payments database to find the earliest payment date if I want to write the code to do this myself?

    Thanks
    Richie
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Richie,
    it is easy to do - there is an array
    PHP:
    <?php

    session_start
    ();
    print_r($_SESSION['_amember_subscriptions']);
    ?>

Share This Page