Calendar - Adding Events for over 2 or more dates?
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21106
Printed Date: 29 March 2026 at 12:51pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Calendar - Adding Events for over 2 or more dates?
Posted By: AndyBoot
Subject: Calendar - Adding Events for over 2 or more dates?
Date Posted: 22 August 2006 at 12:59pm
Hiya, I was wondering whether it was possible to add events between two dates?
Short + Sweet question, need I say more?
Cheers,
Andy
|
Replies:
Posted By: Mikey
Date Posted: 22 August 2006 at 3:46pm
Currently no, but many people are requesting such features for the in forum calendar so it's only a matter of time before someone comes up with the goods
------------- Handyman man?
|
Posted By: miroen
Date Posted: 23 August 2006 at 7:56am
I do have such feature, but it's a lot of work and needs a lot of editting in a lot of files  . I think I modified almost every file related to the calendar. Of course you can take a look at my site (it is in dutch, but you'll get te point.): http://scoutingalphen.nl/ - http://scoutingalphen.nl .
If you're alowed to add an event you can choose a start and end date (no end date means a one day event) and the site will fill the calendar.
Maybe, and I mean really maybe, I'll give it a try to make it an update, but it also involves the database! So yes I do have such feature, but for now I'll keep it to myself, sorry! 
|
Posted By: wistex
Date Posted: 04 September 2006 at 9:01pm
Even some pointers on where to look and what to change, even if you don't give use all the code, would be useful to some of us who want to build it ourselves. It would at least save us some time researching how the current calendar works and what needs to be changed.
------------- http://www.wistex.com" rel="nofollow - WisTex Solutions http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums
|
Posted By: bootcom
Date Posted: 06 September 2006 at 8:22pm
Thats a bit tight . This place is supposed to be a community with people sharing stuff. But fair enough, each to their own.
For whoever want's it, I'll build it for y'all, gimme a couple of days though please 
BTW, This site looks better and better everytime I come to it. Kudos to borg !!!
|
Posted By: dfrancis
Date Posted: 07 September 2006 at 12:24pm
|
Hey bootcom... if I can help let me know. This is a feature I'm interested in too. Also, if you could integrate a popup date picker... that would be outstanding.
http://www.dhtmlgoodies.com/index.html?page=calendarScripts - http://www.dhtmlgoodies.com/index.html?page=calendarScripts
|
Posted By: AndyBoot
Date Posted: 07 September 2006 at 3:19pm
bootcom wrote:
Thats a bit tight . This place is supposed to be a community with people sharing stuff. But fair enough, each to their own.
For whoever want's it, I'll build it for y'all, gimme a couple of days though please 
BTW, This site looks better and better everytime I come to it. Kudos to borg !!! |
Cheers Bro!
|
Posted By: bootcom
Date Posted: 08 September 2006 at 4:25pm
dfrancis wrote:
Hey bootcom... if I can help let me know. This is a feature I'm interested in too. Also, if you could integrate a popup date picker... that would be outstanding.
http://www.dhtmlgoodies.com/index.html?page=calendarScripts - http://www.dhtmlgoodies.com/index.html?page=calendarScripts |
For the purposes of the WebWiz thing at the moment, I've just downloaded a fresh install of web wiz so that I can look at the code cos it's been about 12 months since I last did anything with WebWiz code.
I'll build the mod and do some testing and release the code to you to test and make any further modifications as you see fit. I may begin creating WebWiz mods again, it depends on the compatiability between this and my own forums (my pet project).
I'm going to be working on this over the weekend and yes I'll use a pop up calendar like the one on your link at http://www.dhtmlgoodies.com - www.dhtmlgoodies.com . We can see where we go from there. By all means feel free to contact me on this.
At the moment though Im currently working on the big momma of all projects. Im converting this http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-week-%20planner/dhtmlgoodies-week-planner.html - http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-week- planner/dhtmlgoodies-week-planner.html into an ASP driven remote scripted system from this PHP example.
|
Posted By: dfrancis
Date Posted: 08 September 2006 at 5:07pm
|
I would like to collaborate on the momma project too.
My biggest concern on that and other PHP/MySQL examples has been exposing the entire database results in the Ajax scripts. For example, see the auto-complete example he has. I worked for days on that and could find no way at all to prevent all data from being available to someone who really wanted my data. (Trying to prevent sharing a list of local businesses.)
Anyway... I'm keenly interested in your continued development... thanks and welcome home. 
|
Posted By: bootcom
Date Posted: 08 September 2006 at 8:22pm
Cheers
It's good to get back to the forums and back into my projects. The portal project I've been working on has taken a year and is still being developed. Doing this has definately given me more respect for what Bruce has done with the site. It's extremely satisfying to get the kind of positive feedback that he's had.
On the subject of week planner, I'm no longer using AJAX, as that uses XML open to database manipulation and security violations. Instead, I'm using remote scripting with the ASP scripts checking for authentication.
PHP is so different than ASP and is more like .net technology (which I really need to get into).
I'm putting all of this up over at http://www.bootcom.co.uk - www.bootcom.co.uk my website so if you want to see how it's going will put some links up on there.
|
Posted By: bootcom
Date Posted: 09 September 2006 at 1:43pm
|
Ok here's the first screen shot of this mod that I've almost completed. Basically, here's what I've done.
- Changed the event date field in tblTopic to event_date_start
- Added event_date_end field to the same table.
- Changed the SQL queries in forum_topics.asp / forum_posts.asp / functions/calendar.asp to allow for the new field names.
- Done a couple of modifications on calendar.asp to instead of checking for the event date to check for dates equal to or greater than event_date_start but less than or equal to event_date_end.
- Updated the add new topic page to include a popup calendar like the one mentioned by dfrancis. Unfortunately the one I've added doesn't include firefox support so I'll probabaly use the one from DHTMLgoodies.com.
- Updated the new_post.asp page as the SQL queries went seriously haywire when going through the first time.
- I'm going to put a copy of this on my website shortly. I'm going to get my brother to go through and comment the code that I've changed.
Not too bad though started this mod less than 2 hours ago and in that time I've had lunch too 
|
Posted By: dfrancis
Date Posted: 09 September 2006 at 7:27pm
|
"Not too bad though started this mod less than 2 hours ago and in that time I've had lunch too"
Depends on what you had for lunch. LOL... just kidding.
Not bad at all!!!!!!!
|
Posted By: dfrancis
Date Posted: 10 September 2006 at 11:22am
bootcom wrote:
Cheers
On the subject of week planner, I'm no longer using AJAX, as that uses XML open to database manipulation and security violations. Instead, I'm using remote scripting with the ASP scripts checking for authentication.
|
I'm glad to read that someone else shares my concerns. I thought I was being overly protective or that my Air Force "InfoSec" training was bleeding through.
I like some of the DHTML stuff that is being developed as a result of Ajax and there are some great things that can be done with the utilities of Ajax but just as Bruce has written before, many of those things were already being done long before the phrase "Ajax" was coined.
Anyway, I'm looking forward to see what you come up with on the calendar and other mods you plan to work on. Good to have you here.
(Early morning ponderings by an old man in Bowling Green, Kentucky USA)
|
Posted By: bootcom
Date Posted: 10 September 2006 at 1:13pm
|
Right, I've integrated the popup calendar from DHTML goodies. This basically means that an extra stylesheet link needed to be added to the new_topic_form.asp page. If you don't add that stylesheet link, it looks an absolute mess !!! The below screenshot shows what it looks like with the stylesheet, nicely formatted (but so far all this is untested in FF)
Once you have posted this new topic, here's how it looks on the calendar.asp page 
You can now see the multiple entries for this calendar, for 2 events. There doesn't seem to be any issues with the overlap or anything like that. The weekly calendar page still needs modifying to include multiple day event support. I will also go in and add some js validation so that when the event start date is changed, the event end date is automatically the same. Whoever takes this MOD on, I'd add some server side validation to do a check to make sure the start date is less or equal to the end date.
Just to add to your point on the last post, AJAX wasn't really developed for the "old" ASP language anyway, it's more of a .net thing from what I can see. For me though remote scripting is the best way forward. Maybe I'll get round to learning .net one of these days, or maybe I'll wait a good 10 years until they phase ASP out. Seems to me that whatever ASP.net can do ASP can do just as well, ASP just isn't as simplistic and straightforward.
|
Posted By: Mikey
Date Posted: 10 September 2006 at 1:51pm
Looks good so far mate..
P.S. i like the title of the forum lol 
------------- Handyman man?
|
Posted By: bootcom
Date Posted: 10 September 2006 at 3:41pm
Mikey wrote:
Looks good so far mate..
P.S. i like the title of the forum lol 
|
 hehe .... the things that happen when your scripts fold on you a couple of dozen times
|
Posted By: AndyBoot
Date Posted: 10 September 2006 at 5:05pm
Tested this today and I can honestly say that it is nicely set up!
One thing I didn't test was that if the end date was before the start date whether it would backtrack or not.
Ease of Use: 100%! (Click Start Field > Select Date > Click End Field > Select Date) Piece of Piss!
I actually added <hr style="color:#000000"> to the calendar.asp so that the events are seperated in some shape or form!
|
Posted By: ToJaRo
Date Posted: 10 September 2006 at 10:53pm
Nice work BootCom! Any idea on when this might be released as a MOD?
------------- ToJaRo
http://www.thesoupbone.com - The SoupBone Community
|
Posted By: bootcom
Date Posted: 11 September 2006 at 4:22pm
ToJaRo wrote:
Nice work BootCom! Any idea on when this might be released as a MOD? |
At the moment ? No idea. I don't mind putting the zipping the installation up and letting you guys view what i've done. Unfortunately though because I was in such a hurry to get this done I've not commented any of the code either so that (at the moment) you don't know it is a MOD. Also the week planner hasn't been modified so thats all to do still. To be fair I've been looking at this as a weekend project as I've been really busy developing my http://www.bootcom.co.uk - own site through the week.
I know dfrancis was interested in helping so if he wants to go through the code and comment it and sort out the week planner page, he and anyone else is more than welcome to have a go at it 
Let me know
|
Posted By: per4mance
Date Posted: 13 September 2006 at 3:56pm
hi guys,
hope to hear from you all soon, when the mod will be ready. the calendar idea is very good. 
|
Posted By: wistex
Date Posted: 14 September 2006 at 10:57pm
|
Impressive. This is exactly what I needed. I hope it comes out soon.
------------- http://www.wistex.com" rel="nofollow - WisTex Solutions http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums
|
Posted By: dfrancis
Date Posted: 14 September 2006 at 11:20pm
|
Sorry... I wasn't paying attention. Yes, I agreed to help if I can. Bootcom, I sent a pm with my email address.
|
Posted By: bootcom
Date Posted: 16 September 2006 at 11:54am
|
The mod has been completed. However, I don't want to release it until I can get all the code commented, which dfrancis has offered to do for me. Unfortunately, I just don't have the time with getting everything done on my own site.
If you feel that you just can't wait for the mod to be released then feel free to download a copy from http://www.bootcom.co.uk/wwf/MODS/calendar_mod_16092006.rar - www.bootcom.co.uk/wwf/MODS/calendar_mod_16092006.rar
Cheers
|
Posted By: per4mance
Date Posted: 18 September 2006 at 9:04am
|
@bootcom
Thank you for your work. I'll test your mod and will give you a feedback.
|
|