[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
Please provide any error messages both client and server side if there are any.
-
I can confirm, that the calendar is not shown in v1.6.0!
In the nodebb log, no issue is seen. But my browser shows this:
It is also not possible to post a new event. In the post event case, I see no error at all. Neither in the nodebb logs nor in the browser.
-
Hi, just wanted to tell everyone that I'm working on the following issues:
- v1.6.0 compatibility
- Events have -1 day
- Start / end date pickers displaying wrong
-
New version. Please try out
[email protected]
Note: this version requires NodeBB v1.6.0npm i nodebb-plugin-calendar@latest
Changelog:
- Compatibility with NodeBB version 1.6.0
- Fix events having -1 day in certain timezones
- Fix date pickers overflowing the editor
-
@PitaJ: I am very sorry, but the plugin does not seem to work after your changes under v1.6.0
The calendar view is shown again, but I see issues with repeated events:
- From the even window, selecting a response has no effect
- From the post, I can not select a date
In addition, I cannot post new events. Pushing the icon in the editor view has no effect.
Any hints? Has anyone else observed the same?
-
Oh oh, shame on me! Calendar is working in v1.6.0 ! I replayed my v1.5.2 backup for other reasons and forgot to update to v1.6.0 again...
@PitaJ: Please forget my previous post!
At least I can confirm, that [email protected] requires at least nodebb v1.6.0
-
New version. Please try out
[email protected]
Note: this version requires NodeBB v1.6.0+npm i nodebb-plugin-calendar@latest
Changelog:
- Fix for compatibility with NodeBB v1.7.0
-
It works just fine on v1.7.2
-
@pitaj said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
It works just fine on v1.7.2
Great I’ll check it out!
-
@PitaJ my community would like to see names of attendees instead of avatars, as well as a the total number of Yes/No/Maybe. How would I go about implementing this?
Edit:
So I guess in client/responses.js, change this:
const userTemplate = user => (` <li class="icon pull-left"> <a href="${config.relative_path}/user/${user.userslug}"> ${user.picture ? ` <img title="${user.username}" class="img-rounded user-img not-responsive" src="${user.picture}"> ` : ` <div class="user-icon user-img" style="background-color: ${user['icon:bgColor']};" title="${user.username}">${user['icon:text']}</div> `} </a> </li> `);
into something like this?
const userTemplate = user => (` <li> <a href="${config.relative_path}/user/${user.userslug}"> ${user.username} </a> </li> `);
of course it would be awesome to have this as an option in the acp
-
@absurdsmash would you mind opening an issue on GitHub? It helps me track feature request more easily.
-
First of all - great plugin!
I forked the plugin. But the intallation
npm i <myGhUsername>/nodebb-plugin-calendar
won't create the./build
build.I want to do some changes on the templates. Whats the best practice for this?
-
@alex-galax the best way to override templates is probably to create a new plugin with a templates directory and a plugin.json set to
{}
. You can override the templates that way if you copy the calendar templates over.