"Slots" allow you to have as many types of information as you wish. Each "slot" is a part of the subscriber information line in subscribers.txt. So as to prevent any confusion, here is the breakdown of what each line in subscribers.txt looks like and what each field is:
email :: unsubscribe code :: 0/1 (HTML no/yes) :: Name :: Address1 :: Address2 :: Country :: Phone Number :: TIME and DATE of subscription :: Slot1 :: Slot2 :: Slot3
Let's say you wanted to know the title (Mr., Mrs., Dr., etc.) of each subscriber. Here is what you would have to do:
The name of the slot is also the code that you will insert into outgoing emails, just like the <UNSUBSCRIBE_LINK> code.
- Log in to NP Subscriber PRO, and go to "Add Slots."
- In the field, type in "user_title" and submit the form.
- Create a subscription form (manually or with the form generator) that includes the following tag:
<input type="text" name="user_title"> (or a drop-down menu)
- You are now set. Each subscriber will now be able to include his/her title.
It's important to remember that slots are universal! Meaning, you don't define info fields for each list individually. It is like this to prevent any problems with multi-list subscriptions. Plus, chances are that you're going to collect the same info regardless of the list.
IMPORTANT: It's strongly recommend that you don't assign a slot name that also happens to be an HTML tag. In the example above, notice I didn't use "title." This is because if you are wanting to include the tag <title> in an outgoing message, you're bound to encounter a problem. Why? Because <title> is an HTML tag. So, for example, if you go to preview the message (or look at the archive), the HTML will most likely stop as soon as the first <title> tag (after the actual <TITLE> in the header) is encountered. Some browser may vary, but as a general rule, avoid HTML tags as slot names.
If you are using SQL, then you must also specify what kind of data types each slot is. Varchar(100) is used by default, but you can specify something else when adding slots or when you first convert an exisiting installation.
Back to Index