Calendar

Calendar [Paid] 2.5.6

No permission to buy ($60.00)
sorry im blowing it up a little(im helping😂) seems i found a minor oddity tho....

ive enabled birthdays then clicked schedule.....it lists for january 2024, then nov/dec 2024....seems like its thinking to list jan 2025 but did 2024 some reason....

regards
 
I've installed the latest version (2.5.4) on my test server running XF 2.3.4 (more or less blank install barely any addons, upgraded from 2.2 and calendar for 2.2 to 2.3 and calendar 2.5.2 and now 2.3.4 and calendar 2.5.4) and focussed mainly on repeating events. Did a really quick and basic test and found a couple off issues:

- created an event for today (thursday, Nov 21st) an set it to "repeating every month on the first wednesday" (which is obviously a bit of a strange setup). W/o complaining or notifying it caledar self-adjusted the event date from Nov. 21st to Dec. 4th (which is indeed the next first Wednesday of a month). So in one way brilliant, however, a hint on saving that somesthing is odd and some adjustments will be made would have been really good.
Bildschirmfoto 2024-11-21 um 12.14.43.webp
Bildschirmfoto 2024-11-21 um 12.16.18.webp

- trying to send an alert to participants ands up in an error message:

Bildschirmfoto 2024-11-21 um 12.18.29.webp

Bildschirmfoto 2024-11-21 um 12.18.43.webp

- Entering a not predefined location while creating an event brings up exclamation marks in the location field (API key is set correctly)
Bildschirmfoto 2024-11-21 um 12.13.31.webp
however: if you type in your location and it is somewhat unique it will show up correctly in the map later (as in the screenshot above with Camden)

  • if the location is not unique or not identified like i.e. Paris it will not show up as a map (and one cannot fix it)
  • if you edit the event and try to fix the location the same behaviour occurs AND after saving the event has been "auto-set" to recurring (which never was the intention) - even if you successfully managed to set a custom location:

Bildschirmfoto 2024-11-21 um 12.29.06.webp

Bildschirmfoto 2024-11-21 um 12.29.22.webpBildschirmfoto 2024-11-21 um 12.25.18.webp

Bildschirmfoto 2024-11-21 um 12.58.07.webp

  • when you RSVP to a recurring event it is unclear what you are commiting to: The first iteration, the current iteration or all iterations. You can however only RSVP once.
  • Same goes for the creator when looking at the attendee list: completely unclear to which iteration the attendess RSVPd
  • if you have "grid view" set as the standard view (as I have) it is easy to switch to calendar view (and from there to list view or schedule), but from neither of them you get back to grid view
  • neither calender view not list view nor schedule show repeating events correctly.
  • list view seems to start at the actual date and is cut at the end of the year (so future events are missing), it displays multi-day events as multi day events
Bildschirmfoto 2024-11-21 um 13.05.31.webp
  • schedule view shows the whole year (including past events), but does not display multiday events correctly (but as single day events)
Bildschirmfoto 2024-11-21 um 12.57.09.webp

  • while in the popup the multiday event is indeed a multiday event, dates are wrong: time is counting backwards on the above screenshot - in fact the event is set for dec. 26th - dec 31st:
Bildschirmfoto 2024-11-21 um 13.18.48.webp
  • also, in schedule view the current year is displayed as "today" which is only a small, but still irritating misbehaviour. If you switch to "next year" ist still named "today"
Bildschirmfoto 2024-11-21 um 13.12.29.webp
  • calendar view is ignoring multi day events completely:
Bildschirmfoto 2024-11-21 um 12.37.24.webp

As much as I like the new, more complex options for recurring events (have been eagerly waiting for it) these bugs found on first sight are way to cumbersome to use the product on my live system.
 
Last edited:
When I try to upgrade Calendar from XF1 to 2.3 I get the error below. I'm not able to upgrade the addon:

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'devdf.xf_nf_calendar_event_feature' doesn't exist src/XF/Db/AbstractStatement.php:230

Generated by: Alfa Jan 4, 2025 at 8:20 PM

Stack trace

SELECT event., event_feature.
FROM xf_nf_calendar_event AS event
INNER JOIN xf_nf_calendar_event_feature AS event_feature
ON (event_feature.event_id = event.event_id)
ORDER BY event.event_id ASC
------------

#0 src/XF/Db/Mysqli/Statement.php(207): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(46): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(61): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(167): XF\Db\AbstractAdapter->query('SELECT event.*,...', Array)
#5 src/addons/NF/Calendar/Setup.php(893): XF\Db\AbstractAdapter->fetchAllKeyed('SELECT event.*,...', 'event_id')
#6 src/XF/AddOn/StepRunnerUpgradeTrait.php(124): NF\Calendar\Setup->upgrade2050000Step2(Array)
#7 src/XF/AddOn/StepRunnerUpgradeTrait.php(73): NF\Calendar\Setup->upgradeStepRunner(2050000, 2, Array, 2050370)
#8 src/XF/Admin/Controller/AddOnController.php(617): NF\Calendar\Setup->upgrade(Array)
#9 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\AddOnController->actionUpgrade(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Upgrade', Object(XF\Mvc\RouteMatch), Object(MaZ\AUN\XF\Admin\Controller\AddOn), NULL)
#11 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(MaZ\AUN\XF\Admin\Controller\AddOn), NULL)
#12 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#14 src/XF.php(806): XF\App->run()
#15 admin.php(15): XF::runApp('XF\\Admin\\App')
#16 {main}

Request state

array(4) {
["url"] => string(38) "/admin.php?add-ons/NF-Calendar/upgrade"
["referrer"] => string(83) "g/admin.php?add-ons/NF-Calendar/upgrade"
["_GET"] => array(1) {
["add-ons/NF-Calendar/upgrade"] => string(0) ""
}
["_POST"] => array(7) {
["_xfProcessing"] => string(1) "1"
["continue"] => string(1) "1"
["confirm"] => string(1) "1"
["params"] => string(2) "[]"
["count"] => string(1) "1"
["finished"] => string(1) "0"
["_xfToken"] => string(8) "********"
}
}

I also referred to this error in XenForo support ticket.
 
I'm not able to upgrade the addon:
Add the table manually?

Code:
mysql> describe xf_nf_calendar_event_feature;
+--------------+--------------+------+-----+---------+-------+
| Field        | Type         | Null | Key | Default | Extra |
+--------------+--------------+------+-----+---------+-------+
| event_id     | int unsigned | NO   | PRI | NULL    |       |
| feature_date | int unsigned | NO   | MUL | NULL    |       |
+--------------+--------------+------+-----+---------+-------+
2 rows in set (0.02 sec)
 
When I try to upgrade Calendar from XF1 to 2.3 I get the error below. I'm not able to upgrade the addon:

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'devdf.xf_nf_calendar_event_feature' doesn't exist src/XF/Db/AbstractStatement.php:230

Generated by: Alfa Jan 4, 2025 at 8:20 PM

Stack trace

SELECT event., event_feature.
FROM xf_nf_calendar_event AS event
INNER JOIN xf_nf_calendar_event_feature AS event_feature
ON (event_feature.event_id = event.event_id)
ORDER BY event.event_id ASC
------------

#0 src/XF/Db/Mysqli/Statement.php(207): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(46): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(61): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(167): XF\Db\AbstractAdapter->query('SELECT event.*,...', Array)
#5 src/addons/NF/Calendar/Setup.php(893): XF\Db\AbstractAdapter->fetchAllKeyed('SELECT event.*,...', 'event_id')
#6 src/XF/AddOn/StepRunnerUpgradeTrait.php(124): NF\Calendar\Setup->upgrade2050000Step2(Array)
#7 src/XF/AddOn/StepRunnerUpgradeTrait.php(73): NF\Calendar\Setup->upgradeStepRunner(2050000, 2, Array, 2050370)
#8 src/XF/Admin/Controller/AddOnController.php(617): NF\Calendar\Setup->upgrade(Array)
#9 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\AddOnController->actionUpgrade(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Upgrade', Object(XF\Mvc\RouteMatch), Object(MaZ\AUN\XF\Admin\Controller\AddOn), NULL)
#11 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(MaZ\AUN\XF\Admin\Controller\AddOn), NULL)
#12 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#14 src/XF.php(806): XF\App->run()
#15 admin.php(15): XF::runApp('XF\\Admin\\App')
#16 {main}

Request state

array(4) {
["url"] => string(38) "/admin.php?add-ons/NF-Calendar/upgrade"
["referrer"] => string(83) "g/admin.php?add-ons/NF-Calendar/upgrade"
["_GET"] => array(1) {
["add-ons/NF-Calendar/upgrade"] => string(0) ""
}
["_POST"] => array(7) {
["_xfProcessing"] => string(1) "1"
["continue"] => string(1) "1"
["confirm"] => string(1) "1"
["params"] => string(2) "[]"
["count"] => string(1) "1"
["finished"] => string(1) "0"
["_xfToken"] => string(8) "********"
}
}

I also referred to this error in XenForo support ticket.
If you try the upgrade with v2.5.6, it should be sorted now. Thanks!
 
When clicking Events near me:
URL:
/events/?layout=list&location_boundary[location]=The+Netherlands&location_boundary[distance]=50&location_boundary[distance_unit]=km

TypeError: NF\Calendar\Finder\EventFinder::whereWithin(): Argument #4 ($distanceOrder) must be of type bool, null given, called in /src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php on line 281 in src/addons/NF/Calendar/Finder/EventFinder.php at line 269

NF\Calendar\Finder\EventFinder->whereWithin() in src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php at line 281
NF\Calendar\ControllerPlugin\EventListPlugin->applyEventFilters() in src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php at line 319
NF\Calendar\ControllerPlugin\EventListPlugin->getEventListData() in src/addons/NF/Calendar/Pub/Controller/EventController.php at line 95
NF\Calendar\Pub\Controller\EventController->actionIndex() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
 
My calendar only shows the first day of a multi all day event.

This renders my calendar useless for planning and causes my members no end of confusion and double bookings, where multi day events appear as one day event. Anyone else seeing this? I opened a ticket a few weeks ago, but no solution as yet.
 
Is there a way to connect this calendar RSVP with Facebook events? It would be nice if I could post an event on both forum and Facebook and all RSVPs can be seen in one (or both) places.
 
When clicking Events near me:
URL:
/events/?layout=list&location_boundary[location]=The+Netherlands&location_boundary[distance]=50&location_boundary[distance_unit]=km

TypeError: NF\Calendar\Finder\EventFinder::whereWithin(): Argument #4 ($distanceOrder) must be of type bool, null given, called in /src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php on line 281 in src/addons/NF/Calendar/Finder/EventFinder.php at line 269

NF\Calendar\Finder\EventFinder->whereWithin() in src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php at line 281
NF\Calendar\ControllerPlugin\EventListPlugin->applyEventFilters() in src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php at line 319
NF\Calendar\ControllerPlugin\EventListPlugin->getEventListData() in src/addons/NF/Calendar/Pub/Controller/EventController.php at line 95
NF\Calendar\Pub\Controller\EventController->actionIndex() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
@Naz Please reply within 4 months.
 
When clicking Events near me:
URL:
/events/?layout=list&location_boundary[location]=The+Netherlands&location_boundary[distance]=50&location_boundary[distance_unit]=km

TypeError: NF\Calendar\Finder\EventFinder::whereWithin(): Argument #4 ($distanceOrder) must be of type bool, null given, called in /src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php on line 281 in src/addons/NF/Calendar/Finder/EventFinder.php at line 269

NF\Calendar\Finder\EventFinder->whereWithin() in src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php at line 281
NF\Calendar\ControllerPlugin\EventListPlugin->applyEventFilters() in src/addons/NF/Calendar/ControllerPlugin/EventListPlugin.php at line 319
NF\Calendar\ControllerPlugin\EventListPlugin->getEventListData() in src/addons/NF/Calendar/Pub/Controller/EventController.php at line 95
NF\Calendar\Pub\Controller\EventController->actionIndex() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23

@Naz Please reply within 4 months.
Sorry, must've missed the post. :)

It's fixed in the next version, should have it out soon.
 
Sorry, must've missed the post. :)

It's fixed in the next version, should have it out soon.

My calendar only shows the first day of a multi all day event.

This renders my calendar useless for planning and causes my members no end of confusion and double bookings, where multi day events appear as one day event. Anyone else seeing this? I opened a ticket a few weeks ago, but no solution as yet.
Could you check out these issues as well?
 
Back
Top Bottom