NATS Affiliate Info in RSSDish

From TMM Wiki
Jump to navigationJump to search
RSSdish
Advanced Feeds
RSSDish HTML Templates
RSSDish Account Types
Feed Validation
NATS Affiliate Info in RSSDish
Adding RSS Feeds for NATS's Free Hosted Galleries

Note: You must be on NATS version 3.1.18.2 or higher

RSSdish can connect to NATS and get an affiliate's information. To get the information, you must include the affiliate's username or login ID number in the feed URL.

When you link to the feed in the NATS admin, you can use the following example:

http://myfeeds.com/rss/shortname?nats_enc={$enc_login}

You can then use the following variables available in your RSSdish feeds:

  • {$nats_username} - The username of the reseller with this link
  • {$nats_loginid} - The loginid of the reseller with this link

When you build your connections to the NATS tables in the dynamic feeds, use conditional statements like this:

loginid Equal to {if $nats_loginid}{$nats_loginid}{else}-1{/if}

The above statement checks for a proper nats_enc; if present, the affiliate can to access their information from NATS; if not present, they won't get any data. This link type is also necessary if you are providing links directly to the NATS admin areas.

Send a link directly to the NATS admin using the following example.

http://example.com/members.php?enc_login={$nats_enc}

Replace example.com with your Link Domain.