Gossamer Forum
Home : Products : Links 2.0 : Customization :

modify security script.

Quote Reply
modify security script.
My whole Links app works great now, with one little exception. The mod to secure modifications to listings by asking for ID, URL and email addy of link owner gives me an error that says "Unknown tag: Title", I can't find where that message is coming from or what is causing it...any advice?
Quote Reply
Re: modify security script. In reply to
Do you have a field called Title in your links.def file? If not, delete the field in the modify template files and insert the appropriate field tag.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: modify security script. In reply to
There is a Title in links.def, but there isn't anywhere in my form to log into the modification form, just 'LinkID' 'Current URL', and 'LinkContact', the 'Title' only shows up in the sendmail thing to confirm by email, and the success page of modifying. I get there error when trying to first log into the modifying section.
Quote Reply
Re: modify security script. In reply to
Well, you need to remove the <%Title%> tag input field in the modify_first.html file.

Then in the sub send_email routine in the modify.cgi file, you need to delete all the $in{'Field'} statements.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: modify security script. In reply to
they are at http://www.sonshinesecurity.org/gossamer/
thank you for the time, I really do appreciate it. I plug you on EVERY page of the site, whether it has a script of your or not.
Quote Reply
Re: modify security script. In reply to
I have no modify_first.html file, just modify.html, modify_error.html, and modify_success.html.
The sendmail I will look into tho.
Quote Reply
Re: modify security script. In reply to
Well then, I don't know what your problem is...

Good luck!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: modify security script. In reply to
Oh, i see there is a modify mod on your site that hasthe modify_first thing...thats not the one I am using, I found one from Bobsie at http://goodstuff.orphanage.com/links_mod.html and that is the one I am trying to use...
Quote Reply
Re: modify security script. In reply to
Since I really don't know what codes you are using...please save the following files as text files:

modify.html
modify_error.html
modify_success.html
site_html_templates.pl
modify.cgi

Then upload them to a publicly accessible directory in your web server (NOT FTP SERVER), and then provide the URL to these text files in this Topic.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: modify security script. In reply to
 
Quote:
I plug you on EVERY page of the site, whether it has a script of your or not.

You must be terribly confused...I am in no shape or form related to Gossamer Threads. I am a volunteer user who likes to help people improve their LINKS directories. I see no credit to "Eliot" or "Anthro TECH" anywhere in your web pages, so you must be refering to Gossamer Threads, which as I just stated...I do not work for them nor do I have any association with them (other than using their scripts).

Wink

I will take a look at your files later today.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: modify security script. In reply to
Well, since I am posting at gossamer-threads.com, it is a logical mistake (other than your handle giveaway I guess)...sorry
Quote Reply
Re: modify security script. In reply to
OK, Eliot, check again for credits:-)
Quote Reply
Re: modify security script. In reply to
Okay...I see your problem...

What you are missing is putting the fields that need to be modified in the modify.html file.

Look at Bobsie's Modify Form:

goodstuff.orphanage.com/cgi-bin/goodstuff/modify.cgi

See the difference between yours and his.

You need to add the following codes:

Code:
<p>Now enter the new information (all of it, not just the changes) below:</p>
<div class="margin">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td align="right" valign="top" class="bodymd">Title:</td>
<td><input name="Title" size="50"></td></tr>
<tr><td align="right" valign="top" class="bodymd">URL:</td>
<td><input name="URL" size="50"></td></tr>
<tr><td align="right" valign="top" class="bodymd">Category:</td>
<td><%Category%></td></tr>
<tr><td align="right" valign="top" class="bodymd">Description:</td>
<td><textarea wrap="virtual" name="Description" rows="3" cols="42"></textarea></td></tr>
<tr><td align="right" valign="top" class="bodymd">Contact Name:</td>
<td><input name="Contact Name" size="40"></td></tr>
<tr><td align="right" valign="top" class="bodymd">Contact Email:</td>
<td><input name="Contact Email" size="40"></td></tr>
<tr><td></td><td><input type="SUBMIT" value="Modify Resource"></td></tr>
</table>
</div>

AFTER the following codes:

Code:
<pre>
Link ID: <input name="LinkID" value="<%LinkID%>" size="8">
Link URL: <input name="Current URL" value="<%Current URL%>" size="30">
Contact Email: <input name="LinkContact" value="<%LinkContact%>" size="30">
</pre>

in the modify.html file.

Also, you only need one submit input statement (<input type="SUBMIT" value="Modify Resource"> ) in the modify.html and modify_error.html template files. Delete the first one in each of these files.

BTW: Thanks for the credit...although not necessary...I just wanted to point out before that I am not associated with Gossamer Threads.

But, thanks...I really do appreciate it.

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.




[This message has been edited by AnthroRules (edited April 17, 2000).]
Quote Reply
Re: modify security script. In reply to
Hey...it works...I read his page as that text REPLACES the form, then after a successful login you go to the form...

Thanks again Anthro
Quote Reply
Re: modify security script. In reply to
You're welcome.

If worse comes to worse, check out the Mod Author's web site and you may find the answers to your problems in their site.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.