How to call up Aff URL in emails?

Discussion in 'Templates customization' started by sunseapromos, Mar 9, 2011.

  1. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    In one of my automated emails set up by the system, it uses the following to draw the affiliate url for my members when sending them emails:

    Your Referral URL: {$config.root_url}{$user.member_id}

    But it is appearing as:
    http://www.christianhomebusinessassoc.com/amember24
    which obviously only goes to a non-existent page.

    What is the correct code to insert into my emails to provide the correct info:
    (http://www.christianhomebusinessassoc.com/amember/go.php?r=24)
    to my members so they don't have to login to their accounts and pull it from a text ad URL?

    Thank you very much for a QUICK reply to this one!!!! :D
    Claudia Beck
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    {$config.root_url}/go.php?r={$user.member_id}

    David
  3. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    Thank you VERY much! :)
    Claudia
  4. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    How to Get Referral URL to Show on a Web Page?

    Hi,

    Now how can I get the member's corresponding referral URL to show up on a web page?

    I have created an extra referral tools page for members that resides in the AMember script area that they access when they are logged in to their account.

    Thanx!
    Claudia
  5. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
  6. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    It's just a regular old html page in a protected folder in the AMember area of my site.
  7. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You'll need to make it a php page and use the amember session method.

    David
  8. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    Okay, thanx! I will try my hand at this. :eek:

    But maybe in a future AMember script upgrade, you could add this to the Member's Page that the member's see when they first login to their accounts. Could say: Your referral URL is: (or something). Then have it only show up on the members' pages who are affiliates! :D

    Then it would have their referral URL there already, or maybe one of the Affiliate tools or info. pages.

    Not all of them realize they can just grab it out of the ad codes.

    Thanx! again --
    Claudia

Share This Page