Autoresponse3 and Amember

Discussion in 'Integration' started by ronniead, Jun 24, 2010.

  1. ronniead

    ronniead Member

    Joined:
    Dec 20, 2007
    Messages:
    118
    Hi,

    I'm using ARP3 (AutoresponsePlus) with Amember (I have the plugin). Everything is working fine...except the following:

    ARP3 uses the variables first_name and last_name as opposed to amember which uses name_f and name_l

    When a user subscribes on my site using ARP3 form, it then redirets them to amember signup.php ... but because the variables are different, they are not copied to the corresponding name_f and name_l

    can someone please help me here...

    I'm assuming I need to copy the variable in smarty or php, but have no idea...

    Thanks

    Ronnie
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    How you redirect users from ARP to aMember exactly?
  3. ronniead

    ronniead Member

    Joined:
    Dec 20, 2007
    Messages:
    118
    FYI - Answer from Support:

    Sure you can change this in signup.html template.
    <input class="required" type="text" name="name_f" value="{$smarty.request.name_f|escape}" size="15" />
    <input type="text" class="required" name="name_l" value="{$smarty.request.name_l|escape}" size="15" />


    change to:

    <input class="required" type="text" name="name_f" value="{if $smarty.request.name_f}{$smarty.request.name_f|escape}{else}{$smarty.request.first_name}{/if}" size="15" />
    <input type="text" class="required" name="name_l" value="{if $smarty.request.name_l}{$smarty.request.name_l|escape}{else}{$smarty.request.last_name}{/if}" size="15" />

Share This Page