[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
I need testers for my calendar plugin. I've been working on it for a while, and I just got into a feature full stage, so now I need it to be tested. If you're willing to test it for me, please install it to your NodeBB and report any bugs or anything here or on Github. Thanks!
nodebb-plugin-calendar v1.0.0-alpha.x
This plugin adds a site-wide calendar to NodeBB.
Installation
npm install nodebb-plugin-calendar@latest
- Activate it in the ACP and restart NodeBB
- Configure permissions at ACP Manage > Categories page
Don't forget to restart after installing the plugin.
Features
- Events created, edited, and deleted as part of a post
- Native NodeBB category permissions are used to determine who can post and view events
- Public events as part of the same permissions system
- Response system for easy user responses (yes, maybe, no)
- Configurable automated reminders for upcoming events using NodeBB's notifications system
- Centralized calendar interface to view all upcoming events
In The Works
- iCal export
- Simplistic, graceful calendar UI (infinite scroll) with mobile support
-
@pitaj said:
I need testers for my calendar plugin. I've been working on it for a while, and I just got into a feature full stage, so now I need it to be tested. If you're willing to test it for me, please install it to your NodeBB and report any bugs or anything here or on Github. Thanks!
nodebb-plugin-calendar v0.2
This plugin adds a site-wide calendar to NodeBB.
Installation
For now,
git clone
the repository from GithubDon't forget to restart after installing the plugin.
Configuration
Before do anything with the Calendar, make sure you have the correct settings set up in the ACP plugin setting page. It will tell you what to do.
Note: If you don't know the id# of the category you want the events to be posted in, edit something about the event, and when you click save, the alert will tell you the event id#. Then you can change back whatever you did.
Features
- Synchronization between different users' activities on the Calendar page
- Full permissions system separate from that of the main site
- Individual event permissions for viewing and editing of the event
- Public events (even guests can see them)
- Simplistic, graceful UI (infinite scroll OMG!)
- Comments system using NodeBB topics
- Response system for easy user responses
- Click a day on the calendar to select it, and show its events in the sidebar
- Click an event in either the sidebar or the calendar to show its details in the sidebar
- Jump to year and month from the fields above the Calendar
- Configurable automated notifications for upcoming events
- Awesome new interface, with mobile support!
- Support for (optionally) using arasbm's Whoisin plugin to power the response system
- Ability for translations
Hi pitaj.
I can do translation in Italian.
One moment.Update 12:52 :
There are 2 Bug :
http://i.gyazo.com/c2753d3eb0da281d2c0ba687b198116b.png
http://i.gyazo.com/dee3267ca631b3445b8fd722c073b0c2.pngThis is my Installation .
sudo git clone https://github.com/pitaj/nodebb-plugin-calendar.git nodebb
npm install nodebb-plugin-calendarBut I see that is installed 0.1.1 and not 0.2.0
How upgrade?Update 12:43 :
Ok Finished / Completed :
Traduction Italian -
@Master-Antonio said:
How install a version 0.2.0 ?
Write comands please.
So , i have translated plugin in Italian , link in post of before.Umm... I guess you can install a specific version with this command.
npm i [email protected]
-
@markkus said:
@Master-Antonio said:
How install a version 0.2.0 ?
Write comands please.
So , i have translated plugin in Italian , link in post of before.Umm... I guess you can install a specific version with this command.
npm i [email protected]
I tried different commands, including this.
But still the same error.
Don't found version 0.2.0 .npm ERR! Linux 3.13.0-43-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "[email protected]"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! version not found: [email protected]
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /home/antonio/nodebb/npm-debug.log -
@Codejet said:
ignore .............. my suggestion doesn't work, there was a way before I can't remember
cd node_modules git clone -b 0.2.x https://github.com/pitaj/nodebb-plugin-calendar
^ works
Now work , is installed but don't work plugin.
This is ERROR.3/5 13:47 [3132] - error: Error: Cannot find module 'node-schedule'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at /home/antonio/nodebb/node_modules/nodebb-plugin-calendar/library.js:37:16
at Object.<anonymous> (/home/antonio/nodebb/node_modules/nodebb-plugin-calen dar/library.js:863:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12) -
Added Italian translations
Installation instructions:
- Open a command window in the NodeBB directory
- Navigate to the
node_modules
directory (cd node_modules
) and runnpm remove nodebb-plugin-calendar
- Delete the
nodebb-plugin-calendar
directory withdel nodebb-plugin-calendar
orrm -r nodebb-plugin-calendar
- Clone the master branch of the git repository
git clone https://github.com/pitaj/nodebb-plugin-calendar
- Navigate to the
nodebb-plugin-calendar
directory withcd nodebb-plugin-calendar
- Install npm dependencies with the command
npm install
Those commands should install it correctly. It should then be visible in the ACP (maybe after a restart) to be activated.
My console log in Windows:
D:\NodeBB\node_modules>npm remove nodebb-plugin-calendar unbuild [email protected] D:\NodeBB\node_modules>del nodebb-plugin-calendar Could Not Find D:\NodeBB\node_modules\nodebb-plugin-calendar D:\NodeBB\node_modules>git clone -b 0.2.x https://github.com/pitaj/nodebb-plugin-calendar Cloning into 'nodebb-plugin-calendar'... remote: Counting objects: 615, done. remote: Total 615 (delta 0), reused 0 (delta 0), pack-reused 615 Receiving objects: 100% (615/615), 490.11 KiB | 0 bytes/s, done. Resolving deltas: 100% (212/212), done. Checking connectivity... done. D:\NodeBB\node_modules>cd nodebb-plugin-calendar D:\NodeBB\node_modules\nodebb-plugin-calendar>npm install
Follow those instructions and you should be good.
-
@Master-Antonio @Codejet @markkus
How is the plugin so far? Have you encountered any bugs?
BTW, @markkus, there are translatable strings. Look here
I've also moved the 0.2.x code into the master branch.
I'm probably going to release an npm package within the next week for anyone who doesn't want to use git.
-
@pitaj said:
How is the plugin so far? Have you encountered any bugs?
I haven't tried it yet. I'll give it a shot once you've released the npm package.
And thanks for the heads up, I'll probably produce Estonian translation once I get my hands on it.
-
Doesn't seem to work in NodeBB master. (Intentional maybe?)
The admin page works, but the calendar page appears, then quickly disappears. Didn't see any errors on the server or client console.
-
@yariplus Requesting some information about the bug, because I haven't had that problem:
What browser?
What commit of NodeBB? -
NodeBB: 9ca7243124a3de29b16de0dd280b56ea14bf6c14
FireFox: 37.0.2
Chrome: 42.0.2311.135 mNothing is on the server log.
This is the whole client log:
"Successfully loaded initial data" cal.js:827:8 "Calendar templates loaded" cal.js:850:8 "Calendar translation loaded" cal.js:852:10 "Initializing Calendar" cal.js:192:10 "Initializing Events" cal.js:200:10
I just checked the DOM and the content row is display:none
<div id="content" class="container"> <div class="row">...</div> <~ This has display:none </div>
I changed it to block and the calendar is partially there but doesn't work. I'm guessing it didn't finish loading.
Theme was latest lavender, same thing with latest persona.
-
Okay, so it appears that you're using a language besides
it
,en_US
, oren_GB
. That's why the translation strings are all showing up.
The row haddisplay:none
because of a badly-targeted css rule to hide the bottom widgets. I don't know why thatNaN
is showing up, that's weird.I think I fixed these issues in the latest commit. Try and see if a
git pull
fixes the problems.EDIT: Actually, now it should work.
-
@pitaj Okay, removed and reinstalled your latest from git.
It loads now and translates, but the day is still NaN and events don't appear on the calendar.
I am getting an error now:
TypeError: calendar.days[y] is undefined cal.js:339:12
Also, events do appear on the forum in the correct category, but they're not parsed correctly.
-
Alright, is this hosted publicly somewhere? I need to figure out what is actually going on. I know about the parsing thing with the posts.
I can't figure out why you're getting
NaN
. The only thing I can think of is that the appropriate data isn't being sent to the template. -
@pitaj It's just my personal site. yaricraft.com
I can make you a ftp/ssh account if you want.
AHH, I figured it out. It has something to do with widgets. I removed all my widgets and suddenly everything works now.
Any widget I use, even just plain text, breaks it. Widgets must mess up the template somehow.
-
Okay, only side widgets cause the error.
Here's the finished dom with header/footer widgets: (the cal works and the widgets disappear.)
<div id="content" class="container-fluid"> <div class="row"> <div class="col-xs-12" widget-area="header"></div> </div> <noscript></noscript> <div class="nodebb-plugin-calendar"></div> </div>
and with side widgets: (The widgets appear and the cal doesn't work.)
<div id="content" class="container-fluid"> <div class="row"> <div class="col-lg-9 col-xs-12"> <noscript></noscript> <div class="nodebb-plugin-calendar"></div> </div> <div class="col-lg-3 col-xs-12" widget-area="sidebar"></div> </div> </div>