Hello guys! I am pretty new to NodeBB and have been trying to moving old forum from PHP to NodeBB. Does anyone have any advices/tips/suggestions on how to do this? Anything would be gratefully appreciated. Thank you.
Hi,
We are experiencing performance issues with our NodeBB installation. It got significantly worse after upgrading to v3.x. The forum is noticeably slowing down at times - both loading and saving up posts is slow and often we get just a 502 response.
There are several factors that might cause this: overloaded database, attackers doing a brute force requests ( I created a issue about this here https://github.com/NodeBB/NodeBB/issues/12432 ), our api calls from various places.
I would appreciate any guidance or advice on how to at least diagnose these issues - what is the biggest bottleneck.
There are tools like ip blacklists, but can you recommend any tool that handles this automatically based on incoming requests? Like a IP doing many calls ending up with a 404.
Hello guys! I am pretty new to NodeBB and have been trying to moving old forum from PHP to NodeBB. Does anyone have any advices/tips/suggestions on how to do this? Anything would be gratefully appreciated. Thank you.
When I tried to change the skin color, it would not display the primary color. For example, I chose Lux as the skin with black as primary color but the navbar color was white or would always be secondary color. I really don't know how to fix or change it? Please help
Okay, here's a little completely unintentional side-effect that blew my mind.
tl;dr — never miss a popular post again.
NodeBB tracks a number of metrics when the internal methods are called to create topics (or post replies). Metrics such as post counts, vote counts, view counts. It uses those to provide alternative sorting of topic lists — by post, votes, and views.
Incoming content from the fediverse/social web is also run through this same logic, and so those metrics ended up tracked too.
One of our users pointed out that remote topics were drowning out local topics in the /popular route, which makes sense given the imbalance in traffic. Unintentional, but not problematic. I tweaked the logic to filter out those topics unless explicitly asked for.
... and I ended up with this page, which allows you to see popular fediverse topics that my instance knows about. You can even drill down by day, week, month, or all time.
A common fediverse concern is that things get missed. If you live several time zones away from somebody else, you may never see their content pop up naturally in your feed. Trending posts (in Mastodon) addresses this somewhat, though.
It seems without any additional effort, NodeBB has already taken a step towards resolving this issue.
Does the NodeBB PWA app send push notifications? We hope to have this feature for our new forum.
@baris can we have another option to calculate the vote numbers of a topic in ACP? So each admin can decide for their forum. I prefer a calculation where all of the positive and negative votes in the thread are considered. Sometimes the first post may not be the key post, but rather it is a question. So it looks 0 vote, although the topic itself is very useful.
Screen Shot 2023-05-07 at 16.34.46.png
One of the interesting items that came out of this year's FediForum was a speed demo by @[email protected] for IFTAS FediCheck, an upcoming service that will allow Mastodon server administrators to subscribe to specific one or more CARIADs — Consensus Aggregated Retractable IFTAS Allowlist Denylist — and have them automatically maintained by FediCheck.
This sort of work is hugely important for Trust & Safety. At a local level, the work required to ensure T&S scales linearly with your community size. This goes out the window when you factor in the ability to network with separate instances each with their own culture, community, etc. — suddenly, a small intimate forum with a single admin could become inundated with inappropriate content from outside of the local instance.
Being in-development, IFTAS FediCheck is Mastodon-only, but there are huge benefits to the broader fediverse network of applications, NodeBB included.
We could lobby (likely unsuccessfully) for IFTAS to support NodeBB, but it would definitely be better overall if IFTAS supported an API that we could build plugins/libraries against.
For more information about IFTAS: @[email protected]
I am working on an instance of nodebb where Groups are as major part as Categories, i.e. users are allowed to create groups, and have categories dedicated to groups, to moderate their own group/category as owners, etc.
I am finding that Groups part of nodebb hasn't gotten much attention since it is not the major aspect of a the usual use case.
However, here is a bug I found: It appears the program does not intend for any group to be ownerless (as per the code throwing error).
In src/groups/ownership
Method Groups.ownership.rescind
It appears the intention was for the function to make sure this wasn't the last owner who is being rescinded ownership, and throw an error.
However, isOwner is returning false even when the uid is the owner, and hence they're being removed as owner, and group is able to become ownerless. Nothing wrong with ownerless groups, but since the intention in the code appears to be contrary to the output I felt it appropriate to be in the bug reports category here.
I've replaced the above check, with this function instead, and now I see the error thrown.
const isOwner = await db.isSetMember(`group:${groupName}:owners`, toUid);Not a major issue, but since I am working on something where groups play a major role (group based site) I found this and wanted to bring this out here.
nodebb v3.7.1
I have never been so frustrated with the emoji plugins. The emoji plugin installs, and I get the :emoji: format tags. However, when I install the android plugin I only get broken images. I had them working one time, but cannot seem to get them to work again. I am frustrated with the process, especially since every time I install plugins, it wipes out my custom theme.
Hey there NodeBB team,
The chat feature integrated into NodeBB is great. One feature which would improve usability and convenience a lot would be the ability to quickly edit your last sent message by pressing the arrow up key on your keyboard (while the cursor is focused in the text box below). The current workflow requires to leave your keyboard and do all this by mouse which is not the best UX for a chat solution / not that intuitive.
This would make correcting all these mall typos everyone does way faster 😉
What do you think? +1 || -1 ?
Cheers
Bent
As the title says..
I can upgrade when i know new version is out but is there a way to fix this error please?
Thank you in advance 🙂
681d751d-84cf-4970-804a-a6033887df37-image.png
Thank you all for NodeBB. There is a lot to love about it OOTB, but things start getting a bit funky if you want to make visual/structural changes. I have read every post on the forum about Themes. I have been trying to mildly modify the Harmony Theme to add a Top Nav consistent with the rest of my site, and I got close but.... My code, a duplicated left sidebar, and some strange page geometry appear.
Steps:
Clone https://github.com/NodeBB/nodebb-theme-quickstart into my sites node_modules/ Replace references to "quickstart" with my theme name. add header.tpl to templates. Modify the header.tpl to have my global Nav. Modify the overwrites.scss with my css. /nodebb build tpl && ./nodebb restart Choose theme in appearance/themes Rebuild & RestartIt is almost working, but:
The left sidebar is repeating, and the Body is getting locked in. Suggesting that I am not quite in the right place, but I am having difficulty getting there. Once I get thru this, I promise to make an actual tutorial on how to accomplish this without issues.
Screenshot 2024-03-19 at 9.12.43 AM.png
I think topics should be ranked based on the number of posts they receive within a given timeframe, irrespective of when they were created. Consider a scenario where a topic was created two weeks ago but has dominated forum discussions over the past two weeks, with a significant influx of posts in the last week alone. In this case, this topic should get the top spot in the "weekly popular" list, rather than being overshadowed by newer topics that received only a fraction of the posts this topic got.
Similarly, for "monthly popular topics," the calculation should focus on the number of posts contributed to a topic within the last 30 days, disregarding its creation date. As long as a topic remains actively discussed by members, it should maintain its position on the popularity list.
Additionally, duration list can be expanded to include "year", I believe that is still a relevant time frame...
And since calculation will not change for all-time, the all-time list will stay as is...
I think revising the logic behind topic popularity rankings, forum will offer users a more accurate representation of ongoing discussions and community interests.
I am getting this error "indicator pointer is required by the driver to indicate null output data" while I am importing data from Snowflake to SQL server using SSIS. I have created an ODBC driver connection in order to access it. I am able to do it for some of the views but unfortunately for 1 of the view it is throwing me this error :
Hi all,
How do I create a footer on my forum, like the ones seen on https://www.dbs.com.sg/personal/community/ or https://forums.opera.com/?
I am keen to insert the following:
a link to the Terms & Conditions page, Privacy Policy page, etc Standard texts or paragraphs with external links Upload the logo againThank you!
I normally don't make announcement topics for patch releases but 3.7.0 had a nasty memory leak issue due to our mongodb dependency.
473ff66f-5bd4-40b5-afb7-f2f11d830270-image.png
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.
Hi,
we are trying to upgrade our v1.17.2 instance to the latest version.
Going to v1.19.x worked fine, but v2.0.x caused some major issues.
We could resolve most of the issues by:
./nodebb reset -p nodebb-plugin-emoji-extended ./nodebb reset -p nodebb-plugin-emoji-one ./nodebb reset -p nodebb-plugin-custom-file-extensions ./nodebb reset -p nodebb-plugin-composer-redactor ./nodebb activate nodebb-plugin-emoji ./nodebb activate nodebb-plugin-composer-defaultBut the build still fails with 2 errors:
ERROR in ./build/public/src/modules/jquery.form.min.js.map 1:10 Module parse failed: Unexpected token (1:10) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loadersand
ERROR in ./build/public/src/modules/pulling-drawer.js.map 1:10 Module parse failed: Unexpected token (1:10) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loadersFull build log: https://logpaste.com/cUN6JKJq
These are the plugins we use:
Active plugins: * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled) * [email protected] (installed, disabled) * [email protected] (installed, disabled) * [email protected] (installed, enabled)I already tried to reinstall the pulling module, for example, and manually install all its dev dependencies, but it did not help:
npm install rollup rollup-plugin-typescript rollup-plugin-uglify tslint tslint-config-airbnb typescript uglifyjsThe forum itself works, but none of the links in the admin UI work. There are no errors in the web console - simply nothing happens when you click on a link.
Any help would be greatly appreciated.
PS: we are using Ubuntu 22.04 with Node.js v20.11.1 and NPM 10.2.4.
Thanks and best regards,
Tobi
Running the plattform on my isolated server and therefore was curious if enabling HTML would allow me to link on local files - basically what's the described in the following link:
Link Preview Image open a folder in windows Explorer from htmlI write a personal web app to sort my book , film , file , ... . It is just for my use and will not run on server , I wants to write some code in it that for example if I open a book in browser I can
faviconSuper User (superuser.com)
However those links just don't seem to work and I am curious what might be the reason for it. Is this a browser topic (since I am still accessing nodeBB via http(s) and while it works fine in plain html it does not within a post ...
Or is there a better way to achieve this?
Edit: The most promising so far is https://chrome.google.com/webstore/detail/local-explorer-open-file/eokekhgpaakbkfkmjjcbffibkencdfkl
However, within nodeBB the following does not work:
<a href="localexplorer:C:\Program Files">Test link localexplorer</a>
nor does
[Test link](localexplorer:C:\Program Files)
as the link is just not clickable ... any ideas to make this work?
I was annoyed by users registering with disposable/throwaway/temporary email addresses (like mailinator),
so I decided to develop a plugin to prevent that.
The ACP is just a textarea where you can paste your email domains that you want to blacklist (one per line).
Example of a maintained blacklist.
Edit: It can now also use isTempMail API to check the domain.
If an user register (or update his email address) with an email address that is blacklisted, it will block the registration with an error message.
Link Preview Image Build software better, togetherGitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
faviconGitHub (github.com)
nodebb email blacklist. Latest version: 3.0.0, last published: a day ago. Start using nodebb-plugin-email-blacklist in your project by running `npm i nodebb-plugin-email-blacklist`. There are no other projects in the npm registry using nodebb-plugin-email-blacklist.
faviconnpm (www.npmjs.com)
NodeBB is at this year's FediForum, and one of the breakout sessions centred around the Theadiverse, the subset of ActivityPub-enabled applications built around a topic-centric model of content representation.
Some of the topic touched upon included:
Aligning on a standard representation for collections of Notes FEP-1b12 — Group federation and implementation thereof by Lemmy, et al. Offering a comparatively more feature-rich experience vis-a-vis restrictions re: microblogging Going forward: collaborating on building compatible threadiverse implementationsThe main action item involved the genesis of an informal working group for the threadiverse, in order to align our disparate implementations toward a common path.
We intend to meet monthly at first, with the first meeting likely sometime early-to-mid April.
The topic of the first WG call is: Representation of the higher level collection of Notes (posts, etc.) — Article vs. Page, etc?
Interested?
Publicly reply to this post (NodeBB does not support non-public posts at this time) if you'd like to join the list If you prefer to remain private, please email [email protected]As an aside, I'd love to try something new and attempt to keep as much of this as I can on the social web. Can you do me a favour and boost this to your followers?
-
General Discussion
A place to talk about whatever you want
-
NodeBB Development
Stay tuned here to hear more about new releases and features of NodeBB!
-
-
NodeBB Themes
A public listing of community themes created by the NodeBB community. -
Technical Support
Need help with installing or configuring NodeBB? Look here.