Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.7k Topics 26.2k Posts

Subcategories


  • User documentation for NodeBB

    44 Topics
    44 Posts
    Jay MoonahJ

    One of the first important things to do after setting up NodeBB is to set up an emailer plugin. While NodeBB does include a local emailer, if your forum is particularly active we recommend using an third-party emailer such as SendGrid which provides better deliverability for sites that send a high volume of email. Setting up SendGrid in NodeBB is very easy.

    Open the administrative dashboard using the 'gear' icon on your forum. Open the Extend > Plugins menu, and select the Find Plugins tab. Use the search on the right. Type 'SendGrid' and the plugin should appear -- select Install when you see it. From Installed tab on the Plugins menu, search again for 'SendGrid' and select Activate. Activating the plugin will require a restart of your forum. To restart, select the Dashboard menu and press the Restart button to the right. After NodeBB restarts, the SendGrid plugin will be active.

    After you restart, there should be a item called Emailer (SendGrid) under the Plugins menu -- if you don't see this right away, try refreshing your browser.

    Sign up to SendGrid

    Go to the SendGrid website, open the pricing page and scroll to the bottom. Click on the link and create your free account. Once you've confirmed your SendGrid account via email, you should be able to login to the SendGrid website. On the left side of your SendGrid dashboard, open Settings and click on API Keys. Click the button in the top right to create a new key. Make sure that the key has Full Access for Send Mail and Alerts.  When you are done, the new key to your clipboard.

    Now, return to the SendGrid menu on your NodeBB admin panel. Paste the API key into the field, and save your changes. Now go back to the Dashboard to restart your forum one more time.

    SendGrid should now be working for your forum.

    YouTube Setting up SendGrid mailer for NodeBB

  • NodeBB guides, how-to's and general tips and tricks

    82 Topics
    599 Posts
    barisB

    Quick start plugin has an example on how to add a new api route https://github.com/NodeBB/nodebb-plugin-quickstart/blob/master/library.js#L40-L76.

    The hooks that are fired client side are for client side code in plugins. If you want to pass data from the client to the server you have two options.

    Create an api route like in quick start plugin Create a new socket event listener on the server side and use socket.emit() client side. Example here
  • 25 Topics
    196 Posts
    phenomlabP

    @baris updated to 3.7.2 and now just waiting for the plugin to be updated.

  • Any way to remove the number next to category?

    2
    0 Votes
    2 Posts
    255 Views
    barisB

    You can hide it by using custom css in the ACP.

  • Bulk guest permission?

    2
    0 Votes
    2 Posts
    220 Views
    barisB

    Once you setup the permissions for guests on one category you can copy it to all other categories. See screenshot below.

    f7309358-958a-45c9-bb55-a1f216cf2fb4-image.png

  • 0 Votes
    4 Posts
    442 Views
    julianJ

    That's correct, you set it up with a mock database, and npm test inserts its own testing data and cleans up after itself when it's done. No need to have NodeBB running for the testing suite to run.

  • Attempting to migrate from WPforo to NodeBB.

    2
    0 Votes
    2 Posts
    579 Views
    gotwfG

    @KarnaKoding Use mongodb. Migrating db's is a pita. You've a steep climb ahead of you. Good luck and have fun.

  • In which version did Custom Javascript show up?

    23
    1 Votes
    23 Posts
    3k Views
    R

    Well I am embarrassed, I figured out the problem! There is no problem with custom javascript or the custom header information. It turns out the nodebb-plugin-ns-twitch-monitor was the problem! The plugin does not seem to work after a certain version of NodeBB and where I had it placed in my widgets must have been causing the custom header code to not load or run properly.

    I am still running v1.4.5 but am moving over to a new server, yes after all of these years. In doing so I have been incrementally stepping through upgrades, 1.4.5 -> 1.5.x -> 1.6.x -> 1.7.x... It was there at the 1.7.x that my custom Piwik (Matomo) code stopped working. I put NodeBB into "dev" mode and saw a number of errors related to the Twitch plugin. I removed the plugin and my analytics code now works fine.

    It is bittersweet as I really like the Twitch plugin on my forum but the plugin stopped working quite some time ago. Twitch changed how their API works and the plugin was never updated to keep up.

    Shouting out to a list of people for closure on this, in case you were all losing sleep on this since May of last year! @baris @julian @Nicolas

  • NodeBB 1.13.3 - OSSEC issue

    2
    0 Votes
    2 Posts
    370 Views
    I

    I have resolved this issue by adding the following rule to local_rules.xml.

    <rule id="100014" level="0">
    <if_sid>31533</if_sid>
    <url>^/socket.io/</url>
    <description>Ignoring NodeBB (socket.io).</description>
    </rule>

  • Search unreliable

    20
    0 Votes
    20 Posts
    3k Views
    S

    @Juan-G I found it does not work with https, do you have any suggestions?

  • Any file upload does not work

    4
    0 Votes
    4 Posts
    625 Views
    I

    ok, I just did a downgrade - now all works fine !!

    nodejs --version
    v13.14.0

  • 0 Votes
    8 Posts
    611 Views
    barisB

    Link Preview Image quill/redactor composers not working for new topics · Issue #8306 · NodeBB/NodeBB

    https://community.nodebb.org/topic/14737/cannot-create-a-new-topic-after-new-installation-redactor-plugin NodeBB/nodebb-plugin-composer-default@8c6663d

    favicon

    GitHub (github.com)

  • Ranked Polls

    3
    0 Votes
    3 Posts
    242 Views
    julianJ

    @mimo Unfortunately if it's not available in the poll plugin, then you might need to contact the plugin author.

    Are you able to pay for this sort of development? Perhaps we can get in touch with him for you.

  • 0 Votes
    6 Posts
    619 Views
    julianJ

    @btc hset topic:<tid> postcount <postcount>

    But of course, replace <tid> and <postcount> as necessary.

  • 0 Votes
    1 Posts
    1k Views
    Anderson PaulucciA

    Hi, I followed this documentation https://docs.nodebb.org/installing/cloud/heroku/ and at first everything is running there were no errors ...
    but I don't access the nodebb page, and the log points this error:

    2020-04-30T19:35:38.780260+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=floating-shelf-24944.herokuapp.com request_id=34ca7959-a9c0-4d32-900a-40df490be0de fwd="189.54.22.91" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=https
  • 0 Votes
    2 Posts
    362 Views
    G

    I found https://community.nodebb.org/topic/10026/nodebb-plugin-write-api-failing-to-load-admin-page solving the issue.

  • Spelling error in Hebrew

    4
    0 Votes
    4 Posts
    410 Views
    barisB

    You need to create an account and go to the correct language file.

  • 0 Votes
    4 Posts
    1k Views
    M

    ok problem was because of global chat plugin..

    but heh I have running forum on mongo 4.0.14 😉

  • Chat, socket often disconnecting

    2
    0 Votes
    2 Posts
    332 Views
    M

    ok problem was because of global chat plugin

  • Site-wide-conversation spam?

    1
    0 Votes
    1 Posts
    175 Views
    KarlPro123K

    Hi. Updated my forum to 1.13.2 today and now I'm getting weird site-wide-conversation spam, so some account somehow renames the conversation and it doesn't stop, maybe a bug? Külaline = like an unregistered account or something in my language. Tried restarting.

    Link Preview Image

    I figured if there was a way to disable this conversation alltogether but allow private messages etc?

  • Notification/alert

    1
    0 Votes
    1 Posts
    193 Views
    D

    Is there a way or maybe a plugin to allow an admin to put something at the top of the forum with a message that a user can dismiss ?

  • Filter topics by ...

    10
    0 Votes
    10 Posts
    790 Views
    J

    @gotwf I pretty much agree with you, but you need agree with me that need to develop such an extension that allows for such filtering

  • custom javascript error

    3
    0 Votes
    3 Posts
    332 Views
    oplik0O

    Just a correction: it's not that you don't need the <script> - it's just illegal unless you're writing something like jsx. When run this will immediatly cause Uncaught SyntaxError: Unexpected token '<' - because everything you put in custom Javascript is already put into a <script> tag.
    If you want to include another script either use some kind of imports (for example es modules) that works inside JS, or put the <script src=""> tag in custom header instead.