Too Much Media Knowledge Base
Find anything you need to know about NATS and other TMM products right here.
  Please check out our
Visual Knowledge Base
Glossary   
Search  
   
Browse by Category
Too Much Media Knowledge Base .: NATS .: Programming for and Extending NATS

Programming for and Extending NATS

Information for anyone who wants to write addons to NATS or needs related information.

Subcategories

category Smarty Variables (2)
Information on smarty variables available to nats templates
category The NATS API (10)
NATS v2.0 now comes with a full extension API to easily add your own features to NATS. This fast growing section explains many ways to extend the system


Articles

article Adding new sections to NATS.
Sometimes you might be in need of adding a section to either the NATS reseller area or even to the admin. The two code snippets below show you...

(No rating)  02-10-2005    Views: 8618   
article Apache 2.0 / .htaccess change
Most .htaccess files are set with these lines:<Files track>SetHandler application/x-httpd-php</Files>For some apache 2.0 installs you...

(No rating)  03-23-2005    Views: 2513   
article Can I add stats to the members pages?
You can use quick_stats.php to add stats to a page in your system. This is included with your system but you'll have to set up a script to call...

  06-01-2005    Views: 7282   
article Creating custom program and campaign selection pages
When adding new pages to your NATS it may be necessary to allow people to select a program, campaign and site and provide the corresponding NATS...

(No rating)  02-23-2007    Views: 2935   
article Fixing a missing captcha image
Please check that your server has both GD and Freetype2 installed and that GD has freetype support.  This is the most common cause of a broken...

(No rating)  04-14-2006    Views: 3828   
article Fixing the Admin Overview graphs
If your graphs are missing from the top of your Admin overview page follow these steps to troubleshoot.Right click on the red X and select...

(No rating)  04-14-2006    Views: 3142   
article General coding guidelines.
For security reasons all input variables coming from surfers ($_REQUEST, $_GET, $_POST, $_COOKIE) are HTML Entity encoded. This means all...

(No rating)  05-30-2005    Views: 3237   
article How can I add qualified clicks columns to stats pages?
Just add the column to members_stats template using the NATS Skins & Templates admin.  The variables are already available. Use...

  04-24-2005    Views: 4727   
article How can I tell from a database query that a member is a trial or full member?
In the members table there's a field called trial. If the value=0 then they're not in trial; value=1 if they are.

(No rating)  07-11-2005    Views: 5592   
article How do I Authenticate my resellers outside of NATS?
The reseller passwords are encrypted in the NATS database to ensure the security of your NATS admin and data. We have setup a script that you...

(No rating)  04-27-2007    Views: 2541   
article How do I make my pages PHP parsable?
In your server's httpd.conf file look for this line:AddType application/x-httpd-php At the end you add .php .php3 .html .htm and this...

  04-08-2005    Views: 3769   
article How long does the Reseller Cookie last?
The default cookie holding reseller identification is stored for 10 days. You can change that setting by editing config.php in nats/includes and...

  02-15-2005    Views: 11487   
article I still see signup.php?nats= in my links; Whats wrong?
The page is probably not PHP parsable.  If the page is not being read as php then it won't translate the php into nats code.  This is a setting in...

  04-09-2005    Views: 5521   
article Is there a global smarty variable which holds all programs the reseller is enrolled in?
No, currently there is no such variable. The $programs variable listed in members.tpl only works on that template.

(No rating)  05-11-2005    Views: 2279   
article My link codes are going to my NATS install; not the paysite.
This can be caused by a few things, the most common of which being the site is not following symlinks.  Try adding the lines in red to your NATS...

  04-08-2005    Views: 4697   
article NATS Directory Structure
The directories listed below hold data that might interest to you.www - Holds the actual scripts in charge for doing anything NATS does. This is...

(No rating)  02-10-2005    Views: 5259   
article Protecting certain data in templates.
NATS allows you to protect certain aspects of the NATS Admin through the Resellers Admin access settings. All of them are built into NATS directly...

(No rating)  08-08-2005    Views: 3705   
article Registering Sales from Shopping Carts
This is a NATS v2 feature!NATS can register a sale from a shopping cart by using the process_shop.php script located in /signup/. To use it you...

  04-26-2005    Views: 4020   
article What is the difference between $config['COOKIE_EXPIRE'] and $config['NATS_COOKIE_EXPIRE']?
$config['COOKIE_EXPIRE'] sets the timeout of the unique-cookie. A surfer is treated as unique if he does not have this cookie set. The cookie by...

(No rating)  04-22-2005    Views: 4870   


.: Powered by Lore 1.5.4
Copyright (c) 2004-2005 by Too Much Media LLC