List of ALL Field Codes

Discussion in 'Templates customization' started by upsa, Feb 22, 2006.

  1. upsa

    upsa New Member

    Joined:
    Feb 17, 2006
    Messages:
    23
    Hi Alex,

    What are all the field codes we can use in an email out from AMEMBER?

    Username: {$user.login}
    Name: {$user.name_f} {$user.name_l}
    Address: {$user.address}
    City: {$user.city}
    State: {$user.state}
    Zip: {$user.zip}
    Email: {$user.email}
    Gender: {$user.gender}
    --what else??


    USER FIELDS I HAVE DEFINED (is this format right??)
    Industry: {$user.industry}
    Experience: {$user.level}
    Title: {$user.title}
    Company: {$user.company}
    Education:{$user.education}

    thanks!
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    I think you specifed all usable predefined fields.

    Format is right if these are SQL-type fields.
  3. upsa

    upsa New Member

    Joined:
    Feb 17, 2006
    Messages:
    23
    Alex,

    Thanks very much for validating that these are correct. My question was also an attempt to figure out

    1) what else I could be using to customize the emails that go out even more

    2) I have "Membership: {$product.title}" in several emails, but whenever that email goes out, the membership isn't coming through, so the email says:


    Membership:


    Instead of

    Membership: name of it here


    So, if I had a list of all the field codes I could use it for 1 and 2 above.

    Maybe my membership name is too long and that's why it's not coming through?
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Which exactly emails?

    Unfortunaetely, different set of vars is available in different templates, so I need to know to answer exactly.
  5. caucus

    caucus Member

    Joined:
    Jan 19, 2006
    Messages:
    45
    I want to jump on this band wagon also. I hope you do not mind me taging along for the ride. This is also what I need to know

    I am wanting to get more information in the payment.txt e-mail. It appears uspsa has the same idea.

    In the members table I did figure out how to get the information if it is in the table.

    Lets not go down the checkbox idea just yet :eek:


    How do you get the customers state if it is a dropdown box and not in the DB because it is a common field and not a SQL?

    If I made it a SQL I think it wil show up.

    What other table can we gather information from for the payment e-mail?
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    "common" field can be accessed as {$user.data.yourfield}
    "SQL" field accessible as {$user.yourfield}
  7. alteredb

    alteredb New Member

    Joined:
    Apr 3, 2006
    Messages:
    1
    Fields for Mail_Payment.txt

    I have added the mailing address to the Mail_Payment.txt file so that when someone joins or renews our Membership Director has the information she needs to mail our the membership card.

    It would be extremely helpful to also know if this is a renewal or new membership. Is there a field I might include that would give her that information?

    TIA.
  8. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Unfortunately, there is no such ready-to-use field.

Share This Page