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/O Code)
 Events Calendar (Recurring Dates) early beta
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 4

red1
Junior Member

355 Posts

Posted - 06 May 2003 :  20:23:13  Show Profile
I need people to help test this mod.


Edited by - red1 on 08 May 2003 15:32:12

spyordie007
Junior Member

USA
408 Posts

Posted - 06 May 2003 :  22:00:33  Show Profile  Visit spyordie007's Homepage  Send spyordie007 an AOL message
I would be willing to run a mysql version for you.

-Spy

Power - The only narcotic controlled by the SEC, not the FDA.

Prosperity without pollution! The American Hydrogen Association - http://www.ahanw.org
Questions about Hydrogen? Post them on our forum - http://www.ahanw.org/forum
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 07 May 2003 :  05:55:36  Show Profile
Ok here it is:

Demo: http://red1.www2.dotnetplayground.com/mod/

Download: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=66


For testing only. Do not install this on your live forums.
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 07 May 2003 :  09:49:13  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
I'll give it a whirl with Access.

Swing Dancing Video Clips - It's All Swing! Forum
Go to Top of Page

spyordie007
Junior Member

USA
408 Posts

Posted - 07 May 2003 :  11:50:20  Show Profile  Visit spyordie007's Homepage  Send spyordie007 an AOL message
Looks good with MySQL thusfar:
http://ahanw.dhs.org/snitz/default.asp

user: test
pass: test

Power - The only narcotic controlled by the SEC, not the FDA.

Prosperity without pollution! The American Hydrogen Association - http://www.ahanw.org
Questions about Hydrogen? Post them on our forum - http://www.ahanw.org/forum
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 07 May 2003 :  13:36:17  Show Profile
Thanks spy. Anyone with a Linux box who wants to test this?
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 07 May 2003 :  17:28:14  Show Profile
Running ms sql getting the error

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'Join'

/forum_test/cal_default.asp, line 19

on default.asp

www.thomasforum.com
Go to Top of Page

spyordie007
Junior Member

USA
408 Posts

Posted - 07 May 2003 :  17:34:13  Show Profile  Visit spyordie007's Homepage  Send spyordie007 an AOL message
hey red have you given any thoughts to adding a start time and an end time, it would be very usefull for a number of people.

-Spy

Power - The only narcotic controlled by the SEC, not the FDA.

Prosperity without pollution! The American Hydrogen Association - http://www.ahanw.org
Questions about Hydrogen? Post them on our forum - http://www.ahanw.org/forum
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 07 May 2003 :  19:36:14  Show Profile
Yes, it's all configured

www.thomasforum.com
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 07 May 2003 :  22:39:37  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
Can other Recurring options be added or removed easily?

Others that would be useful for me are First Saturday of the month, Second Saturday of the month, etc.. but not just Saturdays.

When I tried to edit a specific event in a series, it updated all of them even though it was set to This Date Only.

What's happening behind the scenes when you edit a specific date? Is it then creating a seperate topic?

Any thoughts to adding some customizable fields that are optional? Since you're using a seperate table now it shouldn't be too hard to add. The names for the fields could be customized in cal_config.asp as well as if they should be shown or not.

Nice work, you just saved me about 100 hours of work! Thanks

Swing Dancing Video Clips - It's All Swing! Forum
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 07 May 2003 :  23:44:04  Show Profile  Visit dayve's Homepage
sounds like a great idea for a mod... one that I was going to work on after I did this for another site:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=43970

maybe this can be a good reference for those wanting to know more about how this is accomplished.

Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 07 May 2003 :  23:50:32  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
Nice, that's a good starting point.

Swing Dancing Video Clips - It's All Swing! Forum
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 08 May 2003 :  00:33:03  Show Profile
quote:
Running ms sql getting the error

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'Join'

/forum_test/cal_default.asp, line 19

on default.asp

This isn't database related. What did you set arrCalForumID to?

quote:
Can other Recurring options be added or removed easily?

Others that would be useful for me are First Saturday of the month, Second Saturday of the month, etc.. but not just Saturdays.


Steve this is in cal_post.asp. It contains other recurring options that are commented out. You can also add you own, just make sure you also add it to cal_post_info2.asp


quote:
When I tried to edit a specific event in a series, it updated all of them even though it was set to This Date Only.

What's happening behind the scenes when you edit a specific date? Is it then creating a seperate topic?


Can you tell me exactly what you did? It should only update one date if you have it set to edit that date only.

It's not creating a separate topic. All the date are linked to one topic via the TOPIC_ID. When you edit a date it simply deletes the old one and adds new ones as necessary.

I know that this was a specific feature that I wanted so that if one date in multi-date events gets needs to be canceled/postponed/extended, it can easily be modified.

quote:

sounds like a great idea for a mod... one that I was going to work on after I did this for another site:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=43970

maybe this can be a good reference for those wanting to know more about how this is accomplished.


I'm simply using DateAdd to get different recurring options


Edit: I found a bug. Find this in cal_post_info2.asp:
'Check If the date already exists
If MethodType = "EditTopic" and Event_Edit <> 1 Then

Change it to this:
'Check If the date already exists
If MethodType = "EditTopic" and Event_Edit <> 2 Then


Edited by - red1 on 08 May 2003 00:45:36
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 08 May 2003 :  01:05:42  Show Profile
quote:

Any thoughts to adding some customizable fields that are optional? Since you're using a seperate table now it shouldn't be too hard to add. The names for the fields could be customized in cal_config.asp as well as if they should be shown or not.


What fields would be useful?

quote:
Nice work, you just saved me about 100 hours of work! Thanks

Go to Top of Page

red1
Junior Member

355 Posts

Posted - 08 May 2003 :  01:49:56  Show Profile
Another bug: The post buttons on weekly view link to the wrong date. Change them to this:

'Post Buttons
If ((Topic_Status > 0 and Topic_Author = MemberID) or mlev = 4 or lCase(strNoCookies) = "1" ) Then _
Response.Write "<A href=""post.asp?method=EditTopic&TOPIC_ID=" & Topic_ID & "&date=" & dateCursor & """>" & _
getCurrentIcon(strIconPencil, strCalEdit, "align=""absmiddle""") & "</A>" & vbNewLine
If (Topic_Author = MemberID and Topic_Replies=0) or mlev = 4 or lCase(strNoCookies) = "1" Then _
Response.Write "<A href=""JavaScript:openWindow('cal_delete.asp?TOPIC_ID=" & Topic_ID & "&DATE=" & dateHolder & "')"">" & _
getCurrentIcon(strIconTrashCan, strCalDelete, "align=""absmiddle""") & "</A>" & vbNewLine



I updated the zip file to fix this and some other minor bugs

Edited by - red1 on 08 May 2003 01:59:02
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 08 May 2003 :  09:22:52  Show Profile
Red, I started over with this mod. On my test site. I still get the error above:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'Join'

/forum_test/cal_default.asp, line 19

on default.asp

I noticed much of this mod overlapped the events mod. Would you suggest that this can be installed on a forum with the event mod already applied?

www.thomasforum.com
Go to Top of Page
Page: of 4 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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07