NATS4 Affiliate Signup Email

From TMM Wiki
Revision as of 11:54, 18 December 2008 by Trinidadr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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
Skins and Templates Admin
The Skins and Templates Admin
Skins
Templates
Site Templates
Language Skins
Language Files
custom_errors.php
Join Page Variables
Skipping NATS Join Form
Post URL Variables
Member Usernames & Passwords
Form Validation
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Random Usernames and Passwords
Smarty
Smarty print array
Smarty Plugins
Available Smarty Functions
Affiliate Support Template
Adding a Verification Image
Custom Program and Campaign Selection Pages
Output An Affiliate's Last Paid Date
Affiliate Signup Email
Affiliate Join Page Linkcodes
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
CSS Theme Builder
NATS Configuration Admin
The Configuration Admin
Log Admin Activity
IP Address Filtering
MEMBER_EXPIRE_PAD
SKIP COUNTRIES
Fraud Configuration
Email Configuration
Affiliate Signup Email
Affiliate Postback
Affiliate Postback NEW
Affiliate Analytics
Throttling
NATS4 Terms of Service feature
GeoIP2

To send email to affiliates when they sign-up, go to the Configuration Admin and fill in the following three fields:

  • EMAIL_FROM_OWNER -- your email address
  • EMAIL_AFFILIATE_SIGNUP -- the subject of your sign-up email

Change the message sent to affiliates by editing the mail_affiliate_signup template in the Skins and Templates Admin.

Geo-Targeting Signup Emails

You can send an email to affiliates from only one country by geo-targetting the mail_reseller_signup template.

Put an if statement around the activation link in the template. For example, to only send signup emails to U.S. affiliates, use the following code:

{if $affiliate.country == 'US'}
<a href="http://linkdomain/signup_verify.php?lid={$memberid}&verify={$verify}">Activate</a>
{/if}

Replace linkdomain with your linkdomain.

Test Emails

If you send a test email to yourself, some parts may be missing. This happens to you because you don't have all of the usual affiliate variables assigned. For example, you don't have a Trail Setting, Site ID, Site Name, Site URL, or any Rebills. Don't worry: these fields will be filled in on real affiliate emails.