Verified
Posts
-
Nodebb to Xenforo -
Nodebb to XenforoHello, I have an active forum running on NodeBB and I would like to migrate it to XenForo. Is this possible, and how can I do it?
I don’t believe there’s an official NodeBB to XF importer.
You’ll have to create one yourself or would first need to convert to software we do have an importer for :
-
Nodebb to XenforoHello, I have an active forum running on NodeBB and I would like to migrate it to XenForo. Is this possible, and how can I do it?
-
What’s going on with NodeBB?@cagatay The most reliable way to upgrade Node.js on Ubuntu depends on how you originally installed it.
Method 1: Using NVM (Recommended)
If you already use Node Version Manager (NVM), upgrading is simple. NVM allows you to keep both versions and switch between them if needed.
- Install Node 22:
nvm install 22 - Switch to Node 22:
nvm use 22 - Set it as your default:
nvm alias default 22 - Verify the change:
node -v
Method 2: Using NodeSource (PPA)
If you installed Node.js via
aptusing the NodeSource repository, you need to update the repository script to point to the new version.- Remove the old NodeSource list (optional but cleaner):
sudo rm /etc/apt/sources.list.d/nodesource.list - Download and run the NodeSource setup script for Node 22:
curl -fsSL [https://deb.nodesource.com/setup_22.x](https://deb.nodesource.com/setup_22.x) | sudo -E bash - - Install/Upgrade Node.js:
sudo apt-get install -y nodejs - Verify the installation:
node -v
Method 3: Using the ‘n’ Package
If you have
npminstalled, you can use theninteractive manager.- Clear the npm cache:
sudo npm cache clean -f - Install the ‘n’ helper:
sudo npm install -g n - Install Node 22:
sudo n 22 - Update your shell:
hash -r
Troubleshooting
- Permission Denied: If you see permission errors using Method 2 or 3, ensure you are using
sudo. - Path Issues: If
node -vstill shows version 20 after upgrading via NVM, restart your terminal or runsource ~/.bashrc. - Conflicts: Avoid mixing these methods. If you switch from
apttonvm, it is best tosudo apt remove nodejsfirst to avoid path conflicts.
- Install Node 22:
-
What’s going on with NodeBB?how to upgrade nodejs v20 to v22?
-
What’s going on with NodeBB?I don’t want to keep worrying about whether the script will break with every update. Yes, we invested a lot of effort, yes, I have custom code, and yes, everything works well but somehow I end up facing issues after every update. And honestly, I think they have a development approach that doesn’t really listen to users. They just add or remove things based on their own ideas. The social plugins were a complete disaster
-
[NodeBB] Focus Mode : simply immersive reading for NodeBBHey everyone,
I’m not sure where to post this, I’ll let @phenomlab edit it if necessary.
Already posted here : https://community.nodebb.org/topic/19318/focus-mode-simply-immersive-reading-for-nodebb
I’ve been working on a small client-side script that adds an simply immersive reading mode to NodeBB. No plugin required, just a few lines of custom JS and CSS dropped into the ACP.
I’m just sharing this here for fun : https://github.com/DroidBV8/nodebb-focus-mode

What it does
Pressing F (or clicking the icon in the right sidebar) hides everything that isn’t the content you’re trying to read:
- Both sidebars
- Header / brand bar
- Footer
- Topic thumbnails and sidebar tools (reply, follow, timeline)
The content area reflows to a centered 860px column, font size bumps up slightly, and a reading progress bar appears at the top of the page.
To exit: press F again, Escape, or click the floating button that appears in the bottom-right corner.
Details
Activation effect : a subtle CRT glitch effect plays on toggle. Three CSS variables let you dial the intensity up or down without touching the keyframes:
--fm-glitch-opacity: 1; /* 0.5 = subtle | 2 = heavy */ --fm-glitch-skew: 1deg; --fm-glitch-shift: 4px;Keyboard :
Fto toggle.Ctrl+F,Cmd+FandAlt+Fare ignored so you don’t accidentally trigger it when searching the page.Scroll preservation : when toggling, the layout shifts because sidebars appear/disappear. The script measures the position of the nearest visible post before and after the layout change, then compensates with
scrollByso you stay exactly where you were.Topic-only : the button is greyed out on non-topic pages with a tooltip explaining why. Pressing
Foutside a topic shows a small toast instead of doing nothing silently.Mobile: disabled entirely under 768px. No button injected, no state restored.
Theming : all colors reference Bootstrap CSS variables (
--bs-body-bg,--bs-border-color,--bs-primary, etc.) so it adapts automatically to any NodeBB theme, light or dark.State : saved in
localStorage, restored on next visit. Usestry/catchso it degrades gracefully in private browsing.
Implementation notes
The script is a self-contained IIFE, hooking into the standard NodeBB client-side events:
$(window).on('action:ajaxify.end', function () { focusMode(); }); $(window).on('action:topic.loaded', function () { focusMode(); }); // etc.The glitch effect is pure CSS
@keyframes, the JS only adds/removes classes. Layout compensation is synchronous (getBoundingClientRect→scrollBy) with nosetTimeouton the scroll itself, which avoids triggering NodeBB’s scroll-based URL updater in a loop.
Compatibility
Tested on NodeBB 3.x with Bootstrap 5 themes. Should work on any setup using the standard sidebar components (
nav.sidebar-left,nav.sidebar-right). -
What’s going on with NodeBB?Honestly, I don’t regret the move at all on my side but I get that the experience can be very different depending on how comfortable you are with the technical side. XenForo is definitely more forgiving if you don’t want to deal with the server.
One thing worth keeping in mind though: your install has some custom code on it, and need to know what it does or stay to stock nodebb witout modification
What’s actually frustrating you the most right now? If it’s day-to-day admin stuff, there might be simpler fixes than rebuilding everything on XenForo.
-
What’s going on with NodeBB?To be honest, I really regret moving to NodeBB. I should have stayed with XenForo.

-
What’s going on with NodeBB?That’s exactly our approach on PW now. Learned it the hard way , upgraded too early once or twice and paid the price. Actually sitting two releases behind at the moment, not just one. Stability over bleeding edge, unless a vulnerability forces the hand. Solid policy.