PitaJ
Posts
-
[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed -
Upvotes / Downvotes are finally here@Chanrith this should work for you:
a[component="post/upvote"] .fa.fa-chevron-up:before { content: "\f164"; // code for thumbs up } a[component="post/downvote"] .fa.fa-chevron-down:before { content: "\f165"; // code for thumbs down }
-
Send invite without a userPlease report this issue on Github.
-
[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers neededNew version. Please try out
[email protected]
This version requires NodeBB v1.3.0npm install nodebb-plugin-calendar@latest
Changes:
- Repeating events!!!!!!
-
Is it possible to change the title of the homepage?You could try this in the custom JS:
if (ajaxify.data.url === '/') { document.title = 'Welcome | NodeBB'; }
-
reference to objects in benchpress@shayan what do you want the output to look like given that data?
Something like this might work:
{{{ each people}}} <div> <ul> {{{ each @value }}} <li> {./name} </li> {{{ end }}} </ul> </div> {{{ end }}}
-
[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed@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?
-
Translation with arguments.@marcelo-lopes escape the comma as an HTML entity:
text.replace(/,/g, ',')
-
reference to objects in benchpress@shayan woops actually it wasn't working for me. It looks like this is a bug. For some reason
./name
in the inner loop refers to thename
property of the value in the outer loop. I've created an issue:Iterating over `@value` results in incorrect path resolution · Issue #97 · benchpressjs/benchpressjs
Describe the bug {{{ each people}}} {{{ each @value }}} {./name} In the above, ./name will try to resolve to people[i].name instead of people[i][j].name. Minimal Reproduction https://runkit.com/pitaj/5fecc2b6246e6e001bac76d9 Versions Nod...
GitHub (github.com)
-
[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed@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.
-
NodeBB ES6/7npm@5
really stepped it up. It's now insignificantly different in terms of speed. -
Plugin development 2021 updated - environment and dev workflow - requestI have been working with Angular for frontend and I would like to setup something similar for developing in NodeBB like hot/live reload in development - or something with a fast update during development.
You won't get hot/live reload, but you can use grunt to automatically rebuild and restart NodeBB when you make a change.
First thing I do not get is should this code go into a widget or a theme.
I don't think you want a widget here.
Widgets are reusable, customizable UI elements that you can place into specific areas in templates to add stuff to footers/headers/sidebars. These widgets areas are defined by the theme.
If you want to modify how an element of the forum looks but keep the same basic style of another theme (like Persona), then you probably want to create a child theme. This way you do not need to copy the whole Persona theme, though you certainly could do that instead.
I want the topics from subcategories to show up in the category.
This is another customization to the theme, so not a widget.
This is a pretty big change from how NodeBB usually works, and it won't be easy to implement.
As a side note, I also have encountered the phrase 'just use VS and it will do it for you' when talking about environment setup.
I don't know the context of that, but you can use any IDE or editor capable of working with JS. What environment setup are you looking for?
-
[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed@azeus @sanatisharif New version. Please try out [email protected]
npm install nodebb-plugin-calendar@latest
Changelog:
- Fix response buttons not working sometimes
- Fall back more gracefully with languages
- Some translation updates
This version does not require an update beyond NodeBB v1.3.0
-
Can't find nodemailer-smtp-transportAdditionally, with the latest nodebb, smtp emails are handled in core. You can set up a custom smtp setting or select from a list of presets.
-
How to call API from client side.require(['api', 'translator'], (api, translator) => { // Your code here });
-
[nodebb-plugin-session-sharing] how to install?@Pav run
./nodebb stop && ./nodebb build && ./nodebb start
and try again -
Can't find nodemailer-smtp-transport@shinyidol maybe you can help me out here. Can you answer a few questions for me?
- When was NodeBB setup easier to do?
- How was it easier back then?
- How do you suggest we make it easier now?
- What features would significantly improve your experience with NodeBB?
I ask these questions because as a developer I've learned how to install NodeBB so well I can practically install it in my sleep. So when people talk about the pains of installing NodeBB, I have a hard time empathizing or understanding where they struggle.
A time ago, I think NodeBB was much more difficult to install. We required imagemagick and compiled binaries which needed to be built on systems, making Windows installations even more difficult than they are now. Making emails work required a plugin regardless of what you were doing, there was no easy access to SMTP or sendmail.
Thanks.
-
Replacing core language key value@wieszcz it's certainly possible. Are there any errors during build? Does your plugin show as active in the plugins list?
-
[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed@kev-m calendar events have permissions according to the category they're posted in. So, you can create a category for the marketing events, and a category for the comms events, and set the permissions accordingly. The color of the events on the calendar will match that of the categories.
-
How to see changes on browser asap when I've just change some code in my theme or plugin?npm i grunt -g grunt