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
    201 Posts
    eeeeeE

    I think you answered my point, by agreeing there are issues.
    I didn't even attempt to deploy nodebb, I had problems with much smaller projects!
    Nextjs routing was going through a change of design at the time, so perhaps that is less confusing now, but there were multiple other headaches. I would get build errors and issues with package management.

  • Is it possible to restore users and posts?

    3
    0 Votes
    3 Posts
    1k Views
    PitaJP

    @jimmyc2018 maybe your server restarted without you knowing and mongo and nodebb didn't automatically start back up?
    Have you tried starting the mongod service and then starting nodebb?

    Btw, you shouldn't run NodeBB with root or sudo. That may also be causing the problem.

  • 0 Votes
    3 Posts
    1k Views
    M

    @baris said in Topics in ignored categories are shown in recent page:

    Maybe check this setting at /admin/settings/post 0_1519661867570_97621769-258e-462e-a985-ebaaed5d7672-image.png

    thank you, it works 🙂

  • Recreating nodeBB forum on new server

    14
    0 Votes
    14 Posts
    3k Views
    julianJ

    Glad to hear you're up and running @howardm 😄

  • 0 Votes
    2 Posts
    798 Views
    PitaJP

    It has a semicolon and not a colon, so the browser interpreted it as a relative path.

  • 0 Votes
    6 Posts
    2k Views
    S

    I also run into the problem. Whenever I want to save my customized CSS or Header :

    NodeBB encountered a problem saving changes

    By the suggestion above, I modify it to message: err.message, then it becomes:

    Changes Not Saved: unrecognized input

    What am I supposed to do? Below is my CSS:

    body { font-family: "Times New Roman"; } <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script>

    Header:

    <script type="text/x-mathjax-config"> MathJax.Hub.Config({ extensions: ["tex2jax.js"], tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] }, TeX: {equationNumbers: { autoNumber: "AMS" } } }); </script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>

    BUILD log:

    root@iZ94134cujlZ:/nodebb# ./nodebb stop Stopping NodeBB. Goodbye! root@iZ94134cujlZ:/nodebb# ./nodebb build started 2018-02-26T03:00:31.355Z [21693] - info: [build] Building in parallel mode 2018-02-26T03:00:31.358Z [21693] - info: [build] plugin static dirs build started 2018-02-26T03:00:31.363Z [21693] - info: [build] requirejs modules build started 2018-02-26T03:00:31.365Z [21693] - info: [build] client js bundle build started 2018-02-26T03:00:31.367Z [21693] - info: [build] admin js bundle build started 2018-02-26T03:00:31.367Z [21693] - info: [build] client side styles build started 2018-02-26T03:00:31.368Z [21693] - info: [build] admin control panel styles build started 2018-02-26T03:00:31.370Z [21693] - info: [build] templates build started 2018-02-26T03:00:31.371Z [21693] - info: [build] languages build started 2018-02-26T03:00:31.372Z [21693] - info: [build] sounds build started 2018-02-26T03:00:40.698Z [21693] - info: [build] client js bundle build completed in 9.334sec 2018-02-26T03:00:40.698Z [21693] - info: [build] admin js bundle build completed in 9.331sec 2018-02-26T03:00:40.869Z [21693] - info: [build] sounds build completed in 9.497sec 2018-02-26T03:00:41.498Z [21693] - info: [build] plugin static dirs build completed in 10.14sec Witout `from` option PostCSS could generate wrong source map or do not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning 2018-02-26T03:00:54.973Z [21693] - info: [build] client side styles build completed in 23.606sec 2018-02-26T03:00:55.041Z [21693] - info: [build] admin control panel styles build completed in 23.673sec 2018-02-26T03:00:55.075Z [21693] - info: [build] requirejs modules build completed in 23.713sec 2018-02-26T03:01:00.042Z [21693] - info: [build] languages build completed in 28.671sec 2018-02-26T03:01:00.051Z [21693] - info: [build] templates build completed in 28.681sec 2018-02-26T03:01:00.053Z [21693] - info: [build] Asset compilation successful. Completed in 28.695sec. root@iZ94134cujlZ:/nodebb# ./nodebb start Starting NodeBB "./nodebb stop" to stop the NodeBB server "./nodebb log" to view server output "./nodebb help" for more commands
  • [Solve] Skins don't load

    4
    0 Votes
    4 Posts
    1k Views
    R

    Okay, it was a problem with "add_header Content-Security-Policy", it's solve 🙂

  • 0 Votes
    6 Posts
    2k Views
    P

    @jaredbusch Continue chat already does that. Start new chat opens a new chat always.

  • Browsing Settings > Delay Image Loading

    3
    0 Votes
    3 Posts
    1k Views
    J

    @julian Thank you!

  • Latest version of node.js supported ?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    eva2000E

    Hey @julian thanks for the clarification 🙂

  • How can I modify the email templates?

    3
    0 Votes
    3 Posts
    1k Views
    PitaJP

    @tlinden open an issue on Github requesting the feature, please

  • nodeBB crashed in Heroku

    12
    0 Votes
    12 Posts
    2k Views
    joannesalfaJ

    @pitaj

    Maybe Heroku doesnt allow the parameters like --no-silent --no-daemon

    I think I should start nodeBB on my local server

  • TimeStamp 2x on mobile view

    3
    0 Votes
    3 Posts
    1k Views
    J

    @pitaj 0_1518999799571_ecample.png

    I'm using the lavender theme.

  • slate skin invalid background colors

    7
    0 Votes
    7 Posts
    1k Views
    TLINDENT

    @PitaJ Thansk a lot, you saved my day!

    best,
    Tom

  • Encrypt/Hide asset folder from browser?

    4
    0 Votes
    4 Posts
    1k Views
    PitaJP

    @człowiek-nuż that list just displays the files that are loaded by the browser when you visit the site. There's no way to hide that, and there's no point in hiding it, either. That list doesn't expose any sensitive information.

    If nothing from plugins shows up there, then that just means that their forum doesn't load anything from the plugins when you visit it.

  • NodeBB setup

    5
    0 Votes
    5 Posts
    1k Views
    P

    @pitaj i had setup the database wrong, all fixed 🙂

  • Looks like your connection to NodeBB was lost

    6
    0 Votes
    6 Posts
    2k Views
    PitaJP

    @rahmon is the repeated http in the actual file or is that a copy-paste error? It should only be one.

    When you go to access your site, do you enter http://88.215.238.215:4567 in your browser? If not, you should use whatever URL you actually access your site at in that field instead.

    For instance, we have https://community.nodebb.org in our "url" field in config.json.

  • Problems after upgrading forum

    14
    0 Votes
    14 Posts
    2k Views
    barisB

    Glad to hear it is resolved.

  • bug with skin/theme

    3
    0 Votes
    3 Posts
    1k Views
    barisB

    This is not an issue with slick theme, it was related to a bug in core https://github.com/NodeBB/NodeBB/issues/6306

  • 0 Votes
    8 Posts
    2k Views
    I

    did it today...maybe nodebb is able to fix it

  • E-mail notification or Automatically watch

    6
    0 Votes
    6 Posts
    1k Views
    barisB

    Link Preview Image add defaults for notification delivery types · Issue #6323 · NodeBB/NodeBB

    favicon

    GitHub (github.com)