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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: New Events Calendar for 3.4.03 beta
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 32

goju
New Member

Canada
67 Posts

Posted - 27 September 2002 :  11:51:09  Show Profile  Visit goju's Homepage  Reply with 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 & _



Also, I can't get the event icons to not appear for every topic in forum.asp.<
Go to Top of Page

goldfish
New Member

82 Posts

Posted - 27 September 2002 :  11:58:10  Show Profile  Reply with Quote
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<
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 27 September 2002 :  12:05:52  Show Profile  Reply with Quote
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
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 27 September 2002 :  14:21:03  Show Profile  Visit crash's Homepage  Reply with Quote
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
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 27 September 2002 :  14:30:58  Show Profile  Reply with Quote
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
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 27 September 2002 :  14:43:36  Show Profile  Visit crash's Homepage  Reply with Quote
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
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 27 September 2002 :  15:21:42  Show Profile  Visit crash's Homepage  Reply with Quote
anyone care to tell me how to change those constants into variables which can be set in the database?<

cHosting.nl
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 27 September 2002 :  16:02:20  Show Profile  Reply with Quote
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
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 27 September 2002 :  16:30:46  Show Profile  Reply with Quote
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
Go to Top of Page

Bookie
Average Member

USA
856 Posts

Posted - 27 September 2002 :  16:42:53  Show Profile  Visit Bookie's Homepage  Send Bookie an AOL message  Send Bookie a Yahoo! Message  Reply with Quote
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
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 27 September 2002 :  16:54:29  Show Profile  Visit crash's Homepage  Reply with Quote
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
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 27 September 2002 :  16:55:27  Show Profile  Reply with Quote
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
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 27 September 2002 :  17:08:46  Show Profile  Reply with Quote
Thank you everyone who helped test this mod. If someone ever has a forum with 100+ events, let me know how this mod performs.<

My Mods:
New Events Calendar
New Non-database Active Users
Go to Top of Page

Guru
Starting Member

32 Posts

Posted - 27 September 2002 :  17:10:59  Show Profile  Reply with Quote
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
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 27 September 2002 :  17:28:15  Show Profile  Reply with Quote
Hey thanks. Zip updated again.<

My Mods:
New Events Calendar
New Non-database Active Users
Go to Top of Page
Page: of 32 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07