1
1

We received word recently that one of our long-standing clients, NFC Ring, is planning to shut down their forum toward the end of the month. While this is normally a sad time, it's worth mentioning that NFC Ring has been hosting their forum with NodeBB for over ten years! They've been with us just about as long as our self-serve hosting service has been, along with all of our ups and downs over the years.

Their forum contained a couple custom integrations, along with the earliest known NodeBB SSO plugin, and had a custom theme at one point as well.

These innovators envisioned the idea of paying for groceries with the tap of a ring years before that technology became ubiquitous. Super cool.

Nevertheless, their trust in us (a dinky little company in 2013) did not go unnoticed, and we wish them the best!

f4e9ed32-fa53-4268-86c2-17e7090b5223-image.png

5d017523-37e2-4c5c-a2db-99ecb748bc99-image.png

2
1
How do I upload a picture (community.nodebb.org)

How do I upload a picture to the forum? nodebb-plugin-markdown but there is no place to add a picture, 21.png tell me what plugin it is?

3
1
Help please (community.nodebb.org)

Guys, can anyone help with setting up the server? I gave VPS access I haven't been able to set it up for 5 days now

4
1
Child themes repo? (community.nodebb.org)

Is there such a thing as a child theme repo? For example, say I want to use Harmony but I want to customize it but someone else already has a lot of what I want done so I could use that.

5
1
Ads and popups (community.nodebb.org)
submitted 1 day ago* (last edited 1 day ago) by nodeham@community.nodebb.org to c/general-discussion@community.nodebb.org

Can anyone recommend a well supported plugin that allows inserting ads between posts and/or perhaps other parts of the site. Something that can be controlled so it's not overwhelming. it would have to allow both Google ads (and others?) along with custom ads such as my own ads being placed here and there.

Also, does anyone know of a way to have a banner or notice pop up for all new or all guests visiting?

6
1

Was wondering if anyone had even thought of, let alone used NodeBB for Drupal comments? I kinda like the idea of using it instead of the default comment system. It allows some more finer discussion control I think, while keeping unneeded people from having accounts on the content pages.

Is this even possible like I am thinking?

7
1
Header code not showing up (community.nodebb.org)
submitted 4 days ago* (last edited 4 days ago) by nodeham@community.nodebb.org to c/general-discussion@community.nodebb.org

I was doing some testing of meta data and found something odd. I have matomo code in the custom header but it's not showing up in the source after saving/rebuilding etc. What is really odd is that I have matomo code in another nodebb that we have and its working fine. Both are the exact same version using the non customized Harmony theme.

Not really sure what information to share to get help for this one.

8
1
nodebb-widget-essentials (community.nodebb.org)
submitted 5 days ago* (last edited 5 days ago) by jack-sparow-1@community.nodebb.org to c/general-discussion@community.nodebb.org

up to date, audited 1421 packages in 2m 242 packages are looking for funding run npm fund for details 10 vulnerabilities (5 moderate, 5 critical) To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run npm audit for details.

gives this error, what plugins are compatible?

9
1
switch(true) gotcha (community.nodebb.org)
submitted 5 days ago* (last edited 5 days ago) by julian@community.nodebb.org to c/general-discussion@community.nodebb.org

I discovered this week a little footgun if you happen to use this bit of syntactic sugar:

const object = {
    foo: 'bar',
}

switch (true) {
    case object && object.foo: {
        // This will never execute
    }

    default:
        // ...
}

The cases in your switch(true) must actually return true, not truthy, for the case to execute.

Using switch(true) is a bit of a controversial coding practice, since it's only meant to replace long if..else if..else chains. Literally has no additional utility except aesthetics... but I like it nevertheless :joy_cat:

10
1

We were contacted recently with a client request to migrate a forum into NodeBB and launch to a large audience very very rapidly.

Naturally, we said yes.

The client's team did the migration using the Write API, and handed over a MongoDB import for us to import. They also built a brand new theme from scratch.

With the forum migrated and deployed, they launched today with a staggered release: an email blast followed by a 6pm Instagram push.

This is what that looked like :grimacing:

image_1679597465804780422.png

With a large client like this we'd typically opt for a scaled setup with a load balancer, but we wanted to see how far we could push a single NodeBB installation. At 2pm we ran into the limitations of a single vCPU and doubled the resources. In the end we were able to handle the largest load (the 6pm Instagram launch) with 4 vCPUs on a virtual private server with 8GB RAM.

What kind of load were we seeing by the end? Our records indicate a peak of 83k page views/hr spread across 21k unique IP addresses.

Are you a fan of Jon Bellion? Check out their forum: https://beautifulmind.club/

Shall I ask them to federate their forum? :smiling_imp:

11
1

When I move posts on nodebb and the url changes, is there a way to give visitors a 301 rather than a 404? In my opinion, this should be done automatically otherwise you get dinged by search engines but I don't see that.

12
2

@general-discussion Is there a manual for regular users of NodeBB?

13
0

Hello everyone! 😊

I recently set up a NodeBB forum on a shared hosting server, but I’m noticing some performance issues, especially when multiple users are online. The forum sometimes loads slowly, and there are occasional delays in real-time updates.

Here’s my current setup:

Hosting: Shared hosting (supports Node.js) Database: MongoDB Plugins Installed: Basic plugins like Markdown and Emoji Traffic: Currently low, but expected to grow I’d love to hear your recommendations on:

Optimizing NodeBB for better speed and efficiency on shared hosting. Best caching methods to reduce server load. Any essential plugins or configurations to improve performance. I appreciate any insights or suggestions from the community. Thanks in advance! 😊

14
0

How to replace FontAwesome with Simple Icons in NodeBB?

15
0
submitted 2 weeks ago* (last edited 2 weeks ago) by twissell@community.nodebb.org to c/general-discussion@community.nodebb.org

Hello everyone!

I want to create some user programmatically using simple Python script and Master API token I've written this test script

#!/usr/bin/python3

import sys
import requests

auth_url =  'https://forum.example.com/api/v3/utilities/login'
#config_url = 'https://forum.example.com/api/config'
main_url =   'https://forum.example.com/api/v3/users/'

headers = {'Authorization':'Bearer Token-is-here'}
auth_data = {'username':'John','password':'JohnPassword','email':'john@example.com'}


#Authenticate before using API
r = requests.post(auth_url,headers=headers,data=auth_data)

#Get config with user data
#r = requests.get(config_url)
#res_json = r.json();
#csrf_key = res.json['csrf_token']
main_data = {'username':'Robin93', 'password':'MyPassword', 'email':'robin@example.com'}
r = requests.post(main_url, data=main_data)

But I get r.text '{"status":{"code":"forbidden","message":"You are not authorised to make this call"},"response":{}}' in response :-( What am I doing the wrong way?

Thank you all !

P.S. My token is Master Token, so I updated the original code snippet.

16
0
submitted 2 weeks ago* (last edited 2 weeks ago) by razibal@community.nodebb.org to c/general-discussion@community.nodebb.org

I've been a fan of forums for years (decades, even...) going all the way back to BBSes and newsgroups. However, in recent years, I've noticed that more and more discussions have been moving to Reddit and Discord. While I understand the appeal of subreddits covering nearly every conceivable topic, I struggle to see why Reddit, in particular, has become so dominant. It lacks many features that decent forums take for granted, yet it seems to be steadily wiping out independently hosted forums. Am I missing something obvious that explains its popularity?

17
2
Theme confusion (community.nodebb.org)

My nodebb website doesnt look like this one. (no boxes along top showing recent posts etc)

I figured my default install Theme must not be Harmony (which is this one right?)

I went to ACP > Themes and I was surprised to see both Harmony and Persona listed as 'the default' and the forum is supposedly on Harmony already. So why dont I get the boxes at the top? Screenshot 2025-02-07 114726.png

18
1

You can go to your theme settings and enable a new option to adjust the layout of the topic page.

One thing that always bothered me in Persona—and to some extent in Harmony—was how far down the main post appeared on the page. This new option helps alleviate that issue. By default, the post bar remains at the top, and the mobile view remains unchanged.

Here’s a screenshot:

f403770d-3ea0-4483-a0c0-528021192040-image.png

19
2

I converted content using this

Sockets.renderPreview = async function (socket, content) {
    return await plugins.hooks.fire('filter:parse.raw', content);
};

How to convert to raw data like initial ?

20
2
[Test] How to edit post (community.nodebb.org)

I doing web using nodebb . I want test how to edit post

21
2
Script kiddies need lives (community.nodebb.org)

No problems with nodebb, just an observation of so many people wasting their lives trying to hack others. Some having the potential to be highly skilled and well paid folks but instead spend their time trying to hurt others.

I put a site online just to test a few things. It's not advertised or mentioned anywhere yet but look at the stats. Lots of hits from bots, most presumably looking for Wordpress sites. I just thought it was interesting and wanted to share.

979562de-957f-42c0-8f4b-28e2e7aba0c4-image.png

22
1
Markdown settings missing (community.nodebb.org)

I'm trying to find how I can enable Parse Markdown in API posts so I go to Extend, Plugins, Active and click on Settings for the markdown plugin.

That leads me to;

Not Found You seem to have stumbled upon a page that does not exist.

Am I doing something wrong or is there a bug?

23
1
410 gone using API (community.nodebb.org)

I'm using the nodebb API to create posts and update them. The user is fully allowed to post as the API authenticated user. There are no limitations or auto removals set in the nodebb forums settings.

I can go to the category and click on the post and see it. I can move away from the category and go again and I see the post. The only time it goes 410 is when I refresh the browser while viewing the post.

I'm told it could be the nodebb cache causing this but if that is the case, how can I prevent this from happening as I certainly don't want to disable cache. Posts should never show 410 gone when they are in fact still there so what's going on?

24
1
NodeBB at HN (community.nodebb.org)

NodeBB v4.0.0 – Federate good times, come on (nodebb.org) https://news.ycombinator.com/item?id=42845847

25
1

In another thread, @puppygirlhornypost2@transfem.social talks about challenges regarding proliferation of spam (or other unwanted content) on the fediverse:

> ... I was talking about reddit's "posts require approval" mode. Something that might be of use for new accounts registering on pixelfed instances to prevent things like gorespam from occurring.

NodeBB has the post queue (our name for it), and it works really well to stop drive-by spammers. Most cheap spam is easily identified as such, and it's only a couple clicks to send them to /dev/null.

More recently, and especially since we've been federating posts outward, we've started encountering possibly LLM generated content entering our post queue. It could be that these accounts are legitimate users creating an account to respond to remote content, but it's equally likely that they're attempting to create plausible content in order to pass validation, before proceeding to post spam.

At least here on community.nodebb.org it's trivial to discover, because this forum is for NodeBB support/discussion, and a post out of the blue responding to a post about Trump or Israel/Palestine is very obviously not meant to be on this forum, although it's definitely one of those "hard problems" for more general instances.

view more: next ›

General Discussion

0 readers
4 users here now

A place to talk about whatever you want

founded 1 month ago