[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
Was looking at installing came across this issue in log files
r00t@:/home/# npm -v
2.15.1
r00t@:/home/# node -v
v0.12.1529/8 04:15 [2803] - [32minfo[39m: Initializing NodeBB v1.1.2 29/8 04:15 [2803] - [32minfo[39m: [database] Checking database indices. 29/8 04:15 [2803] - [31merror[39m: /home/****/nodebb/node_modules/nodebb-plugin-calendar/build/lib/index.js:26 const addNavigation = (navs, callback) => { ^^^^^ SyntaxError: Use of const in strict mode. at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/home/****/nodebb/node_modules/nodebb-plugin-calendar/library.js:1:80) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.Plugins.requireLibrary (/home/****/nodebb/src/plugins.js:42:33) at registerHooks (/home/****/nodebb/src/plugins/load.js:88:13) 29/8 04:15 [2803] - [33mwarn[39m: [plugins] Unable to parse library for: nodebb-plugin-calendar
-
@Joykiller you have to run this on Node v4 or later
-
@Joykiller yes I've already said I will and there's an entry on the issue tracker.
-
It'd be awesome if you could send out an email to all users of the forum (or users that have the permission to see the topic), when creating an event. Would that be feasible?
-
@absurdsmash my plan is for "mandatory" events, where every user who has permissions to view the event will be sent a notification. At the moment, email notifications aren't working, so I still have to get that implemented, but the notifications are* working.
Notifications are working in the second-latest build, not the latest build. Email notifications are my current focus, so by the next build you should have mandatory email notifications which should fit your use case.
-
@azeus if you use the second most reason version,
1.0.0-alpha.7
, it should be fairly stable. Right now I'm working on additions but I'm waiting for some upstream changes in NodeBB to actually accomplish what I need. -
@PitaJ Tks. V 0.7 is running in our production Just a little issue with the language, I've put a translation under a new directory fr-FR but the GUI was still showing in EN. As a workaround, I've replaced the text directly in the calendar.json file of the en_US. It's working for the moment. Can't wait for the final version with the attendees # limit and maybe an enhancement in the way of displaying the attendees. I think it's a little confusing as there is two blocs with 'Yes, Maybe, No' buttons... ^^
-
@azeus you have to name the directory just
fr
, then it should work. -
@PitaJ I've an issue, the event creation is not possible in some topics. Once the event is created and saved, nothing is showing (both in the topic and the calendar)... When trying to edit, I've noticed that there is a tag [event-invalid]... Do you want me to log a bug in GIT ?
[event-invalid][name]aeaeaeae[/name][allday]false[/allday][startDate]1475047945277[/startDate][endDate]1475051545277[/endDate][reminders][][/reminders][location]ae[/location][description]ae[/description][mandatory]false[/mandatory][/event-invalid]
-
@azeus event-invalid happens when there is either some sort of parsing error or when you don't have permissions to post events in that category.
-
@PitaJ Tks, fixed. I have another issue, we authorize guests to access our forum in read only mode (CF screenshot), so they can access the calendar et see the events, but they should not access to the rsvp... In v0.7 ghests do have access and can use the rsvp, so after voting, we have some ghost user listed as attending (CF screenshot 2)
Is this something you can enhance in the next versions?
-
@azeus good catch. Yeah, I'll fix it in the next version. Can you please open an issue on the GitHub page? Thanks.
-
@azeus no that doesn't sound normal. Any errors?
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@azeus no that doesn't sound normal. Any errors?
No, nothing, It's just like the JS action on the button is not working... When we clic nothing is happening.