Difference between revisions of "NATS4 Mailer Template Variables"

From TMM Wiki
Jump to navigationJump to search
 
Line 372: Line 372:
  
 
== affiliate details ==
 
== affiliate details ==
To output the affiliate details you should use the following variables:
+
When sending an email to an affiliate you should use the following variables to output their information:  
  
 
* {$username}
 
* {$username}

Revision as of 16:45, 20 April 2009

NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
Mailing Admin
The Mailing Admin
Create New Mailer
Email Configuration
The Mailing Queue
Mailer Template Variables
Mass Mailing Template Variables
Common Mailer Examples
Setting Rules

You can use the following variables, grouped by their arrays, on templates in the Skins & Templates Admin and Site Templates that get mailed to affiliates. For example, mail_affiliate_on_member_joined or mail_member_change.

member

The member array holds the member's information.

  • {$member.memberid}
  • {$member.firstname}
  • {$member.lastname}
  • {$member.address1}
  • {$member.address2}
  • {$member.zip}
  • {$member.city}
  • {$member.country}
  • {$member.state}
  • {$member.shipping_firstname}
  • {$member.shipping_lastname}
  • {$member.shipping_address1}
  • {$member.shipping_address2}
  • {$member.shipping_zip}
  • {$member.shipping_city}
  • {$member.shipping_country}
  • {$member.shipping_state}
  • {$member.phone}
  • {$member.xsell_success}
  • {$member.xsell_message}
  • {$member.custom1}
  • {$member.custom2}
  • {$member.custom3}
  • {$member.custom4}
  • {$member.custom5}
  • {$member.last_modified}
  • {$member.memberid}
  • {$member.identid}
  • {$member.loginid}
  • {$member.networkid}
  • {$member.refurl_lookup_id}
  • {$member.status}
  • {$member.trial}
  • {$member.joined}
  • {$member.expired}
  • {$member.last_login}
  • {$member.stamp}
  • {$member.siteid}
  • {$member.username}
  • {$member.password}
  • {$member.cryptpass}
  • {$member.ip}
  • {$member.email}
  • {$member.session}
  • {$member.mailok}
  • {$member.flat_price}
  • {$member.first_login}
  • {$member.third_party_partner_id}
  • {$member.cascadeid}
  • {$member.cascade_item_id}
  • {$member.token}
  • {$member.original_username}
  • {$member.renamed}

details.loginid

The details.login array holds the NATS information about the member.

  • {$details.loginid.loginid}
  • {$details.loginid.username}
  • {$details.loginid.password}
  • {$details.loginid.deleted}
  • {$details.loginid.type}
  • {$details.loginid.skinid}
  • {$details.loginid.payvia_type_id}
  • {$details.loginid.status}
  • {$details.loginid.pass_hash}
  • {$details.loginid.join_date}
  • {$details.loginid.inhouse}
  • {$details.loginid.loginid}
  • {$details.loginid.firstname}
  • {$details.loginid.lastname}
  • {$details.loginid.email}
  • {$details.loginid.date_posted}
  • {$details.loginid.last_login}
  • {$details.loginid.last_login_ip}
  • {$details.loginid.reviewed}
  • {$details.loginid.minimum_payout}
  • {$details.loginid.bonus}
  • {$details.loginid.verify}
  • {$details.loginid.reason}
  • {$details.loginid.unencoded}
  • {$details.loginid.startpage}
  • {$details.loginid.rep_baseline}
  • {$details.loginid.company}
  • {$details.loginid.url}
  • {$details.loginid.tel}
  • {$details.loginid.icq}
  • {$details.loginid.aim}
  • {$details.loginid.msn}
  • {$details.loginid.address1}
  • {$details.loginid.address2}
  • {$details.loginid.city}
  • {$details.loginid.state}
  • {$details.loginid.country}
  • {$details.loginid.zip_code}
  • {$details.loginid.tax_id_or_ssn}
  • {$details.loginid.invoicer}
  • {$details.loginid.req_docs}
  • {$details.loginid.w9}
  • {$details.loginid.mailok}
  • {$details.loginid.trust_level}
  • {$details.loginid.new_notification}
  • {$details.loginid.flag1}
  • {$details.loginid.flag2}
  • {$details.loginid.flag3}
  • {$details.loginid.flag4}
  • {$details.loginid.flag5}
  • {$details.loginid.select1}
  • {$details.loginid.select2}
  • {$details.loginid.select3}
  • {$details.loginid.select4}
  • {$details.loginid.select5}
  • {$details.loginid.default_campaign}
  • {$details.loginid.default_program}
  • {$details.loginid.default_site}
  • {$details.loginid.pv_instant}
  • {$details.loginid.payout_approval}
  • {$details.loginid.notify_password}
  • {$details.loginid.notify_payvia}
  • {$details.loginid.notify_payvia_info}
  • {$details.loginid.notify_defaults}
  • {$details.loginid.notify_details}
  • {$details.loginid.notify_settings}
  • {$details.loginid.notify_member_change}
  • {$details.loginid.notify_member_voided}
  • {$details.loginid.notify_member_chargeback}
  • {$details.loginid.notify_member_credited}
  • {$details.loginid.notify_member_insufficient}
  • {$details.loginid.notify_member_cancelled}
  • {$details.loginid.notify_member_rebilled}
  • {$details.loginid.notify_member_joined}
  • {$details.loginid.verify_details}
  • {$details.loginid.verify_settings}
  • {$details.loginid.verify_defaults}
  • {$details.loginid.verify_payvia}
  • {$details.loginid.verify_payvia_info}
  • {$details.loginid.email_promotional}
  • {$details.loginid.email_on_notify}
  • {$details.loginid.email_on_member_change}
  • {$details.loginid.email_on_member_voided}
  • {$details.loginid.email_on_member_chargeback}
  • {$details.loginid.email_on_member_credited}
  • {$details.loginid.email_on_member_insufficient}
  • {$details.loginid.email_on_member_cancelled}
  • {$details.loginid.email_on_member_rebilled}
  • {$details.loginid.email_on_member_joined}
  • {$details.loginid.access_preset}
  • {$details.loginid.post_member_approval}
  • {$details.loginid.post_member_rebill}
  • {$details.loginid.post_member_upgrade}
  • {$details.loginid.post_member_expire}
  • {$details.loginid.post_member_insufficient_fund}
  • {$details.loginid.post_member_credit}
  • {$details.loginid.post_member_chargeback}
  • {$details.loginid.post_member_void}
  • {$details.loginid.post_member_upgradedeny}
  • {$details.loginid.post_member_change_details}
  • {$details.loginid.live_update_defaults}
  • {$details.loginid.default_stats_view}
  • {$details.loginid.default_stats_date_range}
  • {$details.loginid.default_stats_limit_site}
  • {$details.loginid.default_stats_limit_program}
  • {$details.loginid.default_stats_limit_campaign}
  • {$details.loginid.default_stats_small_map_1_data}
  • {$details.loginid.default_stats_small_map_2_data}
  • {$details.loginid.default_stats_pie_chart_1_data}
  • {$details.loginid.default_stats_pie_chart_2_data}
  • {$details.loginid.default_stats_pie_chart_3_data}
  • {$details.loginid.default_stats_pie_chart_4_data}
  • {$details.loginid.default_stats_pie_chart_5_data}
  • {$details.loginid.default_stats_pie_chart_1_break}
  • {$details.loginid.default_stats_pie_chart_2_break}
  • {$details.loginid.default_stats_pie_chart_3_break}
  • {$details.loginid.default_stats_pie_chart_4_break}
  • {$details.loginid.default_stats_pie_chart_5_break}
  • {$details.loginid.default_stats_mixed_chart_1_type}
  • {$details.loginid.default_stats_mixed_chart_2_type}
  • {$details.loginid.default_stats_mixed_chart_1_data}
  • {$details.loginid.default_stats_mixed_chart_2_data}
  • {$details.loginid.default_stats_multi_graph_data_1}
  • {$details.loginid.default_stats_multi_graph_data_2}
  • {$details.loginid.default_stats_multi_graph_data_3}
  • {$details.loginid.default_stats_large_map_data}
  • {$details.loginid.default_stats_comp_data}
  • {$details.loginid.default_stats_order}
  • {$details.loginid.default_stats_table_column1}
  • {$details.loginid.default_stats_table_column2}
  • {$details.loginid.default_stats_table_column3}
  • {$details.loginid.default_stats_table_column4}
  • {$details.loginid.default_stats_table_column5}
  • {$details.loginid.default_stats_table_column6}
  • {$details.loginid.default_stats_table_column7}
  • {$details.loginid.default_stats_table_column8}
  • {$details.loginid.default_stats_table_column9}
  • {$details.loginid.default_adtools_view}
  • {$details.loginid.default_adtools_cat_1_type}
  • {$details.loginid.default_adtools_cat_2_type}
  • {$details.loginid.default_adtools_cat_3_type}
  • {$details.loginid.default_adtools_cat_4_type}
  • {$details.loginid.default_adtools_cat_5_type}
  • {$details.loginid.default_adtools_publish_setting}
  • {$details.loginid.default_adtools_publish_date}
  • {$details.loginid.default_adtools_dump_separater}
  • {$details.loginid.default_adtools_dump_record_end}
  • {$details.loginid.default_adtools_dump_field_1}
  • {$details.loginid.default_adtools_dump_field_2}
  • {$details.loginid.default_adtools_dump_field_3}
  • {$details.loginid.default_adtools_dump_field_4}
  • {$details.loginid.default_adtools_dump_field_5}
  • {$details.loginid.default_adtools_dump_field_6}
  • {$details.loginid.default_adtools_dump_field_7}
  • {$details.loginid.default_adtools_dump_field_8}
  • {$details.loginid.default_news_announcement_section}
  • {$details.loginid.default_news_section}
  • {$details.loginid.default_news_count}
  • {$details.loginid.default_account_view}
  • {$details.loginid.default_account_changes_count}
  • {$details.loginid.default_account_changes_order}
  • {$details.loginid.default_account_campaign_count}
  • {$details.loginid.default_account_campaign_order}

details.campaignid

The details.campaignid array holds information about the campaign the member signed up under.

  • {$details.campaignid.campaignid}
  • {$details.campaignid.loginid}
  • {$details.campaignid.name}
  • {$details.campaignid.description}
  • {$details.campaignid.created_date}
  • {$details.campaignid.hide}
  • {$details.campaignid.old_campaignid}

details.programid

The details.campaignid array holds information about the program the member signed up under.

  • {$details.programid.programid}
  • {$details.programid.program}
  • {$details.programid.hidden}
  • {$details.programid.type}
  • {$details.programid.name}
  • {$details.programid.extended_payout}
  • {$details.programid.max_ratio}
  • {$details.programid.fallbackid}
  • {$details.programid.addstr}
  • {$details.programid.deleted}
  • {$details.programid.abi_paycom_prefix}
  • {$details.programid.abi_paycom_perc}
  • {$details.programid.deduct_credits}
  • {$details.programid.deduct_chargebacks}
  • {$details.programid.deduct_voids}
  • {$details.programid.deduct_insufficient}
  • {$details.programid.verify_hash}
  • {$details.programid.verify_initial}
  • {$details.programid.retro_payout}

details.siteid

The details.campaignid array holds information about the site the member signed up under.

  • {$details.siteid.siteid}
  • {$details.siteid.networkid}
  • {$details.siteid.site}
  • {$details.siteid.deleted}
  • {$details.siteid.name}
  • {$details.siteid.type}
  • {$details.siteid.hidden}
  • {$details.siteid.date_added}
  • {$details.siteid.date_live}
  • {$details.siteid.network}

details.tourid

The details.campaignid array holds information about the tour the member signed up under.

  • {$details.tourid.tourid}
  • {$details.tourid.tour}
  • {$details.tourid.siteid}
  • {$details.tourid.networkid}
  • {$details.tourid.name}
  • {$details.tourid.url}
  • {$details.tourid.linkdomain}
  • {$details.tourid.description}
  • {$details.tourid.thumb}
  • {$details.tourid.thumb_ext}
  • {$details.tourid.third_party_partner_id}
  • {$details.tourid.spartaurl}
  • {$details.tourid.denyurl}
  • {$details.tourid.denypost}
  • {$details.tourid.approvalurl}
  • {$details.tourid.approvalpost}
  • {$details.tourid.rebillpost}
  • {$details.tourid.creditpost}
  • {$details.tourid.chargebackpost}
  • {$details.tourid.insufficient_fundpost}
  • {$details.tourid.voidpost}
  • {$details.tourid.userpost}
  • {$details.tourid.userman}
  • {$details.tourid.expirepost}
  • {$details.tourid.custom}
  • {$details.tourid.admin_signup_email}
  • {$details.tourid.upgradeurl}
  • {$details.tourid.upgradepost}
  • {$details.tourid.allowed_lang}
  • {$details.tourid.alternativeurl}
  • {$details.tourid.allowed_lang_track_raw}
  • {$details.tourid.allowed_lang_track_unq}
  • {$details.tourid.hidden}
  • {$details.tourid.mail_member_joined}
  • {$details.tourid.mail_member_cancelled}
  • {$details.tourid.mail_member_rebilled}
  • {$details.tourid.mail_member_credited}
  • {$details.tourid.mail_member_chargedback}
  • {$details.tourid.mail_member_insufficient}
  • {$details.tourid.mail_member_voided}
  • {$details.tourid.upgradedenyurl}
  • {$details.tourid.upgradedenypost}
  • {$details.tourid.prejoinpost}
  • {$details.tourid.byo_owner}
  • {$details.tourid.byo_program}
  • {$details.tourid.byo_owner_only}
  • {$details.tourid.deleted}
  • {$details.tourid.niche}
  • {$details.tourid.strack_programid}
  • {$details.tourid.mail_member_change}
  • {$details.tourid.change_detailspost}

details.billerid

The details.campaignid array holds information about the biller the member signed up under.

  • {$details.billerid.billerid}
  • {$details.billerid.networkid}
  • {$details.billerid.biller}
  • {$details.billerid.last_poll}
  • {$details.billerid.form_method}
  • {$details.billerid.deleted}

details.optionid

The details.campaignid array holds information about the join option the member signed up under.

  • {$details.optionid.optionid}
  • {$details.optionid.siteid}
  • {$details.optionid.networkid}
  • {$details.optionid.deleted}
  • {$details.optionid.enabled}
  • {$details.optionid.orderid}
  • {$details.optionid.option_type_id}
  • {$details.optionid.billerid}
  • {$details.optionid.programid}

details.countryid

If country information is available, you can also use the following variables in details.countryid array

  • {$details.countryid.short}
  • {$details.countryid.name}

affiliate details

When sending an email to an affiliate you should use the following variables to output their information:

  • {$username}
  • {$usr_access}
  • {$usr_type}
  • {$usr_us_w9}
  • {$verify}
  • {$verify_defaults}
  • {$verify_details}
  • {$verify_payvia}
  • {$verify_payvia_info}
  • {$verify_settings}
  • {$w9}
  • {$address1}
  • {$address2}
  • {$city}
  • {$company}
  • {$state}
  • {$status}
  • {$tax_id_or_ssn}
  • {$tel}
  • {$zip_code}
  • {$country}
  • {$email}
  • {$firstname}
  • {$flag1}
  • {$flag2}
  • {$flag3}
  • {$flag4}
  • {$flag5}
  • {$fullname}
  • {$icq}
  • {$url}
  • {$custom1}
  • {$custom2}
  • {$custom3}
  • {$custom4}
  • {$custom5}
  • {$date_posted}
  • {$default_account_campaign_count}
  • {$default_account_campaign_order}
  • {$default_account_changes_count}
  • {$default_account_changes_order}
  • {$default_account_view}
  • {$default_adtools_cat_1_type}
  • {$default_adtools_cat_2_type}
  • {$default_adtools_cat_3_type}
  • {$default_adtools_cat_4_type}
  • {$default_adtools_cat_5_type}
  • {$default_adtools_dump_field_1}
  • {$default_adtools_dump_field_2}
  • {$default_adtools_dump_field_3}
  • {$default_adtools_dump_field_4}
  • {$default_adtools_dump_field_5}
  • {$default_adtools_dump_field_6}
  • {$default_adtools_dump_field_7}
  • {$default_adtools_dump_field_8}
  • {$default_adtools_dump_record_end}
  • {$default_adtools_dump_separater}
  • {$default_adtools_publish_date}
  • {$default_adtools_publish_setting}
  • {$default_adtools_use_limits}
  • {$default_adtools_view}
  • {$default_campaign}
  • {$default_news_announcement_section}
  • {$default_news_count}
  • {$default_news_section}
  • {$default_program}
  • {$default_site}
  • {$default_stats_comp_data}
  • {$default_stats_date_range}
  • {$default_stats_large_map_data}
  • {$default_stats_limit_campaign}
  • {$default_stats_limit_program}
  • {$default_stats_limit_site}
  • {$default_stats_mixed_chart_1_data}
  • {$default_stats_mixed_chart_1_type}
  • {$default_stats_mixed_chart_2_data}
  • {$default_stats_mixed_chart_2_type}
  • {$default_stats_multi_graph_data_1}
  • {$default_stats_multi_graph_data_2}
  • {$default_stats_multi_graph_data_3}
  • {$default_stats_order} "2"
  • {$default_stats_pie_chart_1_break}
  • {$default_stats_pie_chart_1_data}
  • {$default_stats_pie_chart_2_break}
  • {$default_stats_pie_chart_2_data}
  • {$default_stats_pie_chart_3_break}
  • {$default_stats_pie_chart_3_data}
  • {$default_stats_pie_chart_4_break}
  • {$default_stats_pie_chart_4_data}
  • {$default_stats_pie_chart_5_break}
  • {$default_stats_pie_chart_5_data}
  • {$default_stats_small_map_1_data}
  • {$default_stats_small_map_2_data}
  • {$default_stats_table_column1}
  • {$default_stats_table_column2}
  • {$default_stats_table_column3}
  • {$default_stats_table_column4}
  • {$default_stats_table_column5}
  • {$default_stats_table_column6}
  • {$default_stats_table_column7}
  • {$default_stats_table_column8}
  • {$default_stats_table_column9}
  • {$default_stats_view}
  • {$deleted}
  • {$email_on_member_cancelled}
  • {$email_on_member_change}
  • {$email_on_member_chargeback}
  • {$email_on_member_credited}
  • {$email_on_member_insufficient}
  • {$email_on_member_joined}
  • {$email_on_member_rebilled}
  • {$email_on_member_voided}
  • {$email_on_notify}
  • {$email_promotional}
  • {$inhouse}
  • {$invoicer}
  • {$is_startpage}
  • {$join_date}
  • {$join_ip}
  • {$last_login}
  • {$last_login_ip}
  • {$lastname}
  • {$latest_news}
  • {$live_update_defaults}
  • {$loginform}
  • {$loginid}
  • {$mailok}
  • {$minimum_payout}
  • {$msn}
  • {$new_notification}
  • {$new_notification_count}
  • {$notify_defaults}
  • {$notify_details}
  • {$notify_member_cancelled}
  • {$notify_member_change}
  • {$notify_member_chargeback}
  • {$notify_member_credited}
  • {$notify_member_insufficient}
  • {$notify_member_joined}
  • {$notify_member_rebilled}
  • {$notify_member_voided}
  • {$notify_password}
  • {$notify_payvia}
  • {$notify_payvia_info}
  • {$notify_settings}
  • {$payout_approval}
  • {$payvia_type_id}
  • {$post_member_approval}
  • {$post_member_change_details}
  • {$post_member_chargeback}
  • {$post_member_credit}
  • {$post_member_expire}
  • {$post_member_insufficient_fund}
  • {$post_member_rebill}
  • {$post_member_upgrade}
  • {$post_member_upgradedeny}
  • {$post_member_void}
  • {$project_name}
  • {$pv_instant}
  • {$reason}
  • {$rep_baseline}
  • {$req_docs}
  • {$reseller_flags}
  • {$reviewed}
  • {$script}
  • {$select1}
  • {$select2}
  • {$select3}
  • {$select4}
  • {$select5}
  • {$skinid}
  • {$startpage}
  • {$trust_level}
  • {$type}
  • {$unencoded}