It might slow down the topic list if there are topics with a huge amount of posts, since it is calculating the total vote count when you load it. You would have to test and see if the performance is acceptable.
<baris>
Posts
-
Total vote count on topic list -
Total vote count on topic list@phenomlab I sent a PR to @oplik0 's repro that will change the sorting. https://github.com/oplik0/nodebb-plugin-total-vote-count/pull/19
Just a warning, this will only apply to topics when they receive a new vote on one of their posts. It basically recalculates the new order whenever there is a new vote. Also once this plugin is active uninstalling it will not magically fix the scores to go back to the old sorting. You would need a custom script to fix all the topic votes to set them back to the main post only.
-
Themeing... Started with Quickstart got some bad resultsMight be a good idea for us to add a widget area there so this can be done via widgets instead of needing a custom theme.
-
Themeing... Started with Quickstart got some bad results@Chad-Augur harmony already has a header.tpl in the templates folder. https://github.com/NodeBB/nodebb-theme-harmony/blob/main/templates/header.tpl. You can copy this to your custom theme and then add your custom header above the
layout-container
and it should show up above everything else. -
Total vote count on topic listThe plugin would need to be updated to create a new sorted set with the new scores(total votes). Not exactly a simple change.
-
Getting all recent topics in all available categoriesThe above code is for a server side function that renders a
feed
template. It is meant to be used in a nodebb plugin. -
Advertisement and ads on NodebbAdsense plugin is here, https://github.com/NodeBB-Community/nodebb-plugin-adsense/.
Harmony has widget areas before after first post so you can place the ad widget in those areas.
-
Change default category watch state for administratorYou can't, users need to watch categories themselves since watching a category will cause them to receive notifications/emails about new topics. This is to ensure you don't have 100s of thousands of users automatically watching categories.
-
Custom helper function for benchpresshttps://community.nodebb.org/post/88242 I think this answers your question. Let me know if it doesn't work.
-
Regarding nodebb-plugin-category-notifications@crazycells fixed in
[email protected]
-
NodeBB 3.7.1@crazycells that should be fixed too, this forum was running a separate activitypub branch of the theme so I updated it here as well.
-
NodeBB 3.7.1I normally don't make announcement topics for patch releases but 3.7.0 had a nasty memory leak issue due to our mongodb dependency.
We noticed increased memory usage on our community and try.nodebb.org as well as instances hosted on https://manage.nodebb.org.
After spending some time with
git bisect
I narrowed it down to the mongodb dependency. Thankfully it was fixed in https://github.com/mongodb/node-mongodb-native/pull/4022.3.7.1 has this fix and 2 more bugfixes https://github.com/NodeBB/NodeBB/issues?q=is%3Aclosed+milestone%3A3.7.1.
If you have upgraded to 3.7.0, you are highly encouraged to upgrade to 3.7.1.
-
Please help me. High CPU, but only 25 users on system@Nuran-Akimbek can you post the output of
db.objects.stats()
in mongodb cli. Also you are only running one nodebb process, you should look into scaling it to multiple processes if you are having performance issues. -
Export more user option -
Harmony theme mobile menubar is glitchyIs this happening on ios only? Couldn't reproduce on android.
-
plugin list of this forumDo you mean https://www.npmjs.com/search?q=nodebb-plugin?
-
3.7.0 Upgrade Support -
NodeBB 3.7.0Hello Everyone !
Today we are releasing NodeBB 3.7.0. Please read below for all the changes in this release.
Accessibility improvements
One of the main features of this release was improving accessibility for Harmony theme. This is an ongoing effort but we already implemented plenty of fixes. I will detail some of these below.
Skip to content link
We implemented a "skiplink" that allows keyboard users to skip all the navigation items and directly go to the main content area. This is an anchor element that gets focused first when a user hits the tab key on their keyboard.
Aria Label improvements
These are special html attributes for screen readers. We were missing quite a few of them especially on our navigation items.
Sort dropdown shows selected option
This is pretty self-explanatory. The sort by dropdown didn't show the selected option so we updated this to match the other dropdowns.
Color contrast improvements
We have increased the color contrast on badges and links to match WCAG 2.1 AA. This requires a minimum color contrast of 4.5:1. This is an ongoing effort so we will keep improving on this.
Post tools not accessible by keyboard
The post tools on each post object only showed up when you mouse overed the post itself. They were invisible if you were a keyboard user. We have updated our css so that when one of the post tools has focus the elements will become visible.
Register & Login Form
We improved the error messaging and labels on the register and login forms. Specifically if there is an error it will be read by screen readers.
Ability to search in bookmarks
If you have a lot of bookmarked posts it becomes hard to find what you are looking for. So we added a new filter on the /search page to search only in your bookmarks.
Thanks to @crazycells for the suggestion.
Updated chat page in Persona/Peace/Lavender Themes
Since we love the chat page of harmony so much, we have moved the chat templates and styling to core. Persona, Peace and Lavender themes now use this layout as well.
Unread categories show up on /categories
We implemented a new unread categories logic to better reflect unread topics. Previously a category was marked as read as soon as the user entered the category. This was misleading as the category still had unread topics. On 3.7.0 the category will show as unread as long as there are unread topics inside.
Fix for rich results
We fixed another issue with rich search results and DiscussionForumPosting object. Specifically each reply is now properly nested under the DiscussionForumPosting object. More info
Post and User flag limits
We added some daily limits on post and user flags to prevent abuse. Once users reach this limit they will have to wait until they can flag again.
Bug fixes & Misc
As usual there are plenty of bug fixes in this release.
Full list of closed issues
Let us know if you run into any issues in our support thread
-
3.7.0 Upgrade SupportIf you have problems upgrading to 3.7.0 you can ask for help here.
-
Send email notification to admin from new registered users.I've updated this plugin to nodebb 3.2 and up, new version is 3.0.0.