help with updating a field when status is 0 or 2

Discussion in 'Integration' started by yahooking, Feb 12, 2010.

  1. yahooking

    yahooking New Member

    Joined:
    Feb 12, 2010
    Messages:
    7
    hey guys, i am new to amember and love the program. I just have 1 issue, i want to be able to change a custom field in the user profile, if they are not subscribed to anything. Can anyone help me? I am not really looking for someone to make me a plugin, as i dont really have much money to spend on it. I just want to tinker with it to see if i can do it. Any guidence would be helpful.
    Again i am trying to do this:
    User Field = enabled
    When user has no subs.. or has NO active subs... his profile database sets Status to 0 (no subs) or 2(expired subs) i would like to set enabled as true if status = 1 and false if status is 0 or 2.
  2. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
  3. yahooking

    yahooking New Member

    Joined:
    Feb 12, 2010
    Messages:
    7
    thats just to retrieve information if the user logs in correct ? i can work with that, but what if the user does not login and his/her sub expires ? What i want to do is change a field if subscription expires. without having the user logged in. The session variables is great and i can actually have it change the field if the user logs in.. but if not then field will remain unchanged.
  4. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264

Share This Page