[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
@evoixmr Okay, soanswer some questions for me, please.
- Does the Calendar work at all before reloading?
- What about the calendar doesn't work before the reload?
- Are you restarting with the button in the ACP?
- Have you tried to see if restarting directly from the command line still requires a reload?
- Does the plugin work directly after manually restarting with
./nodebb stop
and./nodebb start
?
Thanks
-
- Yes, I don't get any error message, unless I set the notification (post# 148 here)
- Not sure, seems to work the same before or after reload.
- Yes, same issue even on a fresh ./nodebb start
- Yes
- Yes
Even when run on dev I did not see any error about the calendar.
-
@evoixmr okay, so the only issue you're having is that NodeBB is telling you that a reload is necessary? It sounds like a bug in NodeBB, not an issue with my plugin.
-
@evoixmr yeah. Just ignore it. If there's nothing actually going wrong, then odds are there's no problem ignoring it.
-
@azeus at the moment the ACP page is just a blank sheet. I haven't had time to actually work on it, yet. That comes after I've ironed out all the bugs, implemented recurring events, etc.
Edit: I should probably change it at least temporarily so it tells people that it's just a stand in. Something like
nothing's here yet
Under Construction
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
mplemented recurring events, etc.
Tks. Now I have the calendar displayed at forum.url/calendar but a lot of stuff are not working. For example once the calendar is activated, the forum behavior become random, for example sometime it's not possible to go into the chat or to publish a new topic (The click does nothing)... Also the Calendar icon in the composor does nothing...
-
@PitaJ Just installed this plugin! Looks cool, this is exactly what we need.
One question: is there a way to make the calendar only viewable for users logged in? Meaning that People that are not registered cannot View this calendar -
@azeus said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
mplemented recurring events, etc.
Tks. Now I have the calendar displayed at forum.url/calendar but a lot of stuff are not working. For example once the calendar is activated, the forum behavior become random, for example sometime it's not possible to go into the chat or to publish a new topic (The click does nothing)... Also the Calendar icon in the composor does nothing...
I haven't run into some of the other weird issues... For the composer button, did you enable the create event permissions in the category?
-
@absurdsmash yeah it's possible. Can you tell me why you want to hide it, though?
-
@azeus this sounds like an issue due to a glitch somewhere. What browser are you using? Have you tried restarting NodeBB, refreshing your page, and clearing your cache?
-
@PitaJ Hm Just because I dont want other People to be able to view it. We use the forum in a selected Group of 40-50 People. We dont want to attract anyone with the forum and only use it for ourselves as a way to keep things Organized for events
-
@teh_g Yes it's done. Then the categories without the event permission didn't show the button at all
@PitaJ I used FF and Chrome on windows then Safari, FF and Chrome on MAC. Some behavior. I've done some additional tests, the issue seems to happen when I'm connected with an admin account. With normal account I can create events and see them in the calendar... I'm not sure that it's linked to the admin account as it's random. I can give you access to the log or the ACP if needed for debug, just let me know Tks
-
You can remove "read" permissions from guests, and remove the button from the navigation. I may add this feature but it'll be low priority.
-
@azeus are there any errors in the JavaScript console? I would like to have a test admin account for debug if you don't mind. Just send it to me with the chat on here.
-
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