When I add a site and then rebuild, I do not receive an email that contains the information I added plus ID number, etc. The information gets added to the database and I am able to view the new listing, but no email to confirm that it has been added to the database.
Dec 1, 2000, 3:27 PM
Novice (32 posts)
Dec 1, 2000, 3:27 PM
Post #4 of 9
Views: 2295
Hello...
In your email_add.txt file (or any of the others) just add a field like this:
Thank you for visiting our site. We've added the following link into
our directory:
URL : <%URL%>
Category : <%Category%>
Description : <%Description%>
Contact Name : <%Contact Name%>
Contact Email: <%Contact Email%>
ID # : <%ID%>
You can see your new listing at:Just add the tag <%ID%> and the script will parse it for you.
Hope this helps!
Jeremy Kerr
------------------------------
http://www.indianawebsites.com
In your email_add.txt file (or any of the others) just add a field like this:
Thank you for visiting our site. We've added the following link into
our directory:
Code:
Title : <%Title%> URL : <%URL%>
Category : <%Category%>
Description : <%Description%>
Contact Name : <%Contact Name%>
Contact Email: <%Contact Email%>
ID # : <%ID%>
You can see your new listing at:
Hope this helps!
Jeremy Kerr
------------------------------
http://www.indianawebsites.com
Dec 1, 2000, 4:17 PM
Novice (39 posts)
Dec 1, 2000, 4:17 PM
Post #5 of 9
Views: 2287
Hi Jeremy,
I added the ID tag to my email_add.txt file but when I received the email after validation, the email says 'Unknown Tag: Category'. Here is my email_add.txt:
Thank you for visiting our site. We've added the following link into
our directory:
Title : <%Title%>
URL : <%URL%>
Category : <%Category%>
Description : <%Description%>
Contact Name : <%Contact Name%>
Contact Email: <%Contact Email%>
ID # : <%ID%>
Please save this information in order to make future modifications to your link submission.
You can see your new listing at:
For some reason, the script is not recognizing the ID tag...
I added the ID tag to my email_add.txt file but when I received the email after validation, the email says 'Unknown Tag: Category'. Here is my email_add.txt:
Thank you for visiting our site. We've added the following link into
our directory:
Title : <%Title%>
URL : <%URL%>
Category : <%Category%>
Description : <%Description%>
Contact Name : <%Contact Name%>
Contact Email: <%Contact Email%>
ID # : <%ID%>
Please save this information in order to make future modifications to your link submission.
You can see your new listing at:
For some reason, the script is not recognizing the ID tag...
Dec 2, 2000, 8:52 AM
Novice (39 posts)
Dec 2, 2000, 8:52 AM
Post #7 of 9
Views: 2279
Yes, there is that field. Here is what I have in my link.drf file:
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 40, 75, 1, '', ''],
URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],
Date => [3, 'date', 15, 15, 1, \&get_date, ''],
Category => [4, 'alpha', 0, 150, 1, '', ''],
Description => [5, 'alpha', '40x3', 500, 0, '', ''],
'Contact Name' => [6, 'alpha', 40, 75, 1, '', ''],
'Contact Email' => [7, 'alpha', 40, 75, 1, '', '.+@.+\..+'],
Hits => [8, 'numer', 10, 10, 1, '0', '\d+'],
isNew => [9, 'alpha', 0, 5, 0, 'No', ''],
isPopular => [10, 'alpha', 0, 5, 0, 'No', ''],
Rating => [11, 'numer', 10, 10, 1, 0, '^[\d\.]+$'],
Votes => [12, 'numer', 10, 10, 1, 0, '^\d+$'],
ReceiveMail => [13, 'alpha', 10, 10, 1, 'Yes', 'No|Yes']
);
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 40, 75, 1, '', ''],
URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],
Date => [3, 'date', 15, 15, 1, \&get_date, ''],
Category => [4, 'alpha', 0, 150, 1, '', ''],
Description => [5, 'alpha', '40x3', 500, 0, '', ''],
'Contact Name' => [6, 'alpha', 40, 75, 1, '', ''],
'Contact Email' => [7, 'alpha', 40, 75, 1, '', '.+@.+\..+'],
Hits => [8, 'numer', 10, 10, 1, '0', '\d+'],
isNew => [9, 'alpha', 0, 5, 0, 'No', ''],
isPopular => [10, 'alpha', 0, 5, 0, 'No', ''],
Rating => [11, 'numer', 10, 10, 1, 0, '^[\d\.]+$'],
Votes => [12, 'numer', 10, 10, 1, 0, '^\d+$'],
ReceiveMail => [13, 'alpha', 10, 10, 1, 'Yes', 'No|Yes']
);