[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed


  • @PitaJ I have some events that the guest need to be able to see and some that I need hidden from guest. Does the calendar follow nodebb permission?

  • Global Moderator Plugin & Theme Dev

    @evoixmr yeah it obeys either the view or reply permission, depending on the setting in the ACP.


  • @PitaJ For some reason I can't make the calendar viewable to guest, but they have to login to be able to reply. Can you make the calendar follow the view permission?

  • Global Moderator Plugin & Theme Dev

    @evoixmr what version are you on? I may have accidentally introduced a regression in a previous version.


  • @PitaJ 1.0.0-alpha.21. I can not make the calendar viewable by guest, without giving guest permission to reply. I want them to be able to view the calendar but not post anything.

    Can you also add an option when a certain area of the date is double clicked it will open a window to either create a post or create an event? The event can be posted on a preselected category by the admin.

  • Global Moderator Plugin & Theme Dev

    @evoixmr okay I think I fixed your issue. Try [email protected]

    Changelog:

    • Only show user's own response in the notification emails
    • Calendar event view vs ajaxify fixes
    • Fix guests not seeing events in calendar even with read perms
    • Hide response form from guests

    As for this:

    option when ... the date is double clicked it will open a window to ... create an event

    How about this:

    • Click a [+] button on the selected date
    • Opens the popup to create an event (same one as with the composer button) with the start date prefilled
    • Fill in the popup form, plus an extra category field for the topic destination
    • New topic is created with the event's title in that selected category, with the event as the post contents
    • After topic is created it gets opened in a new tab or something

    Does that sound like it will work for you?


  • @PitaJ Your suggestion sound great, another option instead [+] button you can make the number clickable, you can also add a confimation question like "create new event/cancel". I don't think the new tab is needed, just to keep it mobile friendly, it can just redirect to the post.

    On the location can make it link to google map? just add this on the link "https://www.google.com/maps/place/" before the address when it's clicked.

    Any progress on member or group invite? so that mandatory only affects group.

    Thank you.

  • Global Moderator Plugin & Theme Dev

    @evoixmr I don't want to do anything special with the location field at the moment. I'd like to keep things pretty simple. It's already parsed as a post, though, so you might be able to use nodebb-plugin-embed-gmap to provide that function.

    so that mandatory only affects group

    Well at the moment the mandatory feature only affects people who can respond to the event, so if you were to make a category and give only those people permissions to it then it would work similarly.

    I'm trying to avoid implementing systems that stray too far away from the basic NodeBB permissions and stuff. Hopefully NodeBB implements a better permissions system at some point more detached from categories, so I don't have to worry about doing it all myself.


  • Hi @PitaJ I've upgraded my sandbox to nodebb 1.4.0 with Calendar v0.22 and I have an issue. The display from the calendar view and the topic view are different:

    From the calendar view:

    The attendees list is empty
    0_1481016629157_Screen Shot 2016-12-06 at 10.26.03.png

    And if I click on "No", "Maybe" or "Yes" I have an error:

    0_1481016680023_Screen Shot 2016-12-06 at 10.26.12.png

    From the post view:

    It's working fine, and attendees list is showing. I can click tue button without any issue
    0_1481016739080_Screen Shot 2016-12-06 at 10.26.36.png


  • I think I asked a while ago, but is it possible to add events via an ical feed to this calendar?

    The specific one I am looking to add is this one here: http://c.opencritic.com/calendar/OpenCritic.ics

  • Global Moderator Plugin & Theme Dev

    @azeus I'll look into it.

    @teh_g it's a low priority feature at the moment. There's an issue for it on GitHub.


  • I tried re-activating Calendar, but it won't show up at /calendar now. Just to make sure it isn't something from using an old version, is there anything in redis or on the file system I should delete before reinstalling?

  • Global Moderator Plugin & Theme Dev

    @teh_g how old? Add long as it's on one of the older 1.0 alpha versions it should be okay. Any errors on the client or on the server? Have you tried ./nodebb build before starting NodeBB?


  • @PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:

    @teh_g how old? Add long as it's on one of the older 1.0 alpha versions it should be okay. Any errors on the client or on the server? Have you tried ./nodebb build before starting NodeBB?

    Weird, restarting it got /calendar to work. When opening /calendar, I did get an error though, "Cannot read property 'day' of undefined"

    It also looks like doing a restart in the admin console does a /build. Is logging into the server and doing the build going to be the new required thing when making plugin changes?

    EDIT: Also, it does persist after the /build.


  • doesn't compatible with master
    Client side error:

    Uncaught Error: could not load locale data (fa-ir) for moment
        at eval (eval at <anonymous> (nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:43), <anonymous>:121:9)
        at Object.<anonymous> (nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:43)
        at c (nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:16)
        at Object.<anonymous> (nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:50)
        at c (nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:16)
        at n (nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:16)
        at nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:35
    (anonymous) @ index.js?100c:97
    (anonymous) @ nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:43
    c @ nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:16
    (anonymous) @ nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:50
    c @ nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:16
    n @ nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:16
    (anonymous) @ nodebb.min.js?c79657b4-934f-4c27-a443-9e6a34eec468:35
    
  • Global Moderator Plugin & Theme Dev

    @sanatisharif thanks for reporting. I've identified the issue and fixed it. I'll roll out a new version soon.


  • Hi @PitaJ happy new year 🙂 Is it normal that the calendar is empty for guests (non logged users) ?

  • Global Moderator Plugin & Theme Dev

    @azeus if guests don't have view permissions in the event category, then they can't see events. There was a bug in a previous version where guests couldn't see any events, though.


  • @PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:

    @azeus if guests don't have view permissions in the event category, then they can't see events. There was a bug in a previous version where guests couldn't see any events, though.

    TKs, they do have but the calendar is showing empty. We are runnning 1.0.0-alpha.17.

    0_1484318158474_Screen Shot 2017-01-13 at 15.34.30.png

  • Global Moderator Plugin & Theme Dev

    @azeus I forget. Is there a reason you aren't upgraded to the latest version? I fixed this issue I think.

    Don't upgrade yet, though. Let me release alpha.23 first. 😏


Suggested Topics

| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.