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)
 How do I make events recurring (cont.)
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 5

macho
Junior Member

Denmark
150 Posts

Posted - 12 August 2002 :  06:48:18  Show Profile
quote:

Clear the cookies and also within internet properties, under the privacy tab set the slider to low. That should help.


It did - tks!

Edit: no error, see next post!
At my testsite now when viewing by week I get this error msg:

ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.

/forum/events_functions.asp, line 1200


Line 1200 is around here in function DisplayWeek:


Do while not rs.eof
intEventRepeat = Rs("event_repeat") <------ Line 1200
if Rs("event_repeat") = "" then intEventRepeat = 0
blnRepeat = EventRepeat(intEventRepeat, strToDate(Rs("start_date")))
if blnRepeat then


Textversion: http://www.staal-larsen.dk/snitz/events_functions.txt - Calendar: http://www.staal-larsen.dk/forum/events.asp

Edited by - macho on 12 August 2002 07:04:15
Go to Top of Page

macho
Junior Member

Denmark
150 Posts

Posted - 12 August 2002 :  06:55:34  Show Profile
Sorry, my mistake, forgot to add event_repeat to line 1172 (strSQL =)

the error is now gone!
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 12 August 2002 :  14:27:08  Show Profile
You got it macho, now you know how to do it.

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
Go to Top of Page

macho
Junior Member

Denmark
150 Posts

Posted - 12 August 2002 :  17:02:48  Show Profile
GauravBhabu, I wish I could be so happy about this. But it's still not doing what I want it to.

Well, no more error messages at the pages - that's good!

But this is what is still happening:
When adding an event with Start Date 12 Aug 02, End Date 16 Sep 02, Event repeating once a week - the event is showing up every day in the calendar!

Now when I add another event with Start Date 14 Aug 02, End Date 14 Dec 02, Event repeating one a month - this event will show up on the calendar in month view but only if there is another event happening that day. In this case my monthly repeating event is showing from 14 Sep 02 until 16 Sep 02, still only in month-view, not showing in week-view or day-view!

This is all kind of frustrating to me!

I hope that you understand what is happening - have tried to explain it the best way I can!

I will say, it's not the End of the World if this thing doesn't get to work for me, but I sure would be glad if it did!
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 12 August 2002 :  17:19:53  Show Profile
Post link to text version of latest events_functions.asp. And link to the calendar page with the changed files.

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
Go to Top of Page

macho
Junior Member

Denmark
150 Posts

Posted - 12 August 2002 :  19:00:23  Show Profile
Text version of latest events_functions.asp:
http://www.staal-larsen.dk/snitz/events_functions.txt

Calendar page with changed files:
http://www.staal-larsen.dk/forum/
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 12 August 2002 :  19:21:19  Show Profile
Find the following statements at around line 70

'Response.Write rsEvents("event_title")
do while not(rsevents.EOF)



Add the following statements just below the above statement

intEventRepeat = rsEvents("event_repeat")
if rsEvents("event_repeat") = "" then intEventRepeat = 0
blnRepeat = EventRepeat(intEventRepeat, strToDate(rsEvents("start_date")))
if blnRepeat then



Find the following statements at around line 79



end if
rsEvents.MoveNext
loop


Modify to look like as below


End if
end if
rsEvents.MoveNext
loop



CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)

Edited by - GauravBhabu on 12 August 2002 20:05:55
Go to Top of Page

macho
Junior Member

Denmark
150 Posts

Posted - 12 August 2002 :  19:53:12  Show Profile
After changing I get this error message in the box of day 13 in month view. (Day 13 has an event).:


Microsoft VBScript runtime error '800a000d'
Type mismatch: 'rs'
/forum/events_functions.asp, line 71



Latest text version of events_functions.asp: http://www.staal-larsen.dk/snitz/events_functions.txt / Calendar with latest changes: http://www.staal-larsen.dk/forum/events.asp
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 12 August 2002 :  20:06:23  Show Profile
Change rs to rsEvents as highlighted in my earlier post

CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain

It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.

Prayer Of Forgiveness
"I forgive all living beings. May all living beings forgive me!
I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
Go to Top of Page

macho
Junior Member

Denmark
150 Posts

Posted - 12 August 2002 :  20:56:48  Show Profile
The error is gone again after changing.

It now seems that when I'm adding an event, Start Date 13 aug 02 End Date 13 Sep 02, recurring every week, events starting after 13 aug 02 wont show up in the calendar! Look here to see what is under Upcoming Events (Kommende Begivenheder) and compare it with the events in month view: http://www.staal-larsen.dk/forum/events.asp

Won't be able to make any more changes today; have to catch up some sleep now -


Latest text version of events_functions.asp: http://www.staal-larsen.dk/snitz/events_functions.txt / Calendar with latest changes: http://www.staal-larsen.dk/forum/events.asp

Edited by - macho on 12 August 2002 20:57:51
Go to Top of Page

n/a
deleted

593 Posts

Posted - 12 August 2002 :  21:15:24  Show Profile
quote:
Originally posted by GauravBhabu

To correct the Display of events in week view or day view, you have to apply the similar criteria, we applied to monthview, in the functions for those modes (week view and day view etc.)
There are many other bugs in the events Mod and will require changes, Infact after we finish modifying, the code will be completely changed. I did it once for me and spent a lot of time and decided to write one from scratch. A demo of work in progress can be found here.



Not intended to interrupt the discussion going on here, but:

Want to drop in to comment: Wow, this is a real "event calender" we need.....superb. Very happy to see that you are redesigning this nice mod... now you can really call it "Events Calendar" MODS....
Thanks for your great efforts and look forward to see it's full release as a new EC MOD.... (I see a light on the end of a tunnel for this one!).

Best...



Taku
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous 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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07