Difference between revisions of "SKIP COUNTRIES"

From TMM Wiki
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{NATS4 Manual
 
{{NATS4 Manual
| show_extras_section = true
+
| show_configuration_admin_section = true
 
}}
 
}}
  
In order to remove countries countries from the drop down on the join forms you need to create $config['SKIP_COUNTRIES'] array in the nats/includes/config_override.php fileThe values need to be 2 letter country codes.  The following example removes Afghanistan and Albania from the list
+
You can easily remove countries from the list that appears on your affiliate signup and member join pagesThere are two configs for this, view them in the  
  
$config['SKIP_COUNTRIES'] = Array(
+
Configuration Admin --> Surfer --> Signup Form.
  "0" => "AF",
+
 
  "1" => "AL");
+
[[File:SkipCountries.png]]
 +
 
 +
*'''SKIP_COUNTRIES''' - Enter a comma delimited list of two letter codes for countries you do '''NOT''' want on your ''Member join form''. Leave empty to show all.
 +
*'''AFFILIATE_SKIP_COUNTRIES''' - Enter a comma delimited list of two letter codes for countries you do '''NOT''' want on your ''signup form''. Leave empty to show all.

Latest revision as of 12:52, 28 October 2015

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
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

You can easily remove countries from the list that appears on your affiliate signup and member join pages. There are two configs for this, view them in the

Configuration Admin --> Surfer --> Signup Form.

SkipCountries.png

  • SKIP_COUNTRIES - Enter a comma delimited list of two letter codes for countries you do NOT want on your Member join form. Leave empty to show all.
  • AFFILIATE_SKIP_COUNTRIES - Enter a comma delimited list of two letter codes for countries you do NOT want on your signup form. Leave empty to show all.