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
 <!--#include file="events_inc.asp"-->
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

5656
Starting Member

Italy
33 Posts

Posted - 02 April 2002 :  01:37:29  Show Profile
I've been attempting to insert the include file for the events calendar so it shows on my default page, however the directions (see below) do not have the "& vbNewline & _" that I have in my code, and it's definitely throwing this newbie. I continually get different error messages as I attempt to tweak...here's the latest:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/forum/Default.asp, line 385
& vbNewline & _


Any help would be great.

<table border="0" width="100%" cellspacing="1" cellpadding="4">
<!--#include file="events_inc.asp"-->
<tr>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b> </td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Forum</font></b></td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Topics</font></b></td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Posts</font></b></td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Last Post</font></b></td>

Thanks

}--joe--{

Nathan
Help Moderator

USA
7664 Posts

Posted - 02 April 2002 :  01:48:01  Show Profile  Visit Nathan's Homepage
Well, is that line 385?

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

5656
Starting Member

Italy
33 Posts

Posted - 02 April 2002 :  12:20:09  Show Profile
Yes, it is line 385.
The directions said to insert on line 121, but I added the POll MOD and it pushed "line 121" to 385.
Thanks.

}--joe--{
Go to Top of Page

Gidion
Starting Member

22 Posts

Posted - 02 April 2002 :  16:34:43  Show Profile
this is just a hint:
Snitz uses the following structure a lot:
Response.Write " ... text ... 2 " & vbNewLine & _
" ... more Text ... "

Sometimes when adding Mods it might happen that you don't continue the OutPut Text by adding a & _ to the end of a line. For Example:

Old: Response.Write " ... snitz text " & vbNewLine & _
" ... more snitz text " & vbNewLine & _
" ... more snitz text " & vbNewLine & _
" ... more snitz text "

If you add a Mod on line 3 f.ex.:

New Wrong: Response.Write " ... snitz text " & vbNewLine & _
" ... more snitz text " & vbNewLine & _
" ... MOD TEXT ..."
" ... more snitz text " & vbNewLine & _
" ... more snitz text "

New Correct: Response.Write " ... snitz text " & vbNewLine & _
" ... more snitz text " & vbNewLine & _
" ... MOD TEXT ..." & vbNewLine & _
" ... more snitz text " & vbNewLine & _
" ... more snitz text "

Maybe you forgot one too? If not maybe it helps someone else?

---------------------------
MANIAC Development
http://mcc.in.tum.de/maniac
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 1.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07