Global Settings
Overview
The Global Settings dialog allows you to configure the software settings. Each of the available settings is described below.
Base Settings
-
Site Name - The name of your website
Traffic URL - The URL where your trades should send their traffic. This page must include the incoming stats tracking code.
SFTrade URL - The full HTTP URL to the base directory of your SFTrade installation
Cookie Domain - The domain name to use when setting authentication and other cookies for users. This must contain the domain name on which the software is installed.
Cookie Path - The directory path to use when setting authentication and other cookies for users. This must at least include the directory in which SFTrade is installed
Passphrase - Any phrase of characters that you like. Used for generating cookie signatures, so do not share this value with anyone
Date Format - A string that specifies the format to use for date values
Time Format - A string that specifies the format to use for time values
-
Session Storage - File system or redis. Redis is more faster way to save user sessions. You can setup redis connect using TCP host:port and by UNIX socket (For socket redis connect you need set path to socket (Example:/tmp/redis.sock) in host field herewith insert "sock" flag to port field.)
-
E-mail Address - Enter the e-mail address that will be used for the From address of all messages sent by SFTrade
E-mail Name - Enter the name that will appear in user's e-mail programs for e-mail messages sent by SFTrade
E-mail Method - Select the method to use for sending e-mail messages. In most cases the PHP mail() function should work fine. If it does not, contact your server administrator to see which method they recommend
Sendmail Path - If you are using Sendmail for the E-mail Method, enter the full directory path and filename of the sendmail executable on your server.
SMTP Hostname - If using SMTP, enter the hostname of the SMTP server
SMTP Port - If using SMTP, enter the port on which the SMTP server is listening
Use SSL - Check this if your SMTP server requires an SSL encrypted connection
SMTP Username - If using SMTP and the SMTP server requires a username and password, enter the username here
SMTP Password - If using SMTP and the SMTP server requires a username and password, enter the password here
SFTrade supports the use of verification codes displayed as images, otherwise known as a CAPTCHA. Use these settings to configure the
strings that will appear on the CAPTCHA images on the trade account registration form.
Thumbnail Grabber Settings
-
String Length - The minimum and maximum number of characters to use for CAPTCHA codes. Note that this does not
apply if you are using the words file for CAPTCHA codes.
Use Words - Use the assets/captcha-words.txt file as the source for values displayed as CAPTCHA codes.
The thumbnail grabber can be used to fetch thumbnail images from your trades. To have the thumbnails automatically updated
you will need to configure a cron task to run at a set time interval.
Registration & Account Settings
-
# to Grab - The number of thumbnails to grab from each trade
Trigger Strings - A comma separated list of strings that should be searched for in the src attribute of <img> tags
Minimum Dimensions - The minimum image size that should be considered a valid thumbnail to grab
Maximum Dimensions - The maximum image size that should be considered a valid thumbnail to grab
mogrify Path - The full directory path to the ImageMagick mogrify program on your server.
mogrify Options - The comand line options to pass to the mogrify command
Resize Dimensions - The dimensions to use when resizing the grabbed thumbnails
-
Accepting new - Check this to allow new trades to signup through the end-user registration form
Use CAPTCHA - Check this to require that users enter a CAPTCHA verification code on the registration form
Allow login - Check this to allow your traders to login and view their stats
Site Name Length - Enter the minimum and maximum allowed site name length
Site Description Length - Enter the minimum and maximum allowed site description length
Required Fields - Check the fields that are required on the registration form
Bonuses can be given to trades that meet certain criteria, and this section allows you to configure those bonuses. The Modifier percentage tells the script the amount
of bonus to apply. To give no bonus for a specific modifier, use 100%.
Points Modifiers - Penalties
-
Good Productivity -
This will give a points bonus to trades who's productivity falls within the range that you specify.
Good % of Uniques - This will give a points bonus to trades who's percentage of incoming uniques falls within the range that you specify.
Low Return % - This will give a points bonus to trades who's return percentage is within the range that you specify.
Penalties can be given to trades that meet certain criteria, and this section allows you to configure those penalties. The Modifier percentage tells the script the amount
of penalty to apply. To give no penalty for a specific modifier, use 100%.
Traffic Distribution
-
Proxy % -
This will give a points penalty to trades who's percentage of incoming proxies falls outside of the range that you specify.
Unique % - This will give a points penalty to trades who's percentage of incoming uniques falls outside of the range that you specify.
High Return % - This will give a points penalty to trades who's return percentage falls outside of the range that you specify.
Use these settings to configure how much of your outgoing trade traffic should go to each of outlists. These values must total 100%
Other Settings
-
Forces - The percentage to give to any set forces. If no forces are set, this will be combined with Main
Main - The percentage to give to trades in the Main outlist
Primary Bonus - The percentage to give to trades in the Primary Bonus outlist
Secondary Bonus - The percentage to give to trades in the Secondary Bonus outlist
-
Trades Satisfied URL - The URL that surfers will be sent to once all trades have been visited
Count Clicks - The maximum number of clicks to count from an individual surfer. After this amount, additional clicks will be tallied in the not-counted system trade.
Fast Click - Enter the number of seconds (this can be fractional) that must elapse between clicks in order for them to not be considered fast clicks.
Filter image.php - Check this box if you want to filter users that do not load the image.php script. This will require adding an <img> tag to your Traffic URL page that loads the image.php script. For example:
Autostop Interval - Enter the number of hours that a trade is allowed before it will start being checked against it's autostop rules (Min Raws, Min Clicks, and Min Prod). This interval will reset any time a trade has it's stats reset or it is re-enabled after being disabled or autostopped.
Toplist Build Invterval - Enter the number of minutes between updates of your toplists