Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.7k Topics 26.1k 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.

  • 0 Votes
    5 Posts
    2k Views
    U

    @pichalite thank you 🙂

  • 0 Votes
    11 Posts
    3k Views
    P

    @whitts no... the title doesn't get injected. the code just takes the value of the title attribute from the <img> tag and displays it as a tool tip. you need to add the title attribute to the <img> tag with a value.

    like this line

    Link Preview Image nodebb-theme-persona/templates/partials/topics_list.tpl at master · NodeBB/nodebb-theme-persona

    Persona - A modern and responsive NodeBB theme. Contribute to NodeBB/nodebb-theme-persona development by creating an account on GitHub.

    favicon

    GitHub (github.com)

  • 0 Votes
    2 Posts
    1k Views
    nhl.plN

    It might have something to do with these bug reports.
    https://github.com/NodeBB/NodeBB/issues/4141
    https://github.com/NodeBB/NodeBB/issues/4208

  • Hotlink images to the Nodebb wall?

    3
    0 Votes
    3 Posts
    1k Views
    JenklerJ

    @julian Yes, User walls. It would be nice to save disc space. It it possible today?

  • mentions not working properly

    6
    1 Votes
    6 Posts
    2k Views
    M

    @pichalite 😓

    thanks anyway

  • 0 Votes
    4 Posts
    3k Views
    julianJ

    @SatoshiCamp The header is loaded once, and if you navigate between pages, the header is not loaded again.

    So it looks like you'll want to use a client-side solution for this.

  • Data seems to be lost, users and categories gone

    10
    0 Votes
    10 Posts
    4k Views
    julianJ

    @MarximusMG No clue... never used rdiff-backup... give that a try and check back in an hour to see if the backup is made!

  • Chat input box responsive height to content

    1
    0 Votes
    1 Posts
    797 Views
    K

    I am trying to figure out how to alter the source so that the chat input box height will responde to text input and lose the frustrating overflow scroll arrows.
    There will be maximum height after which the overflow will kick but right now nothing works in making the class="textcomplete-wrapper" and class="form-control" responsive.

    Has anyone tried and succeeded at this?

    Thanks

  • Certain threads on homepage

    5
    0 Votes
    5 Posts
    2k Views
    N

    featured thread plugin doesn't work. It broke because with later versions of nodebb. People have reminded the plugin author but it hasn't been fixed yet. Hopefully soon, but it's been three months already.

    see https://community.nodebb.org/topic/1169/nodebb-plugin-featured-threads-featuring-threads-related-widgets/15

  • Search button isn't working

    7
    0 Votes
    7 Posts
    3k Views
    nullcxN

    Managed to fix it

    Did editing of the package.json file
    went to node_modules;
    make installation of 0.3.0 which was offered by npm;
    upgrade button appeared on the db-search plugin;
    made upgrade trough admin panel;
    it worked!

    Thank you for the support!

  • fatal error: nan.h: No such file or directory

    Solved
    11
    0 Votes
    11 Posts
    7k Views
    julianJ

    @tednology Hm, I don't see that module defined in v0.9.x's npm-shrinkwrap.json...

  • 0 Votes
    8 Posts
    5k Views
    yariplusY

    Did you get this working @Aditya-Tripathi ?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    10 Views
  • 0 Votes
    4 Posts
    2k Views
    frissdiegurkeF

    The devs like github issues 😉 At least for issues that occur on master.

    EDIT: to keep the reference: gh#4193

  • 0 Votes
    26 Posts
    8k Views
    P

    Awesome 🙂 I went ahead and created a tutorials category, hope to see that full of guides in the near future

  • Email Notification

    2
    0 Votes
    2 Posts
    1k Views
    P

    @ljhardy it's in the NodeBB's config.json. Change the URL to point to your community.

  • [emerg] Login - forbidden

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    julianJ

    You'll want to remove the cookieDomain setting from your config.

    In Redis:

    hdel config cookieDomain

    In MongoDB:

    db.objects.update({ _key: "config" }, { $unset: { "cookieDomain": '' } });
  • init script

    2
    -1 Votes
    2 Posts
    1k Views
    rezaariaR

    I found the answer ☺

    LINK

  • 0 Votes
    12 Posts
    7k Views
    L

    @Andi no problem, happy to help 😃

  • NodeBB on docker

    3
    0 Votes
    3 Posts
    5k Views
    F

    @a_5mith

    Yes I have already checked it. I have found a docker image created by @nopz, this one is up-to-date. But the official docker image in not! Maybe you (nodebb) should give access to a dockerfile to allow anyone to build a nodebb docker image. EDIT I found the dockerfile, and the problem about this outdated version here. It's outdated because the dockerfile build the image with the v0.5.x version :

    FROM centos:centos7 MAINTAINER NodeBB Docker Team <[email protected]> # install main packages: RUN yum -y update ; yum clean all RUN yum -y install epel-release tar ; yum clean all RUN yum -y install wget ; yum clean all RUN yum -y groupinstall "Development Tools" RUN yum -y install nodejs git ImageMagick npm RUN yum -y install openssl openssl-devel # clone nodebb and install it RUN cd /opt ; git clone -b v0.5.x https://github.com/NodeBB/NodeBB nodebb RUN cd /opt/nodebb ; npm install # Create a nodebb volume VOLUME /opt/nodebb # Define a working directory WORKDIR /opt/nodebb # Expose ports EXPOSE 80 EXPOSE 443 EXPOSE 4567 CMD [ "node", "app.js" ]

    You should (NodeBB) update this dockerfile !

    End of the EDIT

    Now, with the nopz/nodebb image I just had a problem about plugin persistence. But the first installation is so much easier and automatic with just one docker.

    Thanks for your answer by the way 🙂