Author |
Topic |
red1
Junior Member
355 Posts |
Posted - 06 May 2003 : 20:23:13
|
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
|
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 |
|
|
red1
Junior Member
355 Posts |
|
Steve D.
Average Member
USA
640 Posts |
|
spyordie007
Junior Member
USA
408 Posts |
|
red1
Junior Member
355 Posts |
Posted - 07 May 2003 : 13:36:17
|
Thanks spy. Anyone with a Linux box who wants to test this? |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 07 May 2003 : 17:28:14
|
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 |
|
|
spyordie007
Junior Member
USA
408 Posts |
Posted - 07 May 2003 : 17:34:13
|
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 |
|
|
jeffery
Junior Member
USA
176 Posts |
|
Steve D.
Average Member
USA
640 Posts |
Posted - 07 May 2003 : 22:39:37
|
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 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 07 May 2003 : 23:44:04
|
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. |
|
|
|
Steve D.
Average Member
USA
640 Posts |
|
red1
Junior Member
355 Posts |
Posted - 08 May 2003 : 00:33:03
|
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 |
|
|
red1
Junior Member
355 Posts |
Posted - 08 May 2003 : 01:05:42
|
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
|
|
|
red1
Junior Member
355 Posts |
Posted - 08 May 2003 : 01:49:56
|
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 |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 08 May 2003 : 09:22:52
|
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 |
|
|
Topic |
|