Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Been Trying for a month now! =(

Quote Reply
Been Trying for a month now! =(
Hello,
I've been trying for a month now to get my "Add Url" page to work. Here is the html for the Add URL template and the html page it creates. When you enter all the info, the page just refreshes when you hit "Add Resource" dosn't do anything else. Please help if you can, thanks!!!

Template:
<html>
<head><title><%site_title%> : Add a Resource</title>
</head>
<body>
<table border=0 width="100%" cellspacing=0 cellpadding=0>
<tr><td valign=middle width="1%">
<a href="<%build_root_url%>"><font face="Arial" size="2"><img src="<%logos%>" alt="<%site_title%>" border=0></font></A>
</td><td valign=middle>
<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
<td align=left valign=bottom></td>
<td align=right valign=bottom><font size="2" face="Arial"><A href="<%build_root_url%>">Home</A> -
</font>
<a href="<%db_cgi_url%>/search.cgi"><font face="Arial" size="2">Search Options</font></a>
</td></tr></table>
<hr size=1 noshade>
</td></tr></table>
<table border=0 hspace=4 cellspacing=2 width="100%" cellpadding=3>
<tr><td>
<a href="<%build_root_url%>">
<font face="Arial" size=2><%site_title%></a> : Add a Resource</font>
</td></tr>
<tr bgcolor="<%color1%>">
<td width="100%"><nobr><b><font face="Arial" size="2">Add a Resource</font></b></nobr></td>
</tr>
</table>
<p align="center">
<font face="Arial" size="4">You Can Add An Advertisement Here!</font>
</p>
<table border=0 width="100%"><tr>
<td align=center valign=middle bgcolor="<%color5%>" width="33%">
<table bgcolor="<%color4%>" border="0" width="100%"><tr><td align=right width="20%"> <p align="left"> </p></td>
<td align=right width="80%">
<p align="left"><font face="Arial" size="2">|
<a class="menulink" href="<%build_root_url%>">Home</a> |
Add a Site |
<a class="menulink" href="<%db_cgi_url%>/modify.cgi">Modify a Site</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="<%db_cgi_url%>/jump.cgi?ID=random">Random Link</a> |
<a class="menulink" href="<%db_cgi_url%>/search.cgi">Search</a> | </font></td>
</tr></table>
</td>
</tr></table>
<table cellpadding=1 cellspacing=0 align=right border=0><tr><td>
<table border=0 bgcolor="<%color6%>" cellpadding=1 cellspacing=0 hspace=2 vspace=2 width=100><tr><td>
<table border=0 cellpadding=2 cellspacing=0 width="100%">
</table>
</td></tr></table>
<table border=0 bgcolor="<%color7%>" cellpadding=1 cellspacing=0 hspace=2 vspace=2 width=100><tr><td><table border=0 cellpadding=2 cellspacing=0 width="100%"><tr><td align=center bgcolor="<%color4%>" colspan=2><b><font face=arial size=2>Inside <%site_title%></font></b><p><font face="Arial" size="2"><a href="<%special_url1%>"><%special1%></a><br></font><small><hr size=0 width=85%></small><font face="Arial" size="2"><a href="<%special_url2%>"><%special2%></a><br></font><small><hr size=0 width=85%></small><font face="Arial" size="2"><a href="<%special_url3%>"><%special3%></a><br></font><small><hr size=0 width=85%></small><font face="Arial" size="2"><a href="<%special_url4%>"><%special4%></a></font></td></tr></table></td></tr></tab le></td>
</tr></table>
<form action="<%db_cgi_url%>/search.cgi" method="GET">
<table border=0><tr><td>
<font face="Arial" size="2">
<input type="text" size=30 name="query"> <input type=submit value=Search>
</font>
</td></tr></table>
</form>
<table border=0 cellpadding=0 width="80%">
<form action="<%db_cgi_url%>/add.cgi" method="POST">
</table>
<p><font face="Arial" size="2">Please fill out the form completely, and we'll add your resource as soon as possible.</font></p>
<div class="margin">
<table border ="0" cellspacing="0" cellpadding="0">
<tr><td align="right" valign="top"><font face="Arial" size="2">Title:</font></td>
<td><font face="Arial" size="2"><input name="Title" size="50"></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">URL:</font></td>
<td><font face="Arial" size="2"><input name="URL" size="50"></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Category:</font></td>
<td><font face="Arial" size="2"><%Category%></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Description:</font></td>
<td><font face="Arial" size="2"><textarea wrap="virtual" name="Description" value="" rows="3" cols="42"></text-area></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Contact Name:</font></td>
<td><font face="Arial" size="2"><input name="Contact Name" value="" size="40"></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Contact Email:</font></td>
<td><font face="Arial" size="2"><input name="Contact Email" value="" size="40"></font></td></tr>
<tr><td></td><td><font face="Arial" size="2"><input type="SUBMIT" value="Add Resource"></font></td></tr>
</table>
</div>
</form>
<table>
<tr><td>
<table border=0 cellpadding=0 width="100%">
<tr><td valign=top width="100%">
</td>
</tr>
</table>
</td></tr></table>
<hr size=0><font face="Arial" size="2"><b><%event_desc%></b> <a href="<%event_url%>"><%event%></a></font><hr size=0>
<p align="center"><font size="2" face="Arial"><%copyright%></font>
</body>
</html>

HTML page is creates:

<html>
<head><title>Hung Gay Resources Search : Add a Resource</title>
</head>
<body>
<table border=0 width="100%" cellspacing=0 cellpadding=0>
<tr><td valign=middle width="1%">
<a href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/pages"><font face="Arial" size="2"><img src="http://thunder.prohosting.com/~thexchat/cgi-bin/links/pages/logo.gif" alt="Hung Gay Resources Search" border=0></font></A>
</td><td valign=middle>
<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
<td align=left valign=bottom></td>
<td align=right valign=bottom><font size="2" face="Arial"><A href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/pages">Home</A> -
</font>
<a href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/cgi-bin/search.cgi"><font face="Arial" size="2">Search Options</font></a>
</td></tr></table>
<hr size=1 noshade>
</td></tr></table>
<table border=0 hspace=4 cellspacing=2 width="100%" cellpadding=3>
<tr><td>
<a href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/pages">
<font face="Arial" size=2>Hung Gay Resources Search</a> : Add a Resource</font>
</td></tr>
<tr bgcolor="#a0b8c8">
<td width="100%"><nobr><b><font face="Arial" size="2">Add a Resource</font></b></nobr></td>
</tr>
</table>
<p align="center">
<font face="Arial" size="4">You Can Add An Advertisement Here!</font>
</p>
<table border=0 width="100%"><tr>
<td align=center valign=middle bgcolor="#808080" width="33%">
<table bgcolor="#EEEEEE" border="0" width="100%"><tr><td align=right width="20%"> <p align="left"> </p></td>
<td align=right width="80%">
<p align="left"><font face="Arial" size="2">|
<a class="menulink" href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/pages">Home</a> |
Add a Site |
<a class="menulink" href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/cgi-bin/modify.cgi">Modify a Site</a> |
<a class="menulink" href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/pages/New">What's New</a> |
<a class="menulink" href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/pages/Cool">What's Cool</a> |
<a class="menulink" href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/cgi-bin/jump.cgi?ID=random">Random Link</a> |
<a class="menulink" href="http://thunder.prohosting.com/~thexchat/cgi-bin/links/cgi-bin/search.cgi">Search</a> | </font></td>
</tr></table>
</td>
</tr></table>
<table cellpadding=1 cellspacing=0 align=right border=0><tr><td>
<table border=0 bgcolor="#cccc99" cellpadding=1 cellspacing=0 hspace=2 vspace=2 width=100><tr><td>
<table border=0 cellpadding=2 cellspacing=0 width="100%">
</table>
</td></tr></table>
<table border=0 bgcolor="#cccccc" cellpadding=1 cellspacing=0 hspace=2 vspace=2 width=100><tr><td><table border=0 cellpadding=2 cellspacing=0 width="100%"><tr><td align=center bgcolor="#EEEEEE" colspan=2><b><font face=arial size=2>Inside Hung Gay Resources Search</font></b><p><font face="Arial" size="2"><a href="http://www.gaysexsites.net/topfreemen/index.html">Action World</a><br></font><small><hr size=0 width=85%></small><font face="Arial" size="2"><a href="http://www.adark.cjb.net">After Dark</a><br></font><small><hr size=0 width=85%></small><font face="Arial" size="2"><a href="http://www.ceglobe.com">Special Links Go Here</a><br></font><small><hr size=0 width=85%></small><font face="Arial" size="2"><a href="http://www.ceglobe.com">Special Links Go Here</a></font></td></tr></table></td></tr></table></td>
</tr></table>
<form action="http://thunder.prohosting.com/~thexchat/cgi-bin/links/cgi-bin/search.cgi" method="GET">
<table border=0><tr><td>
<font face="Arial" size="2">
<input type="text" size=30 name="query"> <input type=submit value=Search>
</font>
</td></tr></table>
</form>
<table border=0 cellpadding=0 width="80%">
<form action="http://thunder.prohosting.com/~thexchat/cgi-bin/links/cgi-bin/add.cgi" method="POST">
</table>
<p><font face="Arial" size="2">Please fill out the form completely, and we'll add your resource as soon as possible.</font></p>
<div class="margin">
<table border ="0" cellspacing="0" cellpadding="0">
<tr><td align="right" valign="top"><font face="Arial" size="2">Title:</font></td>
<td><font face="Arial" size="2"><input name="Title" size="50"></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">URL:</font></td>
<td><font face="Arial" size="2"><input name="URL" size="50"></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Category:</font></td>
<td><font face="Arial" size="2"><SELECT NAME="Category" SIZE=1><OPTION>---<OPTION>AVS_Sites<OPTION>AVS_Sites/AdultCheck<OPTION>AVS_Sites/AgeCheck<OPTION>AVS_Sites/ UGAS<OPTION>Free_Sites<OPTION>Free_Sites/Action<OPTION>Free_Sites/CumShots<OPTION>Free_Sites/General<OPTION>Fr ee_Sites/Military<OPTION>Pay_Sites<OPTION>Resources<OPTION>Resources/Search<OPTION>Webmasters<OPTION>Webmaster s/AVS_Services</SELECT></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Description:</font></td>
<td><font face="Arial" size="2"><textarea wrap="virtual" name="Description" value="" rows="3" cols="42"></textarea></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Contact Name:</font></td>
<td><font face="Arial" size="2"><input name="Contact Name" value="" size="40"></font></td></tr>
<tr><td align="right" valign="top"><font face="Arial" size="2">Contact Email:</font></td>
<td><font face="Arial" size="2"><input name="Contact Email" value="" size="40"></font></td></tr>
<tr><td></td><td><font face="Arial" size="2"><input type="SUBMIT" value="Add Resource"></font></td></tr>
</table>
</div>
</form>
<table>
<tr><td>
<table border=0 cellpadding=0 width="100%">
<tr><td valign=top width="100%">
</td>
</tr>
</table>
</td></tr></table>
<hr size=0><font face="Arial" size="2"><b>Featured Site: Action World</b> <a href="http://www.gaysexsites.net/topfreemen/index.html">Special Event</a></font><hr size=0>
<p align="center"><font size="2" face="Arial">Copyright © 1999 HUNG Online. All Rights Reserved.<br>This script was made by Gossamer-Threads.</font>
</body>
</html>
Quote Reply
Re: Been Trying for a month now! =( In reply to
The syntax of your file seems to be fine.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




[This message has been edited by Eliot (edited October 28, 1999).]
Quote Reply
Re: Been Trying for a month now! =( In reply to
OK....
Gee, what a help *lol*
Anyway...I switched to the Snap Template. Now you can add urls...but when you try to load the front page it says:
Unknown Tag: Date
Whats up with that???
Thanks guys