CUL Upcoming events

Maintained by Tim Gagen, Amanda Doughty
A block that is similar to the core Moodle Upcoming Events Blocks but displays the events in a news feed style.
Price option: Free

Supports Moodle 2.6-4.1 See all versions
Latest release: 4 years ago
Installations: 78
Downloads (last 90 days): 41

Frankenstyle name: block_culupcoming_events
Blocks

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Great, thank you for taking prompt action
You have uncovered a bug. The block should show events in context. On the front page it should show all of the events a user has access to and on a course page only events for that course. I'll fix this today.
Great plugin, I have installed it on Moodle 2.9.1.
Although the core Moodle Upcoming Events Block has the same issue on the front page, it would be nice if the CUL Upcoming Events list on the front page only displays the events where the logged in user has access to, just like the Module Events list on course level does, or at least offer a setting to choose it yourself.

I am happy to let you know this plugin received the Reviewers' choice award. Well done!

Hi Derek,
We are moving to 2.8 next summer and will be testing all of our plugins between now and April. Any issues with 2.8 will be fixed by then. The in house blocks will take priority so I expect to have a 2.8 ready and tested version by the end of Jan.
Does this work with Moodle 2.8?
-Derek
Thanks for providing the new version so promptly!
Thanks both for another nice and useful contribution to Moodle. The code is clean and easy to follow. The only issue I was experiencing during the testing was that a new course event actually appeared twice in the block (with the same URL of the "Visit" link). I have a suspicion this is caused by the AJAX loader. With javascript disabled, the event is listed just once as expected (as if the event items got there from both normal and XHR request).
Clicking the "Reload" icon leads to "PHP Notice: Undefined variable: fromtime in blocks/culupcoming_events/locallib.php on line 359" (this part of the code seems to be copied over from another function where the variable is correctly initialised). Let me suggest to pay extra attention to debug notices thrown in AJAX scripts by watching the error_log on your terminal.
I believe you will explore the situation and provide an updated version that would fix these bugs soon. With that hope, I am going to approve this block now. Good luck with maintaining and further development of the block. You are cleared to land now, welcome to the Plugins directory!