General Discussion

0 readers
2 users here now

A place to talk about whatever you want


This is a forum category containing topical discussion. You can start new discussions by mentioning this category.

founded 1 month ago
1
 
 

Hi can we change the topic/post editor

Something like if i copy .doc file whole content with images and paste then it takes as it is structure of text and images. Font is not required in this case.

But with current editor, I am not able to copy and paste whole content with images directly form the .doc file. also bold text comes in simple format.

Is that possible to change ?

2
 
 

Its not straightforward. Adapting the priviliges is a bit cumbersome, isnt it for a first install? Result is a white page where all categories are missing, but no login. There is a plugin that is not whitelisted - cannot install I did npm install nodebb-plugin-private-forum https://github.com/LM1LC3N7/nodebb-plugin-private-forum is not maintained any more This plugn does not appear to do anything more than what I already did with disabling categories. No redirect to login page for visitors

3
 
 

Hey, remember Skype? I do. When I joined my first tech company (making silly little Facebook games back when that was a thing), they were coordinating over emails and in-person desk visits. First thing I did as an unpaid intern was move the dev team onto Skype.

We used it for so long we have some Skype emoji on this forum too :voodoo: :wave2: :mooning:

So long Skype, and thanks for all the fish.

https://www.pcmag.com/news/microsoft-is-shutting-down-skype-shifting-users-to-teams

4
1
Nodebb version Mongo db (community.nodebb.org)
submitted 3 weeks ago* (last edited 3 weeks ago) by jack-sparow-1@community.nodebb.org to c/general-discussion@community.nodebb.org
 
 

Hi everyone,

I'm planning to deploy NodeBB in production and have some questions regarding compatibility. Could you please share your insights on the following?

Which version of NodeBB is currently considered the most stable and compatible with most plugins? What versions of MongoDB and Redis do you recommend using to avoid any conflicts with NodeBB and its plugins? Are there any specific configurations or nuances I should be aware of during installation and setup to ensure smooth operation? What version of Ubuntu should I use? Thanks in advance for your help and recommendations!

5
 
 

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

6
 
 

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?

7
 
 

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

8
 
 

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.

9
1
Ads and popups (community.nodebb.org)
submitted 3 weeks ago* (last edited 3 weeks 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?

10
 
 

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?

11
1
Header code not showing up (community.nodebb.org)
submitted 4 weeks ago* (last edited 4 weeks 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.

12
 
 

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?

13
2
switch(true) gotcha (community.nodebb.org)
submitted 4 weeks ago* (last edited 4 weeks 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:

14
 
 

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:

15
 
 

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.

16
 
 

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

17
 
 

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! 😊

18
 
 

How to replace FontAwesome with Simple Icons in NodeBB?

19
 
 

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.

20
 
 

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?

21
 
 

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

22
 
 

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

23
 
 

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 ?

24
 
 

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

25
 
 

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

view more: next ›