NATS4 Configuration Admin

From TMM Wiki
Revision as of 13:45, 9 October 2009 by Tmmdavid (talk | contribs)
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
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

The Configuration Admin lets you manage your NATS configuration.

The Configuration Admin

The NATS configuration admin works in conjunction with the NATS configuration file. The configuration file is stored in the NATS directory on your server as includes/config.php.

Several tabs let you find configuration options:

  • The Home options are the primary NATS settings. Some options can't be edited; if you need these options changed, please submit a ticket
  • The Security options configure who can access secure areas of your NATS program. Be careful editing these settings: you can easily lock yourself out
  • The Email options tell NATS when to send emails. NATS only sends email if you enter a subject in any of the fields
  • The Currency options change the exchange rate or how currency is displayed.
  • The Cronjobs options change how NATS does scheduled tasks
  • The Logging options change what NATS logs

For a description of important options, please see the Configuration Options article.

Configuration Options

You'll find the following settings in the NATS Configuration Admin.

PROJECT_HOSTNAME

Your program's domain. If you change this, you should setup an Apache virtual host for the hold value so that your old links continue to work. Warning: setting this to a bad value will break NATS.

PAYOUT_AUTOSTORE

Stores payment dumps immediately after they are formed. You can find the payment dump in the Payments Admin in the Stored Payments section. This feature prevents forgetting to mark dumps as paid.

PAYOUT_PERIOD

Sets which days end a Period. At the end of a period, NATS makes a payment dump. The value can be days of the month (e.x 1, 15, or 30) or days of the week (w1 is Monday, w2 is Tuesday, etc...) The default value is the 1st and the 16th of the month. If you want this value changed, please contact support.

PAYOUT_DELAYED

Tells the system the number of pay periods to wait for before generating a payment dump. The default value is 0. If you want this value changed, please contact support.

TMM_PRODUCT_CODE

Identify your system for the auto license update. If you change or removed this without contacting TMM first, the license update will fail and you will need to put it on the server manually.

PROJECT_NAME / NICE_NAME

Used on various NATS templates to print the name of your NATS. For example: NICE_NAME is used to name the news section on members.php. You can change these to anything.

Currency Rates

Sets the currency exchange rates for common currencies. You may enter as many numbers after the decimal places as you want.

Warning: these rates do not auto update.

  • RATE_CAD_TO_USD is the Exchange Rate for Canadian dollars to USD (1 CAD = X USD)
  • RATE_EUR_TO_USD is the Exchange Rate for Euros to USD (1 EUR = X USD)
  • RATE_GBP_TO_USD is the Exchange Rate for British Pounds to USD (1 GBP = X USD)
  • RATE_NOK_TO_USD is the Exchange Rate for Norwegian Kroner to USD (1 NOK = X USD)
  • RATE_SEK_TO_USD is the Exchange Rate for Swedish Kronor to USD (1 SEK = X USD)
  • RATE_DKK_TO_USD is the Exchange Rate for Danish Kroner to USD (1 DKK = X USD)
  • RATE_CHF_TO_USD is the Exchange Rate for Swiss Francs to USD (1 CHF = X USD)
  • RATE_JPY_TO_USD is the Exchange Rate for Japanese Yen to USD (1 JPY = X USD)

FORCE_PV_MIN

If FORCE_PV_MIN is checked in the Configuration Admin, NATS checks the affiliate's desired payout, and if it is less than the payvia minimum, NATS uses the payvia minimum instead of the affiliate's payout when storing payments.

UPDATE_PV_MIN

If UPDATE_PV_MIN is checked in the Configuration Admin, NATS checks the affiliate's desired payout, and if it is less than the payvia minimum, NATS changes the affiliate's desired payout to the payvia minimum.

Surfer Tab

==MEMBER_GET_NEW_USERNAME== -- this feature is available in versions >= NATS 4.0.68.1 Allow the display of recommended usernames. There are 9 options

  1. 0 Only unique within site -- this is the default setting in NATS.
  2. 1 Unique across all sites -- NATS checks all sites for this username, instead of just the current site.
  3. 2 Xsells -- Only Xsell members must be unique across all sites. Members joining through the nats join form need only be unique within their site
  4. 3 Join Form -- Only members using the NATS join form must be unique across all sites. Members joining through an xsell need only be unique within their site
  5. 4 Join Form (allow matching emails), Xsells -- A member using the join form can join a second site if both the usernames and emails match. If just the username matches, it is not allowed. Members joining as an xsell MUST have a unique username.
  6. 5 Xsells (allow matching emails), Join Form -- A member joining as an xsell can join a second site if both the usernames and emails match. If just the username matches, it is not allowed. Members joining on the join form MUST have a unique username.
  7. 6 Join Form (allow matching emails) -- A member using the join form can join a second site if both the usernames and emails match. If just the username matches, it is not allowed. Members joining as an xsell need only be unique within their site.
  8. 7 Xsells (allow matching emails) -- A member joining as an xsell can join a second site if both the usernames and emails match. If just the username matches, it is not allowed. Members joining on the join form need only be unique within their site