I wrote a little calendar module, that adds a calendar to the toolbar, and lets you tag your posts so their titles show on a community calendar for your site...
it also has a freetextbox wrapper with an integrated popup date picker, this feature was a last minute adder, and only really works for USA dates, and is probably not appropriate for large sites....
I will work on providing a better wrapper for the calendar picker button, and will probably make adding a post to the calendar require moderate permissions... The source for this control will also be made public when I can get it cleaned up.
Dan
This is the excerpt from the files libarary where you can download the control
http://communityserver.org/files/40/csmodules/entry513095.aspx
I just wanted to start a thread for discussions on the topic....
I still need to update my old FreeTextBoxWrapper code; right now, I just replace the standard telligent wrapper, which was a shortcut, and isnt very user friendly of me...
Also I plan to update the control to make placing items on the calendar require the user have moderator / admin or owner access to the forum / blog / gallery / or file gallery they are trying to add to the calendar...
I should have a plan on how I am going to drop the source for this too after my meetings at Telligent HQ this week...
Stay tuned, and thanks for the compliments; too bad I didnt win =P
Can I also suggest an enhancement that if someone in their profile has selected to enter their birthday that their username be placed in the calendar entry coinciding with their day as
Username's Birthday
This would link to their profile view. Something I know many other php boards do and would be a real nice feature for a community. Obviously for larger boards it may be inpractical so an on or off setting to display this on the calendar might also be handy. I don't think its necessary to calculate how many years old they are but maybe an option in the display... Username's XXX Birthday
Thanks for your consideration.
P.S. Sorry it would be nice when you opened the calendar that the current day was highlighted differently.
Hey Dan,
Interested in adding time funcitonality to it at all? I sort of hacked it together on my CS installation, but wouldn't mind assisting in getting it to work for all timezones etc. Maybe have the tag look like [cal]01-01-2006 07:00[/cal] or other valid string. Then in the DatePicker module having three textboxes that would be hour, minute, second. The reason I ask is that having just the event show up on the day cell is a bit ambiguous if you have > 3 items. Also I extended it to actually replace the [cal] tag with text that says the date that the event is taking place in the post too. So in mine it replaces
[cal : 01012006070000] with "This event will take place Monday January 01, 2006 at 07:00 am". which makes it easier to identify when it is taking place after clicking on the event link.
Also how were you thinking of separating your toolbutton from replacing the FreeTextBox.dll?
Additionally there is something wrong with the calendar module when an anonymous user attempts to view it (it throws an exception).
I think this is a really cool idea for any community to have so thank you for all of the hardwork and time you put into it.
(I just realized I am rambling, sorry but I woke up at 5 am this morning and am running on low fuel.)
"When the gods choose to punish us, they merely answer our prayers." -Oscar Wilde
Dan,
I hate to bother you but can you direct me to any info in regards to the following error for your great calendar module?
The located assembly's manifest definition with name 'ComponentArt.Web.UI' does not match the assembly reference.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Many thanks in advance!
Rick
Are you running the latest version, I had updated it on 2-22 to work with the CA control we shipped with CS2.0 RTM...
Oops.. My bad - It works like a champ now. Thanks again
P.S. How hard is it to convert from the free 2.0 version to the Standard Edition?
CS Licenses? You just buy them, and add the license file via the CS Control Panel... The core CS code is all the same, so there are no other changes required (unless you are installing the other addons like FTP, Mail Gateway, or Enterprise Search...)
Component Art is a different story, the version reference is compiled into our application, and at best you will have some compiler warnings about virsioning...
If I add a calendar even in a forum where regular users don't have permissions, I see it just fine, but if I login as a reg user or do not login at all the calendar throws this error:
[NullReferenceException: Object reference not set to an instance of an object.] CommunityServer.Components.Permissions.ValidatePermissions(Section section, Permission permission, User user, Post p) in D:\src\slashpoker.com\trunk\src\Components\Permissions.cs:36 CommunityServer.Components.Permissions.ValidatePermissions(Section section, Permission permission, User user) in D:\src\slashpoker.com\trunk\src\Components\Permissions.cs:28 DanBartels.CS.Calendar.Components.CalendarItem.UserCanView() +85
After some debugging (I don't have the cal source though so I have no Idea what the calling method is doing) I find that when it hits the section for the post where everyone and registerd users have no permissions, it calls the above method passing in a null value for that section.
FYI I am using the 2.0 assembly.
Will the source be release soon so that we can debug stuff like this?
Ideas?
Well.... I seem to have an issue with the calendar control.I just downloaded the newest version, installed it on my test machine, and it worked perfectly.I installed it on my live machine, and it seemed to work fine. Until I added some dates to a future month. Then we I go to the calendar page, and try to switch to a previous, or the next month, the control just states that it's "Loading"
I removed the dates that I posted in the forum messages, and tried it again, and it still does the same thing (doesn't do it on my test machine)
When I look at the IE browswer, it has an error indication in the bottom left had, and when I view the details, it stats the following...
Line: 2Char: 3002Error: Object doesn't support this property or methodCode: 0URL: http://sbs2003.playmor.com/cs/calendar/default.aspx
I know this probably doesn't help much on determing the problem, but I thought I would ask any suggestions anyone might have.
Terry Fox www.playmor.com
After reading the article, it sounds exactly like my problems.I'm sitting behind an ISA server, and I'm having problems with some of the other controls also, it just wasn't a big enough deal for me to mess with yet, but the calendar control was kind of important to me.
Hopefully the can figure it out, it would be nice to get everything working the way it's supposed to.It's unfortunate though that I have to go in and change code to get, say, the email problem resolved, you would think this would have a simple update we could download, but o'well.
Thanks for the info though, it was very helpful, and I'll start following that forum also.
ggsoftware:Hi Dan,Do you have an update on your Calendar control? I could really do with the calendar posts being restricted to moderator/admin. Alternatively, is the source now available?
Same here, could do with the source code to restrict access
The UKs best resource for the Golf, Bora, Jetta and Scirocco
Audi Forums, Galleries and Blogs
ggsoftware:Hi Dan,Do you have an update on your Calendar control? I could really do with the calendar posts being restricted to moderator/admin. Alternatively, is the source now available?Thanks for the great work!
The calendar is amazing but it is kind of scary to run it without any control on who can use it. If anyone updates this to restrict access please let me know. I would like a copy of the new dlls...
Thanks in advance!!
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com