Author |
Topic  |
|
noricle
Starting Member
21 Posts |
Posted - 02 April 2002 : 03:34:16
|
I have the mod working if I add it to the include lines at the top of the default.asp...however, I would like the events mod to be inserted between my last forum category and the stock statistics lines that are built into snitz.
Is this possible?
I've tried a number of scenarios and have been unsuccessfull. Can anyone shed some light on this for me please?
|
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 02 April 2002 : 04:09:39
|
Find the if strShowStatistics = "1" then around line 384, include the file right above that.
Nathan Bales - Romans 15:13 ---------------------------------- Snitz Exchange | Do's and Dont's |
 |
|
noricle
Starting Member
21 Posts |
Posted - 02 April 2002 : 04:19:07
|
I did as you said, and added that line directly above the strShowStatistics line, and it errored out. So I added the %> before and <% after the include line and it still errored out.
|
 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 02 April 2002 : 04:24:15
|
What error did you get?
Nathan Bales - Romans 15:13 ---------------------------------- Snitz Exchange | Do's and Dont's |
 |
|
noricle
Starting Member
21 Posts |
Posted - 02 April 2002 : 04:30:50
|
This was what I got when the include line was added between the "end if" and the strShowStatics lines:
Microsoft VBScript compilation error '800a0400'
Expected statement
/forum/default.asp, line 385
<!--#include file="events_inc.asp"--> ^
This was after I added the %> and <%:
Microsoft VBScript compilation error '800a0411'
Name redefined
/forum/events_inc.asp, line 44
Const cSUN = 1, cMON = 2, cTUE = 3, cWED = 4, cTHU = 5, cFRI = 6, cSAT = 7 ------^
|
 |
|
|
Topic  |
|