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.

  • Issues with GitHub SSO

    4
    0 Votes
    4 Posts
    550 Views
    Jeff GayJ

    Thanks all. The rebuild and restart worked just fine. A small comment in the readme.md would be really useful for hosted solutions.

  • Write API

    2
    1 Votes
    2 Posts
    438 Views
    ufan0U

    Look this :

    import requests class auto_topic(): def __init__(self,api_url,bearer_token): self.api_url = api_url self.bearer_token = bearer_token def create(self,uid,cid,title,content): headers = {"Authorization": "Bearer %s"%self.bearer_token} topic = {'uid':uid,'cid':cid,'title':title,'content':content} response = requests.post(self.api_url,headers = headers,data=topic) return response
  • 1 Votes
    1 Posts
    913 Views
    T

    Getting issue Version 1.11.2
    Error: misconfigured cors on adding through Upload new picture from url

  • How to add Search Icon in mobile header?

    2
    0 Votes
    2 Posts
    674 Views
    julianJ
    I do not believe the mobile header is configurable out of the box, just the left-hand menu. You can enable search for guests from ACP > Manage > Privileges (global)
  • Custom email header / footer

    3
    0 Votes
    3 Posts
    452 Views
    E

    Sorry for the very late reply @julian !
    yes I was rebuilding the templates, it was a misconception by my side, i thought that I could change on the ACP the header and footer and it will affect to the other templates, but i was importing the src template.

    Now i'll try to override the e-mail templates using my child theme, is it just create a e-mail folder inside my templates folder?
    i've seen that this has been asked before, but why can't you change the e-mail subject from the ACP? i had to modify it on the src template.

    Thank you very much!!

  • Redis socket

    8
    0 Votes
    8 Posts
    673 Views
    S

    @youhosi said in Redis socket:

    @julian because sockets is fastes 🙂

    Faster, less overhead, more reliable. I agree. Although I would not recommend Redis here 🙂

  • 0 Votes
    5 Posts
    496 Views
    R

    @PitaJ Thanks...it worked

  • 1 Votes
    1 Posts
    225 Views
    D

    Hi,

    Due a massive reorganisation of my category tree I'd like to reset all user to be automatically subscribed to all categories.
    I have an adminMongo to manipulate the db
    Unfortunately my mongodb skill is close to nothing.

    Is there anyone kind enough to share the proper mongodb snippet to achieve such (either adminMongo or cli based.

    Thank you

  • Update form 1.11.0 to 1.11.12

    5
    0 Votes
    5 Posts
    493 Views
    julianJ

    FYI the issue has been resolved upstream, you can use latest highlight.js again. However, latest markdown plugin uses an older version which is just fine as well.

  • 0 Votes
    7 Posts
    560 Views
    T

    Problem solved

    Thank you everyone who responded.
    I have tried everything I could think of, and when nothing worked, I decided to go over the setup, line by line, word by word and that's when I found it!
    It was a typo in configuration of my nginx, i.e., my own mistake.
    The following entries were wrong:

    proxy_set_header X-Forward-For ... proxy_set_header X-Forward-Proto ...

    They should be X-Forwarded-For and X-Forwarded-Proto, notice they were missing ed in the word forward !

  • [Solved] Mongo listening on unix socket ?

    6
    0 Votes
    6 Posts
    2k Views
    F

    I finally figured it out... you need to put the path to the socket replacing the slashes with %2F.

    For example:

    "mongo": { "uri": "mongodb://username:password@%2Fvar%2Frun%2Fmongodb%2Fmongodb-27017.sock/dbname" }

    Thank you for your help. Hope this post helps anybody who is facing the same issue.

  • 0 Votes
    35 Posts
    4k Views
    Ne HoN

    @Geferon There is 1 small issue when you get time please look at it, on the same chat page there is a search option if you click the chat icon, hower with mouse there you will see that left from the icon there is a href and it is not visible.

    Thank you for helping

    Screenshot_2019-02-23 Cirkus Serveri Forum(3).png

  • 0 Votes
    13 Posts
    1k Views
    barisB

    @Dravere Yeah I meant in code, would need to comment out the lines that match new cron

  • E-Mail notification problem

    3
    0 Votes
    3 Posts
    431 Views
    Jey-Cee 0J

    @julian i know that. But its not the same as a E-Mail notification.

  • Separate theme for mobile ?

    2
    0 Votes
    2 Posts
    348 Views
    julianJ

    Our theme is mobile friendly, and can be consumed on all devices, mobile devices included 😄

  • fresh install, session problem

    9
    0 Votes
    9 Posts
    2k Views
    julianJ

    Ensure the config.json url matches the url you actually use to navigate to the forum.

  • 0.11.x plugin statuses

    2
    0 Votes
    2 Posts
    174 Views
    julianJ

    Most likely there weren't any major breaking changes for plugins between those two versions. You should be okay to upgrade, although I'd back up your database just to be safe.

  • Running NodeBB on multi core CPU

    8
    0 Votes
    8 Posts
    822 Views
    S

    @Raj said in Running NodeBB on multi core CPU:

    @PitaJ Thanks. As I have 8 core CPU I want my NodeBB to use all of them. But by default NodeBB is using only one core!

    Are you running your reverse proxy, SSL handling, or database on the same box? If so, you definitely don't want all of them for NodeBB.

    Even if you aren't, why do you have so many cores, and what are you doing that makes you want to scale like this? How busy is your site? We've topped 191 million hits in a single month on a single core and aren't even working hard.

  • Attachments import and bbcode reformat

    1
    0 Votes
    1 Posts
    147 Views
    C

    Hello,

    Is it possible to import attachments from an old phpbb forum?
    I have successfully imported the posts and categories but how should I replace the content? Remove html tags and get bbcode working?

    Thanks

  • 0 Votes
    3 Posts
    349 Views
    J

    Yes @baris that's it, works perfectly 🙂
    Thank you so much!