Skip to content

How to downgrade plugin version on NodeBB

Solved Customisation
11 2 4.3k 1
  • wrote on last edited by
    #1

    How to downgrade plugin version on NodeBB?

  • How to downgrade plugin version on NodeBB?

    wrote on last edited by phenomlab
    #2

    @cagatay Uninstall the previous version via ACP, then from the CLI, use

    npm install nodebb-plugin-name@version
    

    So, for example

    npm install nodebb-plugin-recent-cards
    

    Becomes

    npm install nodebb-plugin-recent-cards@1.0.2
    
  • phenomlab phenomlab has marked this topic as solved on
  • @cagatay Uninstall the previous version via ACP, then from the CLI, use

    npm install nodebb-plugin-name@version
    

    So, for example

    npm install nodebb-plugin-recent-cards
    

    Becomes

    npm install nodebb-plugin-recent-cards@1.0.2
    
    wrote on last edited by
    #3

    @phenomlab thank you. by the way why you limeted 6 vote per day? 🙂

  • @phenomlab thank you. by the way why you limeted 6 vote per day? 🙂

    wrote on last edited by
    #4

    @cagatay I thought I’d fixed that !! Will have to have another look. It’s not a limit set by me, but the extension itself.

  • @cagatay I thought I’d fixed that !! Will have to have another look. It’s not a limit set by me, but the extension itself.

    wrote on last edited by
    #5

    @phenomlab why solutions post repeated?

    be71af80-fc43-42fc-8b88-1565ec3c7981-image.png

  • @phenomlab why solutions post repeated?

    be71af80-fc43-42fc-8b88-1565ec3c7981-image.png

    wrote on last edited by
    #6

    @cagatay Because the “solution” post is copied to the top of the topic. With multiple posts, it’s not simple to find. In this case, there’s only the one response, which is set as best answer, so it looks like it’s there twice.

  • @cagatay Because the “solution” post is copied to the top of the topic. With multiple posts, it’s not simple to find. In this case, there’s only the one response, which is set as best answer, so it looks like it’s there twice.

    wrote on last edited by
    #7

    @phenomlab i see.

  • @cagatay Because the “solution” post is copied to the top of the topic. With multiple posts, it’s not simple to find. In this case, there’s only the one response, which is set as best answer, so it looks like it’s there twice.

    wrote on last edited by
    #8

    @phenomlab said in How to downgrade plugin version on NodeBB:

    @cagatay Because the “solution” post is copied to the top of the topic. With multiple posts, it’s not simple to find. In this case, there’s only the one response, which is set as best answer, so it looks like it’s there twice.

    How to add solution post, i m also using that plugin but i can not choose the post of solution one.

  • @phenomlab said in How to downgrade plugin version on NodeBB:

    @cagatay Because the “solution” post is copied to the top of the topic. With multiple posts, it’s not simple to find. In this case, there’s only the one response, which is set as best answer, so it looks like it’s there twice.

    How to add solution post, i m also using that plugin but i can not choose the post of solution one.

    wrote on last edited by
    #9

    @cagatay you should have an option to “select this post as the best answer” in each post if nodebb-plugin-question-answer is installed

  • @cagatay you should have an option to “select this post as the best answer” in each post if nodebb-plugin-question-answer is installed

    wrote on last edited by
    #10

    @phenomlab yeap find it, sorry we far from main topic 😞

  • @phenomlab yeap find it, sorry we far from main topic 😞

    wrote on last edited by
    #11

    @cagatay no problems


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • What’s going on with NodeBB?

    Performance nodebb script die
    20
    8 Votes
    20 Posts
    5k Views
    phenomlab
    @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.
  • Spam spam spam

    Solved Configure nodebb
    6
    2 Votes
    6 Posts
    3k Views
    phenomlab
    @Panda said in Spam spam spam: ok, yes Ive seen the queue, it shows IP, but doesnt have a field for comments from registrant. It’s not designed for that. It merely serves as a gateway between posts appearing on your form or not. @Panda said in Spam spam spam: It would be better if nodebb had this plugin included in ACP list, as not only then do you know its approved and should work, but many people cant or dont want to use CLI on the server That’s a question for the NodeBB devs but in all honesty you can’t not use the CLI when installing nodebb so to be this isn’t a big deal.
  • Page control arrows for PWA

    Solved Customisation nodebb
    27
    25 Votes
    27 Posts
    15k Views
    phenomlab
    @crazycells it is, yes - I think I’ll leave it as there is no specific PWA CSS classes I know of. Well, you could use something like the below, but this means multiple CSS files for different operating systems. /** * Determine the mobile operating system. * This function returns one of 'iOS', 'Android', 'Windows Phone', or 'unknown'. * * @returns {String} */ function getMobileOperatingSystem() { var userAgent = navigator.userAgent || navigator.vendor || window.opera; // Windows Phone must come first because its UA also contains "Android" if (/windows phone/i.test(userAgent)) { return "Windows Phone"; } if (/android/i.test(userAgent)) { return "Android"; } if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) { return "iOS"; } return "unknown"; // return “Android” - one should either handle the unknown or fallback to a specific platform, let’s say Android } Once you’re in that rabbit hole, it’s impossible to get out of it.
  • nodebb-plugin-custom-pages

    Solved Customisation plugin custom-pages
    5
    2
    3 Votes
    5 Posts
    5k Views
    phenomlab
    @DownPW it’s possible, yes, but you may inadvertently end up targeting other elements using the same class which of course isn’t desired. Can you provide a link in DM for me to review?
  • NodeBB Theme/Skin Switcher

    Solved Customisation nodebb
    38
    7 Votes
    38 Posts
    18k Views
    phenomlab
    @Teemberland great spot ! You should create a PR for that so they can include it in the official repository. Just be aware that any subsequent releases will overwrite your fix without the PR.
  • Link vs Refresh

    Solved Customisation nodebb blog customization
    20
    2
    8 Votes
    20 Posts
    7k Views
    phenomlab
    @pobojmoks Do you see any errors being reported in the console ? At first guess (without seeing the actual code or the site itself), I’d say that this is AJAX callback related
  • [NodeBB] Custom fields plugin

    Unsolved Customisation nodebb plugins javascript custom
    5
    0 Votes
    5 Posts
    3k Views
    phenomlab
    @pwsincd hi. Just following up on this thread (I know it’s old) but was curious to understand if it’s still an issue or not ?
  • 3 Votes
    6 Posts
    4k Views
    DownPW
    @phenomlab haha!! You are crazy. In a good way, of course It’s a way of saying you’re awesome !