Has anyone else noticed that your forum slows down in terms of response after you've chosen an emoji, or even opened the preview to see what ones are available? I mean this
[image: 1729620550610-1c427dbd-ca1f-48a4-a845-73e270f78b5a-image.png]
On my site at least, the activation of this drop-up means data takes around 2 seconds longer to load until I reload the browser. Has anyone seen this?
I get the nodebb-plugin-composer-quill from github, and the configuration is no problem
[image: 1730097857290-dff81bb8-da8a-4203-b767-0bf9d348f540-image-resized.png]
However,when I want to create a new topic and click it,the composer cant use.
It is like this
[image: 1730098070605-b8a13611-6536-4cfa-bd62-7dafcd4676f7-image-resized.png]
I must solve the question, what should I do?
My nodebb installation revolves around sharing files such as xml, json etc.
However, when users want to download raw files such as the uploaded xml I supplied. It's not downloading the file, seeing as its being saved as .xml. Rather it's opening the file in the browser.
Is there something I missed? If not, how can I make sure that the supported files can be downloaded rather then open in the users browser?
Ontop of that, when opening the xml in the browser nodebb is making changes to the structure of the xml, causing it to not be correct as it was before offering it as a download
Related to the ForumWG topic of resolvable context collections, there are four FEPs that are currently in consideration:
FEP-7888: Demystifying the context property
FEP-400e: Publicly-appendable ActivityPub collections
Draft FEP-171b: Conversation Containers, an evolution of Conversation Containers
FEP-76ea: Conversation Threads
@[email protected] made a suggestion last month to hopefully reduce the number of moving parts:
Both FEP-400e and FEP-1b12 implementations: support FEP-7888 (context collection)
FEP-400e implementations: upgrade to Conversation Containers
FEP-1b12 implementations: add target property to Announce activity that points to context collection.
This takes FEP 400e out of the running (potentially). But the day after that last meeting, @[email protected] put together FEP 76ea, and now we're back to three.
My concern is that all three FEPs (7888, 171b, and 76ea) all share these distinct qualities:
They establish a conversational context for a given object
They federate out an Add on collection addition. (76ea also sends Remove)
They contain some concept of a context owner (attributedTo)
They differ on the following qualities:
7888/171b use context whereas 76ea uses a new property thr:thread
171b specifies a new object type Context
Collection items:
7888 sends objects in chronological order
171b sends activities in chronological order
76ea sends objects in reverse chronological order
In the lead up to the November WG meeting I'd like to address those differences. All three FEPs are in pre-draft or draft stages, and so I am hoping we can find some common ground and compromise.
Pinging interested parties (who were not already mentioned above) for comment:
@[email protected] @[email protected] @[email protected] @[email protected]
I've added the plugin and the API key, but no-one gets any emails from my forum. I've followed the instructions multiple times, restarted several times and used the API key via cURL to confirm it works (copied and pasted it out of nodeBB to be sure it's the same), which it does.
Trawling through the startup logs, I can see
2024-10-27T15:53:38.103Z [4567/12061] - [32minfo[39m: [plugins/emailer-sendgrid] Custom field nodebb_username already exists, OK.
2024-10-27T15:53:38.162Z [4567/12061] - [32minfo[39m: [plugins/emailer-sendgrid] Custom field nodebb_fullname already exists, OK.
2024-10-27T15:53:38.162Z [4567/12061] - [32minfo[39m: [plugins/emailer-sendgrid] Done.
so that looks good. If I go to the events, I can see:
{
"confirm_code": "[confirm code]",
"email": "[user's email]",
"force": true,
"timestamp": 1730038787173
}
so that looks good too. I've been through the source code for the plugin and I can see where Winston would log something out if there was an issue, but there's nothing in the logs - after all the SASS deprecation warnings, nothing else gets posted. I've enabled port 1337 on my server's firewall to ensure the connections stay alive, in case that's relevant.
Do I need to open port 25 for SMTP? Thanks!
I'm new to NodeBB and really enjoying it so far! I’ve previously used the MyBB forum system, but I’m excited to transition to NodeBB.
I attempted to recreate the header from NodeBB.org, and while I managed to get a similar look, it’s causing an issue with my layout—the header seems to push the sidebars down, disrupting the overall appearance.
Is there a guide or any tips on setting up the header to look like this forum's layout? I really like its design, but I can’t seem to prevent the sidebars from shifting down. Any help would be greatly appreciated!
Here is nodebb sidebar and header
[image: 741532826a10a19bcf927385f0fe2bfd.png]
Here is what happens when I replicate it (I have removed my logo for trust reasons)
[image: 1729876172183-52ad6ce33bf86885141233b01114c56c.png]
I would like to setup my header & sidebar the same way as nodebb as it's professional, and looks great.
Regards.
@julian said in Does context in AP have to be a collection, or can be be like a Flag activity? Say I wanted to Create(Note) about a Flag I'd received, I'd need:
If you queried the context, you'd get an OrderedCollection containing objects that you have access to view, but since in NodeBB only moderators can view flag reports, anybody querying it over ActivityPub would just get an empty collection.
The quote was in reference to whether disparate as:Flag activities could be grouped together under a common context (per 7888).
To be technically correct, it would contain the Flag activities... which reminds me of a discussion @[email protected] and @[email protected] had about what a context collection could contain... objects vs. activities.
In this particular case, I suppose the context collection would contain activities, not objects, which would mean we'd need to relax any recommendation that they contain either objects or activities, since it could contain any mixture of both.
Hello. we're looking for someone who has experience creating themes for NodeBB.
We already have the figma design and everything else prepared, and am looking for someone who is capable of editing NodeBB structure.
We are looking to get these plugins done in the next few weeks.
You can mail me at pkmygm [at] gmail [dot] com.
Thanks in advance for your help.
P.S: I apologize if submitting this kind of post is not allowed.
Hey, how is it going? I wanna start off saying I might have a general idea of things but it's gotten very technical for me and I can't seem to get any progress done. I'm trying my best to get to try NodeBB but can't even begin to do so if I can't get past the importing. I will not use nodebb without importing my ipb database and wasting hours with no progress from the get go is making me think about giving nodebb up.
I've spent the past couple of days trying to import an IPB forum to NodeBB using seemingly the only method available https://github.com/akhoury/nodebb-plugin-import
Starting from the package install which threw error after error - had to manually grab package.json from github, managed to sucessfully install in some instances although recently (started from scratch as I was pilling error messages up even after managing to do npm i) it's been impossible as it's not picking up my Visual Studio 2017 installation and some other errors I lost track of.
On the cases I sucessfully managed to install the required packages, I could never get past 'node app --setup' step due to errors related to using require instead of import, which I'm not 100% sure how to do but I guessed it would require me to modify the script manually and I did in some instances, progressed through error messages until I couln't go further on some related error.
Also had issues with the Node version itself, too.
I'm sorry I'm not being very specific with the errors and not showing any logs but honestly I've had so many issues I couldn't be bothered to collect them, as it stands now, the importing script is not working without fine tuning I have no idea how to do - there hasn't been any recent issues on the github and none of them old ones seems to address the issues I'm facing.
The repository guide seems to assume I know things I don't and doesn't contemplate the issues generated by the pass of time, hahaha.
Would it be possible for someone knowledgeable to lend me a hand on this? I could use some directions, I can follow steps, maybe I'm not seeing something obvious - I honestly don't know.
By the way, I'm using Windows 11
in this file: src/controllers/uploads.js:154
uploadsController.uploadFile = async function (uid, uploadedFile) {
if (plugins.hooks.hasListeners('filter:uploadFile')) {
return await plugins.hooks.fire('filter:uploadFile', {
file: uploadedFile,
uid: uid,
folder: 'files',
});
}
if (!uploadedFile) {
throw new Error('[[error:invalid-file]]');
}
const isAdmin = await user.isAdministrator(uid);
if (!isAdmin && uploadedFile.size > meta.config.maximumFileSize * 1024) {
throw new Error(`[[error:file-too-big, ${meta.config.maximumFileSize}]]`);
}
const allowed = file.allowedExtensions();
const extension = path.extname(uploadedFile.name).toLowerCase();
if (allowed.length > 0 && (!extension || extension === '.' || !allowed.includes(extension))) {
throw new Error(`[[error:invalid-file-type, ${allowed.join(', ')}]]`);
}
const currentDate = new Date();
const year = currentDate.getFullYear() + '';
const month = String(currentDate.getMonth() + 1).padStart(2, '0') + '';
const date = String(currentDate.getDate()).padStart(2, '0') + '';
const random = Math.random().toString(36).substring(2, 4);
const dirPath = path.join('files', year, month, date, random);
return await saveFileToLocal(uid, dirPath, uploadedFile);
};
i thinks this is good for files manager
I've just set up a NodeBB installation, and originally I just put my site's base URL (https://drrelling.dev) as the URL during installation. I'm hosting it on nginx on a subfolder via proxy_pass, however, so I've updated the url property in config.json to https://drrelling.dev/forum. The page loads on /forum, but all the asset files are still referring to the base URL and so are trying use https://drrelling.dev/assets/ as the assets folder. Opening one in a new tab and manually editing the url to be https://drrelling.dev/forum/assets/ shows the expected file.
Poking around in the code I found the config.relative_path attribute, and sure enough when I checked the config in the browser it was set to "". Is NodeBB having trouble parsing my weird URL, or is there something else I'm doing wrong?
Thanks!
I need the Norwegian Nynorsk localization. Using NodeBB in a public service i Norway, demand that you can choose between both. We will fokus on the user space translations, but we will problaby run trough the rest over time.
I see it has been requested for some time ago, and there are several different requests for some reason, but the placeholders hasn´t appeared so we can start working on it.
Dear friend,
i'm testing NodeBB on server: 64GB RAM with 6C/12T dedicate server, 512GB NVME.
I see problem when i have over 60k topic!
[image: 1728647323181-26edbca8-6309-497f-87b1-c8d3fcd81901-image-resized.png]
Testing case:
1. Site load very fast if i don't login.
2. Register slow.
3. Login with any user, loading page very slow.
When i check DB, i see NodeBB use one colum for everything which is problem? any sugest for my case?
I try with method:
1 server for mongoDB
1 server for redis session.
Config.json
{
"url": "https://nodebbv2.servicesio.com",
"secret": "f3e455ac-0a49-4d8d-b70f-50f99c6998aa",
"database": "redis",
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "nodebb",
"password": "nodebb",
"database": "nodebb",
"uri": ""
},
"port": ["4567", "4568" , "4569"],
"bcrypt_rounds": "21",
"bind_address": "0.0.0.0",
"isCluster": "false",
"session_store": {
"name": "redis",
"host":"127.0.0.1",
"port":"6379",
"password": "",
"database": "1"
}
}
Problem is same and i don't see any error log ( test with:. ./nodebb start or node app.js)
I used to use cookies for authentication, but now I have a central IdP (like Auth0), and all user data will be provided by the IdP.
I checked this document: https://docs.nodebb.org/api/read/#section/Overview/Authentication, and I tried using the IdP OIDC token as Bearer Authentication, but it failed.
So, I want to know if this is possible. Maybe I made a mistake.
Thank you, and I guess everyone can't wait to see version 4.
Does anyone know what the most broadly implemented standard is for signalling that a web page has an alternative ActivityPub endpoint?
What I found online (and with @[email protected] and @[email protected]'s input) was to deliver a Link header and set a <link> tag, but it doesn't seem to work (at least with Megalodon)...
Hi there,
Running 3.10.2 and am still fairly new to NodeBB admin.
I'm trying to get widgets to layout beside each other similar to community.nodebb.org's Categories page, as well as the layout shown in Harmony theme's Categories example screenshot.
I drag widgets over to the Categories Header area, and no matter what I do they only stack vertically. I haven't found any way for the widgets to go beside each other, and am curious if I've hit a weird issue, or if I'm just missing something obvious.
Is there any feasible way to override the JS that sets the background colour of categories? I'd like to style these differently, although no matter what I try, my code and styles are being overwritten. For example, this should work
$(document).ready(function() {
$(window).on('action:ajaxify.end', function(data) {
$('li[component="category/topic"]').each(function(i) {
var dataId2 = $(this).attr("data-cid");
var color2 = $('[component="topic/labels"] a[href^="/category/"]', this).css("background-color");
console.log(color2);
//console.log("data-cid " + dataId + " is " + color);
$('[data-cid="' + dataId2 + '"] [component="topic/labels"] a').attr("style", "border-color: " + color2 + " !important;color:" + color2 + " !important");
});
});
});
Which it does for a split second but is then promptly overridden, but I can't see where from. Essentially, I want to get the background color that is in the database, and then use that to set the font and border colors
Hello,
I've recently encountered something of the most weird kind : user accounts are mixed up. What I mean is that for example, a user A can login to their account, with their username and password, but will have access to an account B, including settings, emails, posts and more.
It is a profound security issue, and is also causing great confusion.
I've had to restore a backup of the database a few months back, and this issue did not appear at the time. Some accounts do no appear to be affected, as mine for example is normal.
Did anyone else have this issue ? Can I do anything to resolve it ?
I was thinking of deleting all the accounts and re-creating them and inviting the users to reset their passwords en masse, for example by exporting all the users to a CSV and then re-inviting them, but I am not sure it will resolve the issue.
It seems as if the user's ID have been linked to two accounts. A strange case of data schyzophrenia.
The forum is also extremely slow and shows a very high mongoDB usage.
Thank you for your help,
Cheers
I'm currently running NodeBB 3.9.0.
This plugin allows adding user levels in the ACP based on reputation.
Originally built by https://github.com/lamcuongdat, I've updated it to work on 3.x and installed on this forum for testing. Available levels can be seen at https://community.nodebb.org/user-levels.
[image: 1684285988532-eb9e36b5-6373-4366-bfda-ba1cfcf2b67a-image.png]
[image: 1684286085844-eb67fba2-43a0-4302-b666-8723d5c24991-image.png]
[image: 1684286184081-a2dae40b-12b2-4fe4-946c-253aa036ce2f-image.png]
Repo & Issues:
https://github.com/NodeBB-Community/nodebb-plugin-user-level
Installation:
npm i @nodebb/nodebb-plugin-user-level
-
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!
-
Feature Requests
You have a cool idea about NodeBB? Post it here.
-
-
NodeBB Themes
A public listing of community themes created by the NodeBB community. -
Technical Support
Need help with installing or configuring NodeBB? Look here.
Copyright © 2024 NodeBB | Contributors