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: General / Classic ASP versions(v3.4.XX)
 Integration and inc_top.asp
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

JasB19
Starting Member

49 Posts

Posted - 15 December 2002 :  17:52:13  Show Profile
well i'm trying to integrate my web site with the forum and seached the board for how to do it and pulled up a couple of topics. One said i had to edit the inc_top.asp file with the code and went through that and then i realized i have no inc_top.asp should i or is that incorrect.

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 15 December 2002 :  18:13:11  Show Profile  Send ruirib a Yahoo! Message
inc_top.asp has been replaced by inc_header.asp in version 3.4.x.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

JasB19
Starting Member

49 Posts

Posted - 15 December 2002 :  18:20:15  Show Profile
thanks
Go to Top of Page

JasB19
Starting Member

49 Posts

Posted - 15 December 2002 :  18:40:38  Show Profile
do you still insert the code after
<body style="<%= strPageBGColor %> <%=strDefaultFontColor %>>
<a name="top"></a><font style="<%= strDefaultFontFace %>">
Go to Top of Page

day
Starting Member

4 Posts

Posted - 17 December 2002 :  15:52:00  Show Profile
I've upgraded our forum but having trouble customizing the version. On the previous version I had a server side include (that contained navigation for the rest of our site) on the inc_top.asp. This worked great. However the new Snitz forum uses inc_header.asp which is written in a non-html format (Perl?) and when I insert my <!--#include file="navigation.asp" --> on line 282 like this:
<a name=""top""></a><!--#include file="navigation.asp" --><font face=""" & strDefaultFontFace & """>"

I get an error telling me to contact the system administrator.

How can I get that include file in there?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 December 2002 :  18:10:36  Show Profile  Send ruirib a Yahoo! Message
Why would you do the include between the <a> and <font> tags? Why not at the end?


<a name=""top""></a><font face=""" & strDefaultFontFace & """>"
%><!--#include file="navigation.asp" --><%

Do not forget the chars in red. You need to insert them to avoid the error you're getting.

JasB19,

I think you can insert whatever you want at this point, yes, and in the way I show here (of course, excluding the include, if you want to have your navigation inserted directly, or using an include if you prefer it that way). I've never done it myself, but I guess you can try it.



Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

day
Starting Member

4 Posts

Posted - 17 December 2002 :  18:58:56  Show Profile
well I added this modification:

<a name=""top""></a><font face=""" & strDefaultFontFace & """>"
%><!--#include file="../include/navigation.asp" --><%

like you suggested, no luck, then I tried adding the include at line 41, right with the <!--#INCLUDE FILE="inc_func_common.asp" --> include, no luck.

Here's the error:
An error occurred on the server when processing the URL. Please contact the system administrator.

Then I tried:
Response.Write "<!--#include file=""../include/navigation.asp"" -->"

I didn't get the error, but the include was not displayed

any other suggestions?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 December 2002 :  19:06:24  Show Profile  Send ruirib a Yahoo! Message
Ok, try this - delete the red chars and add the green parts as shown:


"<a name=""top""></a><font face=""" & strDefaultFontFace & """>" & vbNewLine & _
		vbNewLine & _
%><!--#include file="../include/navigation.asp" --><%
Response. Write vbNewLine &  "<table align=""center"" ...


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 17 December 2002 19:07:53
Go to Top of Page

day
Starting Member

4 Posts

Posted - 17 December 2002 :  19:21:24  Show Profile
Your help is very much appreciated, unfortunately that last suggestion did not work either, same error message.

still open to other thoughts...
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 December 2002 :  19:24:15  Show Profile  Send ruirib a Yahoo! Message
Can you post a link to your forum?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

day
Starting Member

4 Posts

Posted - 17 December 2002 :  19:39:51  Show Profile
Got it! The source of my woes was my include file. My navigation file had it's own include file that linked it to our SiteServer database, once I deleted the include file from my include file, shazam, it works!

whew, thanks for all of your help, I'm a designer not a programmer so I'm a bit dense on these matters.

thanks again!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 17 December 2002 :  19:45:47  Show Profile  Send ruirib a Yahoo! Message
Glad you fixed it .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

hondaxr
New Member

80 Posts

Posted - 29 December 2002 :  00:02:44  Show Profile
I've tried the edits shown here but they are not working on my inc_header.asp file. Is there some other syntax for the virtual include (SSI) that I can try?

No matter what I try I get an error that says the include file was not found. I can cut the URL out of the error and paste it in my browser and it loads fine.

I am trying to get my top.htm file (root dir) to load on all forum pages. I added the bottom.htm with no problems. I had these same files loading on the V3.3 with no problems.

I have version: sf2k_v34_03

Edited by - hondaxr on 29 December 2002 07:31:30
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 December 2002 :  08:23:25  Show Profile  Send ruirib a Yahoo! Message
What have you tried so far?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

hondaxr
New Member

80 Posts

Posted - 29 December 2002 :  08:36:56  Show Profile
I have tried all of the above mods in different areas of the inc_header.asp file.

For example:

Response.Write "<!--#include file=""../top.htm"" -->"
Response.Write ""<!--#include file=""../top.htm"" -->""
%><!--#include file="../top.htm" --><%

Obviously my Include file is top.htm and it is located in the root directory.

Is it possible you could email me or paste here exactly where I would put my include file, including the proper syntax?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 December 2002 :  10:04:07  Show Profile  Send ruirib a Yahoo! Message
Try this:


%>
<!--#include VIRTUAL="top.htm" -->
<%


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07