Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Please send admin/email-val.txt template file

Quote Reply
Please send admin/email-val.txt template file
In order to get the spider plugin working, Aki from GT upgraded my Links SQL to the latest version. The latest "bug" I have found is that people can't add links anymore because a template file is missing:

/admin/templates/admin/email-val.txt

I guess the previous version didn't use this template, so it was not transferred over in the upgrade. Can someone please send me this template file so I can get my search submissions up and running again?

Thx



Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com
Quote Reply
Re: Please send admin/email-val.txt template file In reply to
Your version is beyond what I have.

I have "email-validate.txt" but not "email-val.txt".



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Please send admin/email-val.txt template file In reply to
I actually have email-validate.txt as well, but this template serves a different purpose. email-validate.txt is the e-mail sent out to validate a user registration, and it is located in the default template folder.

email-val.txt is grabbed from the admin folder, and it appears to be responsible for the e-mail that is sent out to the admin when a new link is added. So, right now instead of getting a notice mailed to me, the user sees the error message and tries submitting several times. =P I assume that previous versions of the script did not have this template and it was all done in the add.cgi file. Guess I will poke around in there to see what I can find.

I guess all I really need is the syntax/variables I should be using for email-val.txt and I could make it myself, unless someone has a copy...

Thx



Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com
Quote Reply
Re: Please send admin/email-val.txt template file In reply to
I managed to figure out how to create the email-val.txt template by looking at my old copy of add.cgi, where the template is hardcoded into the script. The problem is that I had to guess on some of the variables because the script doesn't use the exact template code. I have "almost" completed the template, the only thing that is not working is the validate URL - I haven't been able to figure out what to use. Here is the complete template that I am using:

--------
The following link is awaiting validation:

Title: <%Title%>
URL: <%URL%>
Category: <%Category%>
Description: <%Description%>
Contact Name: <%Contact_Name%>
Contact Email: <%Contact_Email%>

Remote Host: <%Host%>
Referer: <%Referer%>

To validate, please go to:
<%db_cgi_url%>/admin.cgi <== what should this be?

Sincerely,

Links Manager.
--------

It is weird, I assumed that <%db_cgi_url%> would work, since I found it in other templates, but I get an unknown tag error. I also tried <%admin_root_url%> and that doesn't work either. Any ideas?

Thx



Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com
Quote Reply
Re: Please send admin/email-val.txt template file In reply to
<%if isValidated eq 'Yes'%>To remove, please go to::<%else%>To validate, please go to:<%endif%>
<%cfg_admin_root_url%>/admin.cgi


Quote Reply
Re: Please send admin/email-val.txt template file In reply to
Thanks, <%cfg_admin_root_url%> did the trick!

Rob


Rob Bartlett
AAA Internet Publishing, Inc.
http://www.AAAInternet.com