Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Help with classifieds
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

eggyfarts
Junior Member

New Zealand
200 Posts

Posted - 01 June 2001 :  23:50:00  Show Profile
I have just installed the classifieds sr1 mod and i want to know, on what page and where do i add the link to it?
Thanks
EF

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 June 2001 :  00:07:30  Show Profile
I believe you just add the link to inc_top.asp where the other links are that show up above where you login/logout. (I've never installed this MOD, but that is where I've seen the link on other forums.)
Go to Top of Page

eggyfarts
Junior Member

New Zealand
200 Posts

Posted - 02 June 2001 :  00:19:01  Show Profile
Yeah I tried to put it there but i dont know where in the inc_top.asp file. I keep getting errors with it. Anyone else tell me where they put thiers?

Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 02 June 2001 :  00:29:34  Show Profile  Send e3stone an AOL message
look for this code in inc_top.asp

<body bgColor="<% =strPageBGColor %>" text="<% =strDefaultFontColor %>" link="<% =strLinkColor %>" aLink="<% =strActiveLinkColor %>" vLink="<% =strActiveLinkColor %>" topmargin="0" leftmargin="0" rightmargin="0">

<a name="top"></a>

<font face="<% =strDefaultFontFace %>">
<table align="center" border="0" cellPadding="0" cellSpacing="0" width="100%">
<tr>
<td valign="top" width="50%"><a href="default.asp"><img alt="<% =strForumTitle %>" border="0" src="<%=strTitleImage%>"></a>
</td>
<td align="center" valign="top" width="50%">
<table border="0" cellPadding="2" cellSpacing="0">
<tr>
<td align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =strForumTitle %></b></font></td>
</tr>
<tr>
<td align="center"><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<a href="<% =strHomeURL %>"><acronym title="Homepage">Home</acronym></a>
| <%
if strUseExtendedProfile then %> <a href="pop_profile.asp?mode=Edit"><acronym title="Edit your personal profile...">Profile</acronym></a>
<%
else %> <a href="javascript:openWindow3('pop_profile.asp?mode=Edit')"><acronym title="Edit your personal profile...">Profile</acronym></a>
<%
end if
if strAutoLogon <> 1 then %> | <a href="policy.asp"><acronym title="Register to post to our forum...">Register</acronym></a>
<% end if %> | <a href="active.asp"><acronym title="See what topics have been active since your last visit...">Active
Topics</acronym></a> | <a href="members.asp"><acronym title="Current members of these forums...">Members</acronym></a>
| <a href="search.asp"><acronym title="Perform a search by keyword, date, and/or name...">Search</acronym></a>
| <a href="faq.asp"><acronym title="Answers to Frequently Asked Questions...">FAQ</acronym></a>
| <a href="classifieds.asp"><acronym title="Classified Ads...">Classifieds</acronym></a></font></td>
</tr>
<%
select case Request.Form("Method_Type")

case "login"
%>
</table>

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

eggyfarts
Junior Member

New Zealand
200 Posts

Posted - 02 June 2001 :  00:29:53  Show Profile
Below is a piece of code taken out of my inc_top.asp file. Can anyone please tell me where i add the link to the classifieds page.


<===BEGIN CODE SNIPPET===>




' LVL 1 NAVIGATION LINKS
Sub Level1Links()
response.write ("<td> </td>" &_
"<td class=""lvl1nav0""><a href=""../default.asp?sectionid=6""><img width=""15"" height=""15"" border=""0"" src=""icon_nav_home.gif""></a> </td>" &_
"<td class=""lvl1nav0""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""../default.asp?sectionid=6""><acronym title=""Homepage"">Home</acronym></a>" &_
"</font></td>" &_
"<td>  </td>" &_
"<td class=""lvl1nav0""><a href=""default.asp?sectionid=0""><img width=""15"" height=""15"" border=""0"" src=""icon_nav_forums.gif""></a> </td>" &_
"<td class=""lvl1nav0""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""default.asp?sectionid=0""><acronym title=""Forum Homepage"">Forums</acronym></a>" &_
"</font></td>" &_
"<td>  </td>" &_
"<td class=""lvl1nav1""><a href=""articles.asp?sectionid=5&area=3""><img width=""15"" height=""15"" border=""0"" src=""icon_nav_news.gif""></a> </td>" &_
"<td class=""lvl1nav1""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""Articles.asp?sectionid=5&area=3""><acronym title=""Site News...."">Articles</acronym></a>" &_
"</font></td>" &_
"<td>  </td>" &_
"<td class=""lvl1nav1""><a href=""events.asp?sectionid=1""><img width=""15"" height=""15"" border=""0"" src=""icon_nav_calendar.gif""></a> </td>" &_
"<td class=""lvl1nav1""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""events.asp?sectionid=1""><acronym title=""Events Calendar...."">Calendar</acronym></a>" &_
"</font></td>" &_
"<td>  </td>" &_
"<td class=""lvl1nav1""><a href=""events.asp?sectionid=1""><img width=""15"" height=""15"" border=""0"" src=""icon_nav_url.gif""></a> </td>" &_
"<td class=""lvl1nav1""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""resources.asp?sectionid=5&area=4""><acronym title=""Links...."">Links</acronym></a>" &_
"</font></td>" &_
"<td>  </td>" &_
"<td class=""lvl1nav2"">")
if (ChkUser2((strDBNTUserName), (Request.Cookies(strUniqueID & "User")("Pword"))) = 0) then
response.write ("<a href=""policy.asp?sectionid=2""></a>")
else
response.write ("<a href=""members.asp?sectionid=2""></a>")
end if
response.write ("<img width=""15"" height=""15"" border=""0"" src=""icon_nav_profile.gif""></a> </td>" &_
"<td class=""lvl1nav2""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>")
if (ChkUser2((strDBNTUserName), (Request.Cookies(strUniqueID & "User")("Pword"))) = 0) then
response.write ("<a href=""policy.asp?sectionid=2""><acronym title=""Register to post to our forum..."">Register</acronym></a>")
else
response.write ("<a href=""members.asp?sectionid=2""><acronym title=""Membership Area"">Members</acronym></a>")
end if
response.write ("</font></td>" &_
"<td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>  </font></td>" &_
"<td class=""lvl1nav3""><a href=""faq.asp?sectionid=3""><img width=""15"" height=""15"" border=""0"" src=""icon_nav_help.gif""></a>  </td>" &_
"<td class=""lvl1nav3""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""faq.asp?sectionid=3""><acronym title=""Help, FAQ, and more..."">Help</acronym></a>" &_
"</font></td>" &_
"<td>  </td>" &_
"<td class=""lvl1nav4""><a href=""guestbook.asp?sectionid=4""><img width=""16"" height=""15"" border=""0"" src=""icon_nav_guestbook.gif""></a> </td>" &_
"<td class=""lvl1nav4""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""Guestbook.asp?sectionid=4""><acronym title=""View/Sign our Guestbook..."">Guestbook</acronym></a>" &_
"</font></td>" &_
"<td>  </td>")

' DISPLAY ADMIN OPTIONS LINK
if (mlev = 4) or (lcase(strNoCookies) = "1") then
response.write ("<td class=""lvl1nav888"">" &_
"<a href=""admin_home.asp?sectionid=888""><img width=""15"" height=""15"" border=""0"" src=""icon_nav_admin.gif""></a> </td>")
response.write ("<td class=""lvl1nav888"">" &_
"<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" &_
"<a href=""admin_home.asp?sectionid=888"">Admin Options</a>" &_
"</font></td>")
end if

End Sub










<===END CODE SNIPPET===>

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 June 2001 :  00:36:27  Show Profile
you're using the inc_top.asp that came with the Portal MOD right?

If you want, just e-mail it to me and I'll add it for you. Just let me know where you want it to show up. (between which existing links?)
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 02 June 2001 :  00:36:32  Show Profile  Send e3stone an AOL message
uhhhh, what version of Snitz are you using? I don't recognize that could. e.g. "?sectionid=4"

Edit: ahh, portal mod top, that would explain it

<-- Eric -->


http://insidewaco.com/forum/home.asp

Edited by - e3stone on 02 June 2001 00:37:24
Go to Top of Page

eggyfarts
Junior Member

New Zealand
200 Posts

Posted - 02 June 2001 :  00:39:07  Show Profile
Richard has once again saved my day! I am using the portal mod files so yeah my inc_top.asp looks different. You can check out how it looks at http://builderscrack.cjb.net if you want. Richard I have emailed you the file.

Go to Top of Page

lancepr
New Member

73 Posts

Posted - 29 June 2001 :  18:45:27  Show Profile
When I run the mod_dbsetup.asp for the classifieds I get these errors.

Creating table(s)...
CREATE TABLE FORUM_ADS_CONTENT( ID int IDENTITY (1, 1) NOT NULL , TOPIC_ID#int## NOT NULL , NAME#varchar(75)#NULL# NOT NULL , EMAIL#varchar(50)## NOT NULL , DATE_POSTED#varchar (20)## NOT NULL , PRICE#varchar(20)#NULL# NOT NULL , AD_TITLE#varchar(100)## NOT NULL , CONTENT#memo## NOT NULL , ADDRESS#varchar(100)#NULL# NOT NULL , CITY#varchar(50)## NOT NULL , STATE#varchar(20)## NOT NULL , ZIP#varchar(12)#NULL# NOT NULL , LINK#varchar(100)#NULL# NOT NULL , IMAGE_URL#varchar(75)#NULL# NOT NULL , ADDED_BY#int## NOT NULL )
-2147217900 | [Microsoft][ODBC SQL Server Driver][SQL Server]The definition for column 'TOPIC_ID#int##' must include a data type.
CREATE TABLE FORUM_ADS_CATEGORY( ID int IDENTITY (1, 1) NOT NULL , CATEGORY_NAME#varchar(50)## NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL , DESCRIPTION#memo#NULL# NOT NULL )
-2147217900 | [Microsoft][ODBC SQL Server Driver][SQL Server]The definition for column 'CATEGORY_NAME#varchar' must include a data type.

--------------------------------------------------------------------------------

Adding new records..
INSERT INTO FORUM_ADS_CATEGORY
Adding new records..
INSERT INTO FORUM_ADS_CATEGORY
Adding new records..
INSERT INTO FORUM_ADS_CATEGORY
Adding new records..
INSERT INTO FORUM_ADS_CATEGORY
Adding new records..
INSERT INTO FORUM_ADS_CATEGORY
Adding new records..
INSERT INTO FORUM_ADS_CATEGORY
-2147217900 | [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'FORUM_ADS_CATEGORY'.


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07