kevinjardine / elgg-event-calendar Goto Github PK
View Code? Open in Web Editor NEWThe Elgg event calendar plugin
Home Page: http://community.elgg.org/pg/groups/263011/event-calendar/
The Elgg event calendar plugin
Home Page: http://community.elgg.org/pg/groups/263011/event-calendar/
The user's "add" button goes to event_calendar/add/, which generates "There is no such group." Tried w/ admin and regular user.
In a group w/ one member I created an event. Although it says "Calendars (1)" next to the event, clicking that link returns a page that seems to show all admins, some twice. If I'm an admin it adds "Remove from calendar" buttons by each.
This occurs for group events created by both regular & admin users.
Tried with new and pre-existing groups.
Hi,
Is it possible to internationalize the fullcalendar Javascript using elgg_echo function ?
Thanks for this very useful plugin !
Rémy
Make it possible to define the background color for events when displaying them in the full calendar view. See discussion and screenshots in #51
Different approaches:
personal|#f0f0f0
important|red
etc.
These are then displayed in a dropdown input in the event form.
Fatal error: Call to undefined function event_calendar_get_formatted_time() in C:\xampp\htdocs\landing\mod\event_calendar\views\default\object\event_calendar.php on line 65
Non-subtype specific tag search - this occurs if an event has matching tags.
The URL event_calendar/list/2011-09-27/week/all
filters 25 Sep - 1 Oct, but Sept 24th is highlighted.
Similarly event_calendar/list/2011-09-11/week/
filters 11 Sep - 17 Sep, but the 10th and 18th are highlighted.
Instead of "Event Calendar", use "All Events", "My Calendar", or "Friends' Calendars" (depending on filter).
Breadcrumb can stay "Event Calendar"
Instead of "Event Calendar", use "Group Calendar"
Breadcrumb should be "Group Calendar"
elgg-menu-entity
):elgg-menu-item-access
) only on event pages, not listingsIf conference is initialized and then closed, attempts to re-initialize generate the following error.
FAILED invalidMeetingIdentifier The meeting ID that you supplied did not match any existing meetingshttp://onlinetest.education.ufl.edu/new-community/mod/event_calendar/images/ics.png
might be better usability for the link to copy ics link to clipboard, or initiate a popup div with instructions to subscribe to the calendar.
We're using the setting value "Site Calendar? yes, only admins can post events", and yet non-admins get the option of creating site events.
When adding an event in a group, the owner block correctly shows the group, but the default calendar is "Site-wide calendar". If the user does not change it, they end up with a site event instead of a group event.
I think if creating an event in a group container, the site-wide option should not be present even for admins.
Using the current "full" branch.
Even if the user is the owner of the group, there appears to be no way to add an event to the group calendar.
The all day event should not include any time selector and it should also include a "To" field so the All Day Event can span multiple days. Basically, the "All-day Event" displays the exact same information as the "Set day/time" option, except the "All-day Event" does not include any time selectors.
This may be related to #10. I'd say ideally the prev/next buttons would only trigger a page load in Month view. That would allow the user, in the other views, to move through the calendar to select a new day/week without confusing page reloads pushing them back.
I don't know if a session is only valid if entering it shortly after creating it, but we've done several tests where we created a calendar event that contained a BBB session, then tried to enter the session during the time the event was to be valid, and got a BBB error like this:
FAILED invalidMeetingIdentifier The meeting ID that you supplied did not match any existing meetingsThe BBB session should be a valid session during the configured date and times of the calendar event for which it is associated.
In month view, I think it's very confusing that selecting a different day changes the URL but not anything else.
I think ideally you'd have only the month selector present in month view: E.g., set .ui-datepicker-calendar
to display:none
and #my_datepicker .ui-datepicker
to width:16em
to fix the width.
For week view, I know there's no "week picker" in jQuery UI, so the full calendar is about as good as you can do.
Call to a member function getType() on a non-object in engine/lib/views.php on line 1333, referer: http://elgg.dev/event_calendar/list/
Took me a while to figure out, but it seems like email reminders are send only for events marked "public".
Would be nice if that could be changed or if there was an option in the settings to enable reminders for group only events.
Fatal error: Call to undefined function event_calendar_get_events_for_group() in C:\xampp\htdocs\landing\mod\event_calendar\start.php on line 403
This only occurs with a specific plugin setting enabled:
Automatically add group events for all members to their personal calendars - yes
If you enable the current Full version plugin, new users will be directed to a white screen after submitting their registration.
If I add an event to my calendar, or create an event, nothing ever shows up under "Mine".
On the Event Pages I get these errors:
Deprecated in 1.8: friendly_time was deprecated by elgg_view_friendly_time Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/strapline.php:12
Deprecated in 1.8: isadminloggedin() is deprecated by elgg_is_admin_logged_in() Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:12
Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:59
-> [#9] /home2/saananet/public_html/elgg/engine/lib/views.php:503
Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home2/saananet/public_html/elgg/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:62
-> [#9] /home2/saananet/public_html/elgg/engine/lib/views.php:503
Deprecated in 1.8: input/pulldown was deprecated by input/dropdown Called from [#11] /home2/saananet/public_html/elgg/engine/lib/views.php:503
On the settings page I get the following error:
Deprecated in 1.8: input/pulldown was deprecated by input/dropdown Called from [#12] /home2/saananet/public_html/elgg/engine/lib/views.php:503
When you are on the main group page and click the RSS feed button a full page error message appears:
"Fatal error: Call to undefined function event_calendar_get_formatted_full_items() in /myelggsite/mod/event_calendar/views/rss/object/event_calendar.php on line 16
A non-admin can't join a BBB session for a calendar event that an admin has created.
Would be great if there was also a widget for the index page (if using widget manager).
Apple iCal interprets:
DTSTART;VALUE=DATE:20111107T000000Z
DTEND;VALUE=DATE:20111111T000000Z
as
11/06/2011 7:00am
11/10/2011 7:00pm
The time added to the multiple date setting, screws up the display. It only shows as occurring on 11/07/2011 from midnight to midnight, rather than all week as intended.
DTSTART;VALUE=DATE:20111107T163339Z
DTEND;VALUE=DATE:20111107T173339Z
is interpreted as
11/07/2011 11:33am
11/07/2011 12:33pm
Google Calendar ignored the time stamps and set all events as all-day events.
Hi,
When I create an event, I choose a date, for example, July 7 2012 from the calendar, and create an event.
Once the event is created, on the Events calendar page when it;s listing the event, it shows as July 6 2012. Any day I choose from the calendar, when the start date and end dates are same, it always backdates it by 1 full day.
Is it something has to do with the time zone that I'm at? Please help. Thank you.
Odnoo
Thanks for sharing your work! :)
I have added several 'event types' on /admin/plugin_settings/event_calendar and would assume from looking at the code that in the form to add/edit an event these types should show up. (event_calendar/edit/xx) I'm using master from github with Elgg 1.8.16. Can you confirm this as a bug or is the issue only on my system?
btw: Working on a German translation atm.
Deprecated in 1.8: get_annotations() is deprecated by elgg_get_annotations() Called from [#20] /var/www/Elgg/mod/event_calendar/models/model.php:702
Deprecated in 1.8: count_annotations() is deprecated by elgg_get_annotations() and passing "count" => true Called from [#20] /var/www/Elgg/mod/event_calendar/models/model.php:786
Hello, I´m trying to implement the bigbluebutton. In the calendar configurations, this is what i have:
Big Blue Button server URL (must end with slash)
http://192.168.1.14/
Big Blue Button security salt
139e...
But im getting a Fatal Error, can anyone help me please, ill put a fragment of the error, thanks for your help:
Fatal Error.
String could not be parsed as XML
Exception Object
(
[message:protected] => String could not be parsed as XML
[string:Exception:private] => exception 'Exception' with message 'String could not be parsed as XML' in /var/www/elgg-1.8.8/mod/event_calendar/models/model.php:2388
Stack trace:
#0 /var/www/elgg-1.8.8/mod/event_calendar/models/model.php(2388): SimpleXMLElement->__construct('??<...')
#1 /var/www/elgg-1.8.8/mod/event_calendar/models/model.php(187): event_calendar_create_bbb_conf(Object(ElggObject))
#2 /var/www/elgg-1.8.8/mod/event_calendar/actions/event_calendar/edit.php(21): event_calendar_set_event_from_form('0', '121')
#3 /var/www/elgg-1.8.8/engine/lib/actions.php(104): include('/var/www/elgg-1...')
#4 /var/www/elgg-1.8.8/engine/handlers/action_handler.php(20): action('event_calendar/...')
#5 {main}
I created a poll and set the time to be 14:00. I then went to the "Invitee response" page where is shows the table with available times and options for me to select. The row containing the time only showed, "14:0" and was missing the trailing 0.
I'd like the menu to look like this.
I made this mockup by inserting the following markup in the filter menu:
<li style="border:0; padding-top:.4em; background:#fff; margin:0 -.3em 0 1.5em;">Show only those on:</li>
Regular users to not see the "Add Event" link.
When I click on an event and am not logged in I can still see the "manage subscribers" link in the popup and when clicking on it you get a full screen error page saying:
Fatal error: Call to a member function canEdit() on a non-object in /elggsite/mod/event_calendar/models/model.php on line 2032
Hi Kevin,
I just recently installed the latest 'full' version.
I'm able to create events, I just can't specify when I want them. Regardless of what calendar I'm on when I create an event, the scheduler body does not appear and when I 'Save and Continue' it creates the event on the current day. The Scheduler also does not appear when I attempt to edit the event. Any ideas what might be interfering with the Scheduler?
Thanks,
Elliot
I have the need to pass additional data (backgroundColor in particular) to the events json returned by event_calendar_get_page_content_fullcalendar_events(). I wonder what would be the best way to achieve this?
I suppose the full calendar view is the only one that has any use for backgroundColor and similar data, correct? So maybe the function could trigger a plugin hook?
Or would it be too excessive to attach all metadata (available to the current user) to the json? If this option was used other plugins could add metadata using events and plugin hooks, and all the added data would then be immediately available in the json on the client side.
How much metadata is there in a single event_calendar object? Is the latter one a bad idea?
Provides a paginated list of names in no particular order. We have created an autocomplete feature for adding which would work elegantly in this context.
http://community.education.ufl.edu/community/pg/file/dmccoy/read/135844/screenshot-of-autocomplete-for-add-to-groups
We also display users alphabetically by last name.
The reminders for "public" events send out emails, but there is no notification send through the Elgg message system. This is non-standard behavior as usually all emails send by Elgg are mirrored in the message/notification system.
Calendar scheduling allows the date/time to be before start date/time
It might be worth documenting here that this code goes in mod/event_calendar.
The widget on the group page and the profile page link to the
/yourelggsite/event_calendar/ which does not exists.
Group Calendar - Add Event
Calendar - request: Default to the current group instead of site-wide
Schedule - "To" request: Default to the "From" time so that event cannot end before it starts
Type of event: Remove "event_calendar:type" from category
Group calendar
View request: Default to current month instead of December
iCal requst: Turn the URL into a link so that it does not need to be copied and pasted. Cannot copy and paste using Chrome, can using FF 12.0
Add to another group: Acts like it works but does not add the event to the other group calendar.
Plugin compatibility request: Show group members and related groups in group sidebar
Widget
Clicking on the Event widget name goes to myurl/event_calendar/ which results in "Sorry. We could not find the page that you requested."
Request: Add group event_calendar widget
iCal
Exported calendar is empty. Does not contain any appointments when imported to Outlook 2010
Request: Rename export file calendar to [Site name]:[Group name]
Request: Export individual events as appointments
Admin notices
Long description
Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home/griffing/public_html/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:59
-> [#9] /home/griffing/public_html/engine/lib/views.php:503
Add this event to group
Deprecated in 1.8: You should pass $vars['name'] now instead of $vars['internalname'] Called from [#10] /home/griffing/public_html/mod/event_calendar/views/default/event_calendar/forms/add_to_group.php:62
-> [#9] /home/griffing/public_html/engine/lib/views.php:503
I think the plugin might benefit from moving some event related functions as methods of an EventCalendar class.
Some candidates:
Also many of the time formatting functions could be replaced with descriptively named methods:
$time = $event->getDateInSomeFormat();
Consider this scenario: the user is at event_calendar/list/
viewing the current month. They want to see what's happening on the 15th, so they click 15. 15 becomes highlighted for a second, then returns to 1. The user thinks something is wrong. Now if they happen to click "Week", the selected day jumps to 11. "I never clicked 11...". Finally they click "Day" and the 15th is finally selected.
You and I know that the highlighted date represents the first of the filtering period, but I think this is very confusing for users. I recommend:
From the group calendar (/event_calendar/group/#), "All" tab goes to event_calendar/group/#/2011-09-1/month/all and no events show up.
Similarly, switching between the "All" and "Mine" tab yields URLs like event_calendar/group/#/2011-09-1/2011-09-1/all (and no events displayed).
This is just an idea: Currently if a user can't make a site-level event, she can't make any event (outside a group). An option could allow non-admins to create site-level events, but only private.
This theoretically would let users create personal events for their own use, but without those being seen by other non-admins. Maybe only a few networks would find such personal tools useful, but would this work?
The issue seems to be the date format.
I changed the original format from:
DTSTART:20111107T000000Z
DTEND:20111111T000000Z
To
DTSTART;VALUE=DATE:20111107
DTEND;VALUE=DATE:20111112
Similarly, events with start and end times needed extra data, eg.
DTSTART;TZID=America/New_York:20111110T110000
DTEND;TZID=America/New_York:20111110T130000
If I'm the person creating the conference event, and I click on the "Join conference" button, BBB Starts, but immediately says, "The Connection to the server has been closed." I clicked on the OK button and it brought me to the main demo screen of our BBB install. If I go back to the event list in Elgg and click on that same conference title, it lets me in.
However, a user who did not create that conference did not experience the same issues and was able to access the conference with no problems.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.