Skip to content

NodeBB templates

Locked Chitchat
12 3 3.9k 1
  • There doesn’t seem to be loads of NodeBB templates available, I wonder if you’d ever consider making a premium template like Sudonix has and making it available for sale?

    I know you help people with changes that they require but I was just thinking as like a premium theme out of the box sort of thing.

    @jac When you say “templates”, do you mean “themes” ?

  • @jac When you say “templates”, do you mean “themes” ?

    @phenomlab said in NodeBB templates:

    @jac When you say “templates”, do you mean “themes” ?

    Yes sorry mate.

  • @phenomlab said in NodeBB templates:

    @jac When you say “templates”, do you mean “themes” ?

    Yes sorry mate.

    @jac ok. I’m just wondering if @DownPW would like to be part of this given the work we’ve done together in terms of the theme switcher.

    My personal thoughts here are any themes made available should be open source and free to use. I’m happy to provide the CSS for both light and dark themes sudonix uses if someone else could benefit from them.

  • @jac said in NodeBB templates:

    There doesn’t seem to be loads of NodeBB templates available, I wonder if you’d ever consider making a premium template like Sudonix has and making it available for sale?
    I know you help people with changes that they require but I was just thinking as like a premium theme out of the box sort of thing

    No problems streaming CSS if needed.
    I largely copied Sudonix’s black theme for my forum with a few variations 😆

  • @jac said in NodeBB templates:

    There doesn’t seem to be loads of NodeBB templates available, I wonder if you’d ever consider making a premium template like Sudonix has and making it available for sale?
    I know you help people with changes that they require but I was just thinking as like a premium theme out of the box sort of thing

    No problems streaming CSS if needed.
    I largely copied Sudonix’s black theme for my forum with a few variations 😆

    @downpw I don’t think streaming CSS files is a good idea - they should be hosted locally for performance reasons alone. My thoughts were around using the theme switcher tool we created to enable others to use multiple themes, or choose the one they like best 😄

  • yes it’s better ^^

  • @phenomlab @DownPW absolutely, I suppose if you go off one really good template (theme) then you can add your own changes for example the required colour for my forum is navy blue, but at least a very good base would be there.

    Maybe updating (making changes) to it could be difficult or classed as copying I guess.

  • @phenomlab

    I can create a topic dedicated to Switcher theme with all the JS and CSS (which is not in the topic) for better readability if you want ? (With your authorisation off course)

    This way, the feature is available to all Sudonix readers on a dedicated thread 🙂


    Regarding the CSS themes, I think that each theme is specific to the site depending on the plugins they use etc. but it is doable with lot of work

  • @phenomlab

    I can create a topic dedicated to Switcher theme with all the JS and CSS (which is not in the topic) for better readability if you want ? (With your authorisation off course)

    This way, the feature is available to all Sudonix readers on a dedicated thread 🙂


    Regarding the CSS themes, I think that each theme is specific to the site depending on the plugins they use etc. but it is doable with lot of work

    @downpw said in NodeBB templates:

    I can create a topic dedicated to Switcher theme with all the JS and CSS (which is not in the topic) for better readability if you want ? (With your authorisation off course)

    Great idea - you don’t need my permission to create new threads that are meaningful - we may need to reference the original topic, but I agree, a new thread makes sense now that the code and functionality is stable and mature.

  • Ok I will do that as soon i possible dude 😉

  • Placing this here for reference
    https://sudonix.com/topic/216/nodebb-js-script-css-theme-switcher

    Further information and posts can be found at this link

  • phenomlabundefined phenomlab locked this topic on

Related Topics
  • Nodebb to Xenforo

    Solved Configure xenforo nodebb
    3
    0 Votes
    3 Posts
    701 Views
    @cagatay as @downpw stated, there isn’t a native tool that will do this for you. You’d need to either develop your own or ask the nodebb team to assist which will be a paid exercise.
  • 4 Votes
    3 Posts
    996 Views
    thanks @DownPW ! this is definitely very helpful.
  • What’s going on with NodeBB?

    Performance nodebb script die
    20
    8 Votes
    20 Posts
    3k Views
    @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 apt using 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 npm installed, you can use the n interactive 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 -v still shows version 20 after upgrading via NVM, restart your terminal or run source ~/.bashrc. Conflicts: Avoid mixing these methods. If you switch from apt to nvm, it is best to sudo apt remove nodejs first to avoid path conflicts.
  • Swatch / Theme Changer

    Code Respository swatch themes switcher
    8
    8
    3 Votes
    8 Posts
    6k Views
    @veronikya it might flicker on load, yes, and that’s normal. It’s because the CSS and JS are loaded before the custom elements, but it shouldn’t be too bad on reasonable links. It shouldn’t flicker at all navigating through the site though as the CSS and JS are already loaded.
  • NodeBB: Creating pages

    Solved Configure nodebb create page
    9
    0 Votes
    9 Posts
    3k Views
    OK, I think I have figured out how to place a link in the footer which will click to a new page.
  • Theming support in Sudonix

    Moved Announcements themes
    41
    5
    61 Votes
    41 Posts
    18k Views
    @phenomlab said in Theming support in Sudonix: I thought I’d better come by here with an update so everyone knows that the Swatch project isn’t abandoned, or has simply “gone cold”. In fact, quite the opposite. I’ve setup a dev instance on my home network which I’m currently developing against. I’ll put some screenshots up soon, but the Swatch code is currently enjoying a rewrite. The great news is that you’ll get ten times the flexibility you have now meaning greater support for light themes, although the downside is that there isn’t that much backwards compatibility meaning some of my own themes even need to be completely redesigned. However, this isn’t the end of the world. Once you’re familiar with the classes, it really doesn’t take long at all to create your own themes. More to follow. I’ll be putting together a video of what the revamped theme will look like very soon - just got some small issues to iron out, and code cleanup beforehand…
  • CPU usage higher than expected for nodeBB (on clients)

    Chitchat
    7
    0 Votes
    7 Posts
    2k Views
    @qwinter Yes, although the experience would be very much degraded without websockets.
  • NodeBB vs Discourse

    Chitchat nodebb discourse board
    25
    6 Votes
    25 Posts
    11k Views
    @phenomlab said in NodeBB vs Discourse: Hetzner eh ? I use them also. In fact, Sudonix is hosted in Nuremberg yes i’m also at hetzner, i have been a customer there for years with a reseller account for domains. My VPS that I host there are also in Nuremberg