Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Extensions / Work In Progress - Events\Calendar Update

1234>>>

An updated Events\Calendar plugin

MIHDev
#1 2010-11-20 04:17
Hi Everyone,

I am currently working on an updated version of the Events\Calendar plugin. (See Here)

Feature List / Updates / Bug Fixes (so far)
  • Support for sed-light skin
  • Support for Pages
  • Support for Aliased Pages
  • Linked Users with Spoiler style show/hide.
  • New Tags {EVENTS_REMAININGSLOTS} - For showing how many places are still available.
  • New layout for event pages
  • User avatars next to username
  • New details page layout (Work in progress) with show/hide functionality for attendees -
  • Added Mini Calendar to Event Details page
  • Per-event icons
  • New Tags {EVENTSDETAILS_COUNTRY}, {EVENTSDETAILS_COUNTRYFLAG} and {EVENTSDETAILS_LOCATION}
  • Private\Public Event Locations with Country and Flag icon
  • Fixed {EVENTEDIT_PAGETITLE} and {EVENTEDIT_SUBTITLE} language values not showing up.
  • Fixed incompatability with SED-Light template in event.edit.tpl and event.add.tpl
  • Support for Facebook 'Like' or 'Reccomend' buttons. (In progress)
  • New mode added for m parameter 'attendees' with params 'id' and 'state' - https://www.mihsoft.com/plug.php?e=events&m=attendees&id=1&state=1 (This will be shown in a popup window for each availability state or directly with the URL in a normal window with a View All option underneath each state.)
  • New configuration option EventDetailsMaxAttendeesDisplay = 10 (Default is 10 per category).
  • New configuration option ShowEventAttendeesInPopup = 1 (Default is 1 (True))
  • Support for Full-Calendar display by Category c=CatName
  • - Demo: Here
Next things planned are
  • Support for per-user or per-group event filtering or on-page display in Users section. (So that the plugin can be used as an availability matrix for teams).
  • Event Sorting by Date, Name or Category
  • Event Filtering by Category
  • Pre-Event Opt-In E-mail Notfications
  • Event Comments
  • Admin ability to Add/Remove attendees
  • Re-written English language file (Nothing wrong with the old one, just changed the wording)
  • TPL Support for categories events.*.tpl
  • User specific events (Public Calendar)
  • Non-attendance events (Team Whereabouts, eg: MIHSoft team is at IP Expo)
  • New BBCode for Events which links to a mini event description
  • jQuery or similar hover over link (day/date) for event information
  • Direct links to Calendar in Events page for easy switching between the Calendar and the Events plugins
  • New Event Category Colours to distinguish events from different categories in the Calendar (Suggested by Hodges)

Screenshot(s):

Avatars next to usernames

Updated Details page


Latest Demo: Here

Download:

Beta 2.2.08 is now available - Download - (This includes an updated SQL script based on the original update posted by Trustmaster in the original Event Calendar v2.1 download).

PLEASE NOTE: This is a first beta and many of the functions are still being actively worked on. The code may contain bugs, defects and or other issues and is provided with no warranty of any kind, implied or otherwise. Some of the functons present in the BETA may not be present in the final versions. I do not recommend using this on LIVE sites, it is for testing purposes only, please excercise extreme caution!.

Installation instructions

Step 1: Run the appropriate SQL script for your version.
Step 2: Copy the Events and Calendar folders to the Plugins directory on your server.
Step 3: Open the Admin panel and Install the plugin.
Step 4: Navigate to plug.php?e=events and plug.php?e=calendar

Disclaimer: I am not and do not claim to be the original author and\or creator of the plugin mentioned at the top of this post.
[b]Know the question and you will be far more likely to get an answer.[/b]

This post was edited by MIHDev (2010-12-06 08:05, 8 years ago)
esclkm
#2 2010-11-20 04:20
What is the main calendar, which you transform?
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
MIHDev
#3 2010-11-20 04:23
[b]Know the question and you will be far more likely to get an answer.[/b]
esclkm
#4 2010-11-20 04:50
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
MIHDev
#5 2010-11-20 04:54
I'm not sure what you mean by bike creator?, I have never seen your calendar plugin :/ , so my apologies if I have offended or annoyed you in any way.

The version I am working on is simply an update to the original one posted for download by Koradhil and originally from Seditio as stated in my post. I just thought it may be nice to share my updates on Cotonti. I am not and do not claim to be the original creator or owner, I am simply putting in some new features which are not from any of your ideas or code. As I said before I had never seen your version of the plugin.
[b]Know the question and you will be far more likely to get an answer.[/b]

This post was edited by MIHDev (2010-11-20 05:09, 8 years ago)
GHengeveld
#6 2010-11-20 05:59
As far as I can see the thing MIHDev is creating is different from the calendar plugin from seditio.by.
I think we should support improving or forking of existing plugins. In fact, any development is welcome, including plugins that are similar to others.

I like the planned improvements. I'd really like to see an ajax-based calendar so you can simply include it in any page using javascript.
MIHDev
#7 2010-11-20 06:28
Great suggestion Koradhil :)

I have only used AJAX in ASP.NET before for a CRM system, so this will be a fun new challenge.

Now I just have to find my AJAX book lol :)

Added 2 hours 12 minutes later:

Support for Full calendar display filtered by category has now been added - Demo: Here
[b]Know the question and you will be far more likely to get an answer.[/b]

This post was edited by MIHDev (2010-11-20 08:40, 8 years ago)
ez
#8 2010-11-20 17:20
@MIHDev: Ajax questions.... send them to me.

I love Ajax, and can really help you with that.
And keep developing :)
==- I say: Keep it EZ -==
Kort
#9 2010-11-20 17:38
99% potential clients would need the following capabilities:
- search through events
- tag events
- comment events
- rate events
- flexibility to manage events
- see events categories in the sitemap
Initially I planned to use Korandil's events plugin to cover events/calendar requirements for one of our projects, but very quickly I had to discard the idea because this would have required a lot of extra work without any flexibility.
Basically, I would have to say to my client:
- I have to hack the search plugin, so if it is upgraded in a future Cotonti release, you'd have to re-hack it, or maybe I'll do it if I have time
- no
- no
- no
- maybe
- no
On top of that, if the client selects to add, let us say, entrance fee or something else, I would have to modify the plugin over again and adjust the db also.
Having considered that, we decided to use pages/lists for events and write our own (pretty small) calendar plugin to have a calendar representation of pages/lists. Plus we used our own Bookmarks Pro plugin to cover attendance requirements. Simple and effective.
Right now the client has events that everyone can:
- search through
- tag
- comment
- rate
Event categories (just like any page cat) is in the sitemap, and if I have to add any extra events info like fee, address, location, type, etc, I simply use extrafields.
I apologize if I anyone got hurt due to the aforementioned.
Seditio.by - создание сайтов, разработка плагинов и тем для Котонти
MIHDev
#10 2010-11-20 19:44
Hi Kort, great suggestions and questions.

I have provided support in the next version for Searching events and direct category integration with the standard sed_structure and sed_pages tables via a switch in the Config.

For the next version events will be integrated directly as Pages rather than separate entities.

I agree that Entrance Fees and things are good, as you said you used ExtraFields, this was what I was thinking with switches in the admin panel for Configuring fees and stuff like that.

Thanks for all the superb suggestions :)

Added 26 minutes later:

The details screen is coming along nicely, here is a screenshot
[b]Know the question and you will be far more likely to get an answer.[/b]

This post was edited by MIHDev (2010-11-20 20:11, 8 years ago)
Kort
#11 2010-11-20 20:37
What is mean is: it makes no sense to use own structure and reinvent bicycles integration. Why not using pages as they are??? Page is just a name. It can be events just like used cars or books. Calendar frontend + lists/pages can be easily augmented with filters or supporting plugins written "on demand" for each specific customer. This way you have a mass-produced basic product (calendar) and support plugins (attendance, bookmarks, filters etc) and this way you'd follow the modular approach. That is what Cotonti is about. Facelifting obsolete and awkward plugins is just a waste of time, unless you're just wanna do it for your own reasons.
Seditio.by - создание сайтов, разработка плагинов и тем для Котонти
MIHDev
#12 2010-11-20 21:09
Hi Kort, yes that is what I am doing for the next version, full integration with the pages, lists and standard categories system and Search. :)

Added 57 minutes later:

Added support for
  • Linked usernames
  • Avatars
  • New Tag {EVENTSDETAILS_REMAININGPLACES} to show how many places are still available at an event.
  • Linked Users with Spoiler style show/hide.
[b]Know the question and you will be far more likely to get an answer.[/b]

This post was edited by MIHDev (2010-11-20 22:12, 8 years ago)
Kingsley
#13 2010-11-20 23:52
I think I'm gonna like the new calendar..
MIHDev
#14 2010-11-21 00:59
@ez - Thanks m8, will definately be sending you a pm for some help with the Ajax parts. :)
@everyone - I am currently studying for an exam but you can expect the first Beta version of this plugin by tonight :).

Added 3 hours 41 minutes later:

  • Details page layout is done -
  • Added Mini Calendar to Event Details page

  • Last things to do for now are to tie-in the Mini Calendar with the Active Event on the page and add a new config option for how many attendees to display on the details page then I will bundle it all up ready for beta testing.
    [b]Know the question and you will be far more likely to get an answer.[/b]

    This post was edited by MIHDev (2010-11-21 04:42, 8 years ago)
    esclkm
    #15 2010-11-21 16:46
    Every little step like big event :)
    littledev.ru - мой маленький зарождающийся блог о котонти.
    снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты

    1234>>>