Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Calendar of events (moved topic)

Quote Reply
Calendar of events (moved topic)
Per this conversation:
http://www.gossamer-threads.com/...i?post=294009#294009


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
Quote Reply
Re: [SandraR] Calendar of events (moved topic) In reply to
What kind of functionality should be included?
Do we need a permissions system for who can/cannot manage the events?
What about database structure?

Philip
------------------
Limecat is not pleased.
Quote Reply
Re: [fuzzy logic] Calendar of events (moved topic) In reply to
This is my testing area, where I develop any site or plugin.

I decided to develop it manually, I know itís archaic but it helps me to decide what functionalities would be needed or not needed.

http://aaa.ssan.com/...nts%2Findex.html;d=1

General Idea's
  • Auto calendar creation to include holiday color difference
  • I am trying to think through how to show when an event has been added?
  • Most recently added events like what you have. (user can set the amount 5/10/20 to display)
  • Recently added Events Page - similar to the New page.
  • Additions and modifications should be handled in the normal way any link is added, through initial registration.

  • Notifications:
  • Addition to the subscribe options to offer; immediate or daily notification.
  • Voice mail notification.
  • Cell phone notification.

  • Managent
  • Moderators as management. What level of access?



  • Sandra Roussel
    Chonsa Group Design - Fresh Start Housing

    Last edited by:

    SandraR: Sep 23, 2006, 12:36 PM
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    Yesterday I worked out a plugin for creating archive categories as needed.

    After initial installation, you designate a category for the archive's root then plug the category's ID into the plugin config. Then you choose a category structure (ie, '%yyyy%/%mmmm%/%dd%'). Then clicking 'rebuild', it generates all the required categories and adds records to CatLinks.

    After that, the system will run hooks on add_link, modify_link, and delete_link to automaticly add or remove categories when needed. "rebuild"s are needed only when changing the category structure.

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    Excellent

    Recurring events should this be an option?

    Or does that take us into a different realm?


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    Yes, I think that's something that can't be left out.

    Here's my idea on this:

    You have two fields for dates (start date, end date).
    Another field for frequency (none, daily, weekly, etc.).

    Some math is done with GT::Date::date_add() to handle the above calculations and category placement.

    I'm off from work tomorrow so I'll have some time to test this out.

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    I have a class to teach tomorrow so it will be afternoon before I can play again.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    I just wasted several hours trying to figure out how to get a "pretty" name for each directory. I had assumed you could change Name independantly of Full_Name, but it didn't work for me. Anyway, I added a new column to the Category table called "Display_Name".

    So now, not only can you define categories using %xxxx% format, you can set up a display name for each as well with the same method. Display_Name takes the place of 'category_short'.

    example:
    Code:
    Category structure: %yyyy%/%mmmm%/%dd%

    Format Result
    ---------------------------------------------------------------------------
    %yyyy% 2006
    %yyyy%/%mmmm% 2006/September
    %yyyy%/%mmmm%/%dd% 2006/September/26

    Name Format: %yyyy%/%mmmm% %yyyy%/%dddd%, %mmmm% %dd%, %yyyy%

    Format category_short Display_Name
    ---------------------------------------------------------------------------
    %yyyy% 2006 2006
    %mmmm% %yyyy% September September 2006
    %dddd%, %mmmm% %dd%, %yyyy% 26 Tuesday, September 26, 2006

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    Lovely I like the ability to select the format you want.
    -- When adding an event are you going to be able to add this forum type interface? (WYSIWYG)
    -- Do you have an area where you plan to test the plug-in so we can play and add more requests and/or options?
    -- Holiday? An additional holiday library, which an administrator can add additional holidays dependent on race or type of events. I have seen off the wall holidays that are celebrated, which can make this plug-in really fun.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    I'm not sure what to do about a WYSIWIG editor. I have tried unsuccessfully in the past to integrate editors such as FCKeditor into Links. I don't know enough JavaScript to properly debug why I have so much problems with this.

    Holidays... Is there a comprehensive list you suggest? Just need something to start off with to pre-populate a table.

    I'll set up another copy of Links on my site soon dedicated to the demo.

    The calendar sidebar is still being generated by a seperate plugin. I'll need to copy/customize some code from ArchiveBuilder for this, but it should be pretty easy to do.

    How would you go about with the notifications?

    edit... looks like I broke something :-(

    Philip
    ------------------
    Limecat is not pleased.

    Last edited by:

    fuzzy logic: Sep 26, 2006, 6:00 PM
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    -- Notifications; lets not make this harder then what it needs to be -- lets leave normal email notification if they subscribe to the events calender. Later we can tweek.

    -- Question: are we still at $50 for the plug-in or are we taking this to a different level?

    -- Admin level Holiday addition to include user additon - Birthday's Etc (future projects????):

    Holidays and Observances

    Jan 1 New Year's Day
    Jan 2 Last day of Chanukah (Jewish)
    Jan 2 'New Year's Day' observed
    Jan 7 Orthodox Christmas (Orthodox)
    Jan 10 Eid-al-Adha (Islamic)
    Jan 14 Orthodox New Year (Orthodox)
    Jan 16 Martin Luther King Day
    Jan 31 Muharramn/New Year (Islamic)
    Feb 13 Tu BíShevat (Arbor Day) (Jewish)
    Feb 14 Valentine's Day
    Feb 20 Washington's Birthday
    Feb 28 Shrove Tuesday (Christian)
    Mar 1 Ash Wednesday (Christian)
    Mar 14 Purim (Jewish)
    Mar 17 St. Patrick's Day
    Mar 20 Vernal equinox
    Apr 2 Daylight Saving Time starts
    Apr 9 Palm Sunday (Christian)
    Apr 11 Prophet's Birthday (Islamic)
    Apr 13 Maundy Thursday (Christian)
    Apr 13 First day of Passover (Jewish)
    Apr 14 Good Friday (Christian)
    Apr 15 Holy Saturday (Christian)
    Apr 16 Easter Sunday (Christian)
    Apr 17 Easter Monday (Christian)
    Apr 20 Last day of Passover (Jewish)
    Apr 23 Orthodox Easter (Orthodox)
    Apr 25 Yom HaShoah (Jewish)
    May 3 Yom HaAtzmaut (Jewish)
    May 5 Cinco de Mayo
    May 14 Mother's Day
    May 16 Lag B'Omer (Jewish)
    May 25 Ascension Day (Christian)
    May 29 Memorial Day
    Jun 2 Shavuot (Jewish)
    Jun 4 Pentecost (Christian)
    Jun 11 Trinity Sunday (Christian)
    Jun 15 Corpus Christi (Christian)
    Jun 18 Father's Day
    Jun 21 Summer solstice
    Jul 4 Independence Day
    Aug 3 Tisha B'Av (Jewish)
    Sep 4 Labor Day
    Sep 23 Rosh Hashana (Jewish)
    Sep 23 Autumnal equinox
    Sep 24 Ramadan begins (Islamic)
    Oct 2 Yom Kippur (Jewish)
    Oct 7 First day of Sukkot (Jewish)
    Oct 9 Columbus Day
    Oct 9 Leif Erikson Day
    Oct 13 Last day of Sukkot (Jewish)
    Oct 14 Shmini Atzeret/Simchat Torah (Jewish)
    Oct 19 Lailat Ul Qadr (Islamic)
    Oct 24 Eid-al-Fitr (Islamic)
    Oct 29 Daylight Saving Time ends
    Oct 31 Halloween
    Nov 1 All Saints Day
    Nov 10 'Veterans Day' observed
    Nov 11 Veterans Day
    Nov 23 Thanksgiving Day
    Dec 3 First Sunday Advent (Christian)
    Dec 16 First day of Chanukah (Jewish)
    Dec 22 Winter solstice
    Dec 23 Last day of Chanukah (Jewish)
    Dec 25 Christmas Day (Christian)
    Dec 26 Kwanzaa (until Jan 1)
    Dec 31 Eid-al-Adha (Islamic)
    Dec 31 New Year's Eve


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    FYI: I have tracking at the test site and we are receiving over 1K hits a day looking for the calendar. I think the visitors thought it was up (not sure maybe nosey).

    I pulled the examples down folks - that site is where I develop templates or work on my ideas. You are more than welcome to visit - just to let you know itís a working/development site and things change there chronically.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    No, I won't be increasing the price any.

    However, this plugin is turning out to be quite different in code (aside from the calendar part) from ArchiveBuilder since all it's really doing is looking at all the links and assinging each alternative date-based categories. Thus, Links does all the work generating the pages. In contrast, ArchiveBuilder has to do all of that itself (creating a virtual category tree, page spanning, etc.) and it gets messy prettly quick.

    I'm currently working on the build process. Making sure you can see what's happening and what not.

    Attached is a screencap of the build.

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    sweet :D


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    The holidays are partially set up. The table has columns for listing the holiday name, type of holiday (ie, religious), religion, region, and details about the holiday.

    to do on this:
    --add/delete/modify system
    --next 'x' upcoming holidays list
    --customize calendar system to reflect holidays

    other plugin related:
    --need to add option to generate categories for unused dates
    --work on handling recurring events
    --a method to do builds based on a date range??

    any thoughts?

    http://www.perlmad.net/site/By_Date/index.html

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    As this is not heavy Ė would it be possible to set build option?
    Build next month.
    Build next 3 months
    Build next 6 months
    Build 1 year

    As for the WYSIWYG: I donít see any threads on the issue, would it behoove us to ask around and see if anyone has had any luck with it?


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    I don't know if this is related to what you are looking at doing, but here:

    http://www.phpfoxdemo.com/events/

    Might give you some good ideas.

    - Jonathan
    Quote Reply
    Re: [jdgamble] Calendar of events (moved topic) In reply to
    That's interesting, but somewhat outside the scope of this plugin. The primary purpose of this plugin is to take existing listings (categorized by type of event, location, etc.) and replicate them in a date based category. That's not to say it couldn't have some of that functionality in the final version; a customized search form and a couple of template globals can emulate some of what's shown on that page, but overall that's really a 'community' program and a project for another day.

    Philip
    ------------------
    Limecat is not pleased.

    Last edited by:

    fuzzy logic: Sep 27, 2006, 11:36 PM
    Quote Reply
    Re: [jdgamble] Calendar of events (moved topic) In reply to
    That looks sweeeet :D

    Is the calander page in template or a mian link?

    That is simply beautiful - love the way you did that.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    Thought I would stop by and say is everyone off ffor the weekend?


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    no, quite the contrary. I got stuck with a 6 day streak without any time off Frown

    I don't function well after 9 hours on the sales floor of a busy retailer. Tongue

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    Sales floor?
    What's that?

    I click and purchase not sure when the last time I saw a sales floor, apparently they still have them.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    LOL, yeah. I buy online just about everything except groceries.

    Anyway, I *hope* to I'm not still working there much longer. I need to stick it out through next August so that I get all my benefits.

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    Some thoughts here...
    There is no problem to do 'repeat every x days', but to do stuff like 'every third Friday' can make things pretty hairy. I this neccessary? If so, do you have any suggestion on how to do this?

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    I do think its necessary to have "'every third Friday'".

    How about city council meetings, which are normally set for the 1st Monday of every month or stuff like that.

    As for how to do it: I was taking tips from Microsoft Outlook and it can't do it either.

    Guess its not going to be an option if Microsoft can't figure it out, for a $50.00 plug-in itís probably not worth the headache.


    I found this thread started Birthday Plug-in do you think this can work in the forum? Would be an excellent plug-in for just about any application.

    Oh that reminds me I have to let a few people know about this as they could really use this plug-in.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing

    Last edited by:

    SandraR: Oct 2, 2006, 3:44 AM
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    I was thinking about it a little more and I think it can be done. I'll have to experiment a little and see what I can come up with.

    the problem isn't just 'is this Friday?', because I can do that using date_transform(), but more importantly, "is this the *third* Friday?". And things can get more complex from there.

    I'm going to give it try.

    [edit]
    I just made this quick form:
    http://www.perlmad.net/form.html

    Any suggestions/comments?

    Philip
    ------------------
    Limecat is not pleased.

    Last edited by:

    fuzzy logic: Oct 2, 2006, 10:13 AM
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    Event form is turnng out awesome.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    Thanks. But validation and programming in the various combinations is going to be a pain in the arse. Pirate

    I think the birthday thing with GForum... IMO, the best way to tackle that is to do the plugin with Community instead (so it can be used with Links/GMail/GForum). I don't have any experience with Community though.

    Come to think of it, THIS plugin would really be better off written for Community, but using Links as the base makes it the easiest to work with.

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    Using Links as the base, then perhaps someone with community experience can help to make it community compatible?

    I am eager to see it work - can't help myself --- love --- new plug-in toys :D


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    I'm sending you a PM shortly with a demonstration of some of the code.

    It's turning out to not be nearly as complicated as I previously thought. I do wish GT::Date had more date calculation functions (ie, like what is found in Date::Calc, DateTime::Event::Recurrance, etc.) to make things a bit easier.

    Philip
    ------------------
    Limecat is not pleased.

    Last edited by:

    fuzzy logic: Oct 4, 2006, 9:36 PM
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    I made the small town paper : http://www.claycountydemocrat.com/...10/04/news/news1.txt
    the plugin will be noticed.


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing

    Last edited by:

    SandraR: Oct 4, 2006, 9:41 PM
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    Very cool!

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    A thought...

    What if you want to have more than one calendar of events?

    Say you want one calendar under the category: Business and another calendar of events located within schools.

    Will this be a possible option?


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    I'm watching this one. This is exactly what I need to upgrade a current project. Anything I can do (with my limited abilities) to assist and get this one ready to go... please let me know...
    Quote Reply
    Re: [markhe] Calendar of events (moved topic) In reply to
    I'm sorry this is taking so long. Multiple projects, limited free time Frown

    Sandra, yes, you'll be be able to have calendars for each category as well.

    Philip
    ------------------
    Limecat is not pleased.
    Quote Reply
    Re: [fuzzy logic] Calendar of events (moved topic) In reply to
    Ping! - just wanted to make sure you did not forget about us :D

    Happy November to everyone who is looking :)


    Sandra Roussel
    Chonsa Group Design - Fresh Start Housing
    Quote Reply
    Re: [SandraR] Calendar of events (moved topic) In reply to
    no, haven't forgot ;-) I'm still here, but I'm focusing on my PingServices plugin at the moment. I promised Jag I'd look into an issue he had with it and I've been putting it off (he's been running some of my plugins as a work in progress), so I really need to work on finishing that up first.

    Philip
    ------------------
    Limecat is not pleased.