Gossamer Forum
Home : Products : Links 2.0 : Customization :

Security Mod for modifying error....

Quote Reply
Security Mod for modifying error....
Hi,
I searched the forum on this topic, but the posts I found didn't help the problem I'm having. I installed the User-Friendly Security mod thing in the resource section.
Everthing works fine, except on the modify success page it says this:

Unkown Tag: Current URL
Could you please me how to fix it? Thanks.
Also, I'm installing the frames mod from http://www.movie-maker.net/step,
but I've read posts that say it's not very good. Is there a better mod than that, that loads the links in frames?
Thanks.

George.
Quote Reply
Re: Security Mod for modifying error.... In reply to
Take out this tag in the modify_success.html page. You should be using <%URL%>.

That frame mod is really bad IMHO...Search the forum for frameset as I have suggested before.

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 May 02, 2000).]
Quote Reply
Re: Security Mod for modifying error.... In reply to
Hi,
the tag Current URL is not in the modify_success.html template. I am using
<%URL%>. Current URL is also not in the modify.html or the modify_first.html templates, or site_html_templates.pl.
Quote Reply
Re: Security Mod for modifying error.... In reply to
Then where are you experiencing this problem?

I am confused...sorry.

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: Security Mod for modifying error.... In reply to
Hi,
the problem I'm having is somewhere in the modify_success page.
Try going to http://awesomesites.hypermart.net/cgi-bin/tabs/modify.cgi.
Use id number 5, and password: test.
All the info appears correctly, but when you modify something and press the submit button, an error occurs.

This is the modify_success.html template i'm currently using:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>

<head>
<title><%site_title%>: Resource Modified</title>
<link rel=stylesheet href="<%css%>" type="text/css" title="style sheet">
</head>

<body>

<h1><%site_title%>: Resource Modified</h1>


<p><small class="menu">|
<a class="menulink" href="<%build_root_url%>">Home</a> |
<a class="menulink" href="<%db_cgi_url%>/add.cgi">Add a Resource</a> |
<a class="menulink" href="<%db_cgi_url%>/modify.cgi">Modify a Resource</a> |
<a class="menulink" href="<%build_root_url%>/New">What's New</a> |
<a class="menulink" href="<%build_root_url%>/Cool">What's Cool</a> |
<a class="menulink" href="<%build_root_url%>/Ratings">Top Rated</a> |
<a class="menulink" href="<%db_cgi_url%>/subscribe.cgi">Email Updates</a> |
<a class="menulink" href="<%db_cgi_url%>/jump.cgi?ID=random">Random Link</a> |
<a class="menulink" href="<%db_cgi_url%>/search.cgi">Search</a> |
</small></p>


<p>We have received the following link:</p>
<pre> Title: <%Title%>
URL: <%URL%>
Description: <%Description%>
Contact Name: <%Contact Name%>
Contact Email: <%Contact Email%>
Category: <%Category%>
</pre>

<p>Thank you! We will send you an email once your record has been validated.</p>

<form action="<%db_cgi_url%>/search.cgi" method="GET">
<h2>Search</h2>
<div class="margin">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><strong class="search">Looking for something in particular?</strong></td></tr>
<tr><td><input type="text" size=15 name="query"> <input type=submit value="Search!"></td></tr>
<tr><td><small class="more"><a href="<%db_cgi_url%>/search.cgi">More search options</a></small></td></tr>
</table>
</div>
</form>

<p><small class="update">Pages Updated On: <%date%> - <%time%><br>
Links Engine Powered By: <a href="http://www.gossamer-threads.com/">Gossamer Threads Inc.</a></small></p>
</body>
</html>

I can't figure out what the problem is.
If there's no solution, could you please give me the script you're using on your site?
The one I'm using (from the resource center) is a different one i thinks.

Thanks!

George
Quote Reply
Re: Security Mod for modifying error.... In reply to
!
Quote Reply
Re: Security Mod for modifying error.... In reply to
I don't either...and sorry, I cannot send you my modified scripts because I have hacked it to the point that novice users would have a heck of a time getting it to work to fit their site.

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: Security Mod for modifying error.... In reply to
Hi,
It turns out I just got it working anyway. Sorry for bothering you. I changed a bit of the code in site_html_templates.pl that didn't look right. I was kinda just guessing, but it worked out. It had nothing to do with the error message: Unkown Tag: Current URL that I kept getting, I don't know what that was all about....

Thanks.

George.
Quote Reply
Re: Security Mod for modifying error.... In reply to
Good...glad you figured it out.

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.