Author |
Topic |
goju
New Member
Canada
67 Posts |
Posted - 27 September 2002 : 11:51:09
|
I get this error when adding the last chunk of code to topic.asp:
Microsoft VBScript compilation error '800a0400'
Expected statement
/members/forum2/topic.asp, line 893
" <tr>" & vbNewLine & _
Also, I can't get the event icons to not appear for every topic in forum.asp.< |
|
|
goldfish
New Member
82 Posts |
Posted - 27 September 2002 : 11:58:10
|
I'm starting to get a touch exasperated, 'cos I'm so close, but still getting the occasional error...
If anyone has successfully installed on a clean copy of Snitz 3.4.03 I would be very grateful if they could either upload it somewhere or email it to me.... make a sad and angry man happy and all that... without compromising your personal hygiene I might add.
Simon< |
|
|
red1
Junior Member
355 Posts |
Posted - 27 September 2002 : 12:05:52
|
quote:
I get this error when adding the last chunk of code to topic.asp:
Microsoft VBScript compilation error '800a0400'
Expected statement
/members/forum2/topic.asp, line 893
" <tr>" & vbNewLine & _
I already fixed this. The zip file should contain working instructions for topic.asp. Or you can just add Response.Write at the beginning of the line that produces the error.
quote:
Also, I can't get the event icons to not appear for every topic in forum.asp.
Check the instructions for forum.asp if you placed the code in the correct places.
quote:
Do you have the latest and greatest (with fixes to bugs you've identified to-date) version of this MOD? Or, is the download link up-to-date to the latest fix?
Yes I update the zip file each time I find a bug or add a feature.
quote:
It seems that when you go to future events, it does not show the current events for the current day. Would it be better to show the current day's events under future events? The event could be in the afternoon or evening and could be considered a future event. It might help to add a time stamp for the event. Once the time is past the event would be removed for the future event page.
I'll look into changing the the future display to include events for the current date. As for timed events, it's possible but will complicate the code a bit, and I generally like to keep things simple. Timed events are more for PDAs and cellphones that can alert you the exact instance the event is occuring, but for forums I don't think its necessary.
If it would help your purposes I can add a display of Today's Events on the front page< |
My Mods: New Events Calendar New Non-database Active Users |
Edited by - red1 on 27 September 2002 12:40:53 |
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 27 September 2002 : 14:21:03
|
i hate to spoil the fun but i just installed this wonderfull mod and when i try to view default.asp i get this error:
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'DateAdd'
/cal_functions.asp, line 50
i must admit that i store three variables that were used in cal_functions.asp in my own file/DB... they are not saved as integers, so i added some code around one variable (intFirstDayofWeek) like this:
cInt(intFirstDayofWeek) when i do that, i get this error on default.asp:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'dateHolder'
/cal_functions.asp, line 49
did i miss anything?< |
cHosting.nl |
|
|
red1
Junior Member
355 Posts |
Posted - 27 September 2002 : 14:30:58
|
quote: Originally posted by crash
i hate to spoil the fun but i just installed this wonderfull mod and when i try to view default.asp i get this error:
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'DateAdd'
/cal_functions.asp, line 50
i must admit that i store three variables that were used in cal_functions.asp in my own file/DB... they are not saved as integers, so i added some code around one variable (intFirstDayofWeek) like this:
cInt(intFirstDayofWeek) when i do that, i get this error on default.asp:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'dateHolder'
/cal_functions.asp, line 49
did i miss anything?
If you store the values in the database, make sure that they get assigned to temp variables before the function gets called.
I thought about storing the values in the db and making an admin page, but since there are so few settings, and they are not the kind that you'd change everyday, I thought it's better to leave them as constants.< |
My Mods: New Events Calendar New Non-database Active Users |
Edited by - red1 on 27 September 2002 14:32:20 |
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 27 September 2002 : 14:43:36
|
i set them back to be constant and that fixed the problem! i than you! but still i don't get it... why can't i make intEventstoDisplay, intAllowedtoPostEvent and intFirstDayofWeek variables?< |
cHosting.nl |
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 27 September 2002 : 15:21:42
|
anyone care to tell me how to change those constants into variables which can be set in the database?< |
cHosting.nl |
|
|
red1
Junior Member
355 Posts |
Posted - 27 September 2002 : 16:02:20
|
quote: Originally posted by crash
anyone care to tell me how to change those constants into variables which can be set in the database?
Just make sure that the values in the database are read before they are used. You can insert them in the table FORUM_CONFIG_NEW. Then follow the pattern in config.asp on how the variables gets assigned their values.< |
My Mods: New Events Calendar New Non-database Active Users |
|
|
red1
Junior Member
355 Posts |
Posted - 27 September 2002 : 16:30:46
|
quote: Originally posted by goldfish
I'm starting to get a touch exasperated, 'cos I'm so close, but still getting the occasional error...
If anyone has successfully installed on a clean copy of Snitz 3.4.03 I would be very grateful if they could either upload it somewhere or email it to me.... make a sad and angry man happy and all that... without compromising your personal hygiene I might add.
Simon
I now included the modded files to the zip. Make sure you update the database first before dropping in the replacement files.< |
My Mods: New Events Calendar New Non-database Active Users |
Edited by - red1 on 27 September 2002 16:33:19 |
|
|
Bookie
Average Member
USA
856 Posts |
Posted - 27 September 2002 : 16:42:53
|
Any chance this will be out of "beta" status any time soon? I'd hate to install something and then have to install again because of a small feature addition. I can understand bug fixes... that's part of the game.< |
Participate in my nonsense |
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 27 September 2002 : 16:54:29
|
quote: Originally posted by red1 Just make sure that the values in the database are read before they are used. You can insert them in the table FORUM_CONFIG_NEW. Then follow the pattern in config.asp on how the variables gets assigned their values.
i know how to add variables to config.asp... thanks for the reply!
the mod works like a charm! my compliments on this one! i will play a bit more with the variable stuff now...< |
cHosting.nl |
|
|
red1
Junior Member
355 Posts |
Posted - 27 September 2002 : 16:55:27
|
quote: Originally posted by Bookie
Any chance this will be out of "beta" status any time soon? I'd hate to install something and then have to install again because of a small feature addition. I can understand bug fixes... that's part of the game.
I think it's safe to install it now... the only files that get altered are new files that you can safely drop into your forum if ever I find other bugs< |
My Mods: New Events Calendar New Non-database Active Users |
|
|
red1
Junior Member
355 Posts |
|
Guru
Starting Member
32 Posts |
Posted - 27 September 2002 : 17:10:59
|
red1, i found a little bug:
In the cal.asp file line 78 you will find this: "FROM " & strTablePrefix & "TOPICS T, " & strTablePrefix & "MEMBERS M " & _ can you change this into this: "FROM " & strTablePrefix & "TOPICS T, " & strMemberTablePrefix & "MEMBERS M " & _
Greetz,
Guru< |
Edited by - Guru on 27 September 2002 17:11:53 |
|
|
red1
Junior Member
355 Posts |
|
Topic |
|