@brazzerstop lint-staged is a dev-dependency, not sure why it's showing up there but you can safely ignore that warning.
PitaJ
Posts
-
NodeBB 3.4.0 -
Section name not being included in breadcrumb@inna yeah I recommend doing this in a custom plugin or theme, rather than editing the persona files directly.
Anyways, you'll need to import
categories
andmeta
as well like so:const categories = require.main.require('./src/categories'); const meta = require.main.require('./src/meta');
Everything else looks right
-
Many NodeBB forums have a message... connection... lost...because of the way websockets work, the server only accepts websockets from the true forum URL. For instance, the suunto forum is actually at https://forum.suunto.com/ which does not have that message.
The "connection lost" message is usually caused because the URL at which you are visiting a NodeBB forum is not the
"url"
value set in config.json -
NodeBB 3.5.0 -
Section name not being included in breadcrumbNo no no no no. Comment out the line with
var meta
. The one that shows up at the top of the error message you posted. Make sure you uncomment all of those other things.This is not a bug in NodeBB. As the error message clearly says, the variable
meta
was already declared in that scope in library.js. (Asconst meta ...
) -
Data migration from custom made forumTry looking over https://github.com/akhoury/nodebb-plugin-import
-
Teamspeak plugin?I made two Teamspeak plugins already.
One allows for automated server administration, the other allows for the server tree, online users, etc to be shown in a widget.
nodebb-plugin-teamspeak
https://github.com/pitaj/nodebb-plugin-teamspeak
nodebb-widget-teamspeak
https://github.com/pitaj/nodebb-plugin-teamspeak -
Section name not being included in breadcrumbIn the error message
2021-03-04T17:05:46.584Z [4567/600] - error: /some_path/node_modules/nodebb-theme-persona/library.js:37 var meta = require.main.require('./src/meta'); ^
You need to edit the same file you've been editing the whole time:
/some_path/node_modules/nodebb-theme-persona/library.js
You need to comment out line 37, the one that starts with
var meta
as shown in the error message. -
Upgrade from 1.8.1 to 1.8.2 failedYou did say you started on 1.7.5 though, which is super weird as that should not have those dependencies in the first place.
-
[nodebb-plugin-header-extend] Custom links in the site's main menu -
Section name not being included in breadcrumb@inna yep so try commenting out that line and restarting
-
Plugin Contest Entries: Calendar, Teamspeak admin, Teamspeak viewing widgetThe Calendar plugin's stylesheet has been completely redone, and now it is mobile-friendly. Yay!
I also added the optional ability to use @arasbm's nodebb-plugin-whoisin as the engine for responses.
The latest version is 0.1.1
-
Section name not being included in breadcrumb@inna okay try adding this below the
const meta = ...
line:const relative_path = meta.config.relative_path;
-
nodebb.service: Start request repeated too quickly.Please use the application tutorial at docs.nodebb.org instead. Readthedocs for NodeBB is no longer maintained.
-
Plugin Contest Entries: Calendar, Teamspeak admin, Teamspeak viewing widget@BDHarrington7 that's it then.
I'll definetly make the plugin compatible in my next update (as well as adding a couple more features).
-
Section name not being included in breadcrumb@inna okay it looks like the solution I gave was incorrect, but at least you aren't getting errors.
meta.config.relative_path
is wrong (which is why you see a bunch ofundefined
). Try this instead:const relative_path = require.main.require('nconf').get('relative_path');
-
Include additional data in digest emailsA combination of overriding the template and
filter:email.params
should work for you. -
[nodebb-plugin-header-extend] Custom links in the site's main menu@Scuzz If you check
Show only the icon in desktop menu
, it shows only the icon in the normal navbar, but the icon and the title in the mobile menu.Does it not do the same on your site? Are you on version 0.0.4?
-
After installing on Ubuntu, only seeing the "welcome to nginx" page@selmank please provide the output of the following commands:
ls /etc/nginx/sites-available
ls /etc/nginx/sites-enabled