Skip to content

NodeBB Development

Stay tuned here to hear more about new releases and features of NodeBB!

2.8k Topics 18.5k Posts

Subcategories


  • Posts from the NodeBB Development Blog
    96 Topics
    779 Posts
    G
    Very Nice!
  • Found a bug? Why not make a bug report here?
    1k Topics
    7k Posts
    barisB
    Because you ran the forum without indexes you have documents that violate the index constraints. You will have to remove these documents for the create index command to work.
  • Focused discussion related to ActivityPub integration in NodeBB

    108 Topics
    2k Posts
    silverpill@socialhub.activitypub.rocksS
    FEP-171b (Conversation Containers) has been published (discussion thread: https://socialhub.activitypub.rocks/t/fep-171b-conversation-containers/4766).I don't like some implementation details, but overall it is a good solution, and, most importantly, it is very similar to FEP-1b12. So we can just implement FEP-1b12 and figure out the rest later.One collection is not enough to cover all use cases, but I think collection of posts should be provided by all applications. Personally I prefer the following collections names (although I don't have a strong opinion here):thread: collection of posts (recommended)context: collection of conversation activities such as Create, Update and Like (optional)outbox: collection of Announce / Add activities (optional).
  • Help Translate NodeBB
  • Post, upload, chat from api

    7
    0 Votes
    7 Posts
    3k Views
    Christopher FowersC
    What is the status of this API? I am interested in writing a mobile app for this using the Ionic Framework.
  • Retrieving plugin settings

    4
    0 Votes
    4 Posts
    2k Views
    R
    @julianlam It sure is! I wasn't aware that I was actually tripping over fossils along the way. But now, that you've mentioned it, I found e.g. the plugin-cash settings in config. I'll be at the weaponsmith's sharpening my sword, then - heeyahh! [image: FxgSh9g.png]
  • JavaScript Error on Chrome browser latest version 43.

    5
    0 Votes
    5 Posts
    3k Views
    barisB
    Yeah I think this is the same issue as https://github.com/NodeBB/NodeBB/issues/3200. Only happens when javascript is minified.
  • voting not working

    10
    2 Votes
    10 Posts
    3k Views
    Rex HuangR
    The code is in src/socket.io/posts.js, but I can't find the topic_id and app.currentRoom you mention.
  • WebSocket connection error

    1
    0 Votes
    1 Posts
    881 Views
    Rex HuangR
    I got this error in browser client, don't know what it will take affect and how to solve? WebSocket connection to 'ws://<myhost>/socket.io/?EIO=3&transport=websocket&sid=wW5Z4UKR9a_ZHKHkAAAF' failed: Error during WebSocket handshake: Unexpected response code: 400 which port it's using, I just open the port 4567 in firewall.
  • Javascript Error in the latest code.

    1
    0 Votes
    1 Posts
    1k Views
    A
    Hi, I have downloaded the 0.6.1 and 0.7.0 version of nodebb from github repository by using following commands. git clone -b v0.6.1 https://github.com/NodeBB/NodeBB.git nodebb git clone -b v0.7.0 https://github.com/NodeBB/NodeBB.git nodebb and install the NodeBB setup on ubuntu server. While Running the 0.6.1 we get following errors : 1..Uncaught SyntaxError: Unexpected identifier(anonymous function)(nodebb.min.js:15688) 2..Uncaught Error: Load timeout for modules: csrf,forum/footer http://requirejs.org/docs/errors.html#timeoutB (nodebb.min.js:12) 3..Uncaught SyntaxError: Unexpected string(nodebb.min.js:1518) While Running the 0.7.0 we get following errors : Uncaught SyntaxError: Unexpected token function(nodebb.min.js:12999) These errors are not related to us but due these error user is not able to login or reply any comments. Error occurred only on Chrome 43 latest version. To reproduce issue please clear cache before hitting url or DISABLE cache through "Network" TAB Please let us know about how to resolved this issue. Thanks!!!
  • Upgrade?

    23
    0 Votes
    23 Posts
    13k Views
    wzrdtalesW
    This also only happens with v0.12.x if you downgrade to v0.10.x, then npm rebuild to rebuild the modules, do the upgrade with v0.10.x and upgrade to v0.12.x again and again npm rebuild everything works... @julian something is completely wrong together with v0.12.x
  • Has version 0.7.0 been released?

    3
    0 Votes
    3 Posts
    1k Views
    JenklerJ
    Yeah, I have updated all my sites to 0.7.x
  • [Guide] Override the home page on a NodeBB

    15
    3 Votes
    15 Posts
    8k Views
    PitaJP
    @psychobunny You must code in your sleep, because the hook is definitely there already
  • Using NodeBB v0.7.x on Openshift

    3
    2 Votes
    3 Posts
    2k Views
    FireladF
    I'm finished! The pull request is at https://github.com/NodeBB/nodebb-english/pull/46 If in case NodeBB didn't merge my pull request.
  • NodeJS Versions

    1
    0 Votes
    1 Posts
    926 Views
    G
    I'm currently using: node -v v0.10.37 on Ubuntu LTS 14.04.2. Has anyone upgraded from Chris Lea to Nodesource? Has anyone tested NodeBB with v0.10.38?
  • Multiple tag search

    2
    1 Votes
    2 Posts
    2k Views
    P
    @Richa-Singh No
  • Using PHP sessions with nodebb?

    28
    0 Votes
    28 Posts
    17k Views
    S
    @julian I see. Well I'm trying to basically port Vanilla's plugin to Nodebb, but I'm not sure if I'll be able to so it'd be cool if you devs had some official, simpler solution like it. Vanilla's is really easy. You give it the url for your registration and login page, and a url where it expects JSON to return for a users name, email, etc if they're logged in. If they're logged in, it creates a Vanilla forum user for them if one doesn't already exist. If they already on, it just logs them in normally as if they typed in their username and password on the Vanilla forums. So no matter what auth system you use, you can use your own API to output the JSON it wants, so long as the client-id and secret key supplied matches up as well. I have my own accounts system and it took me like <1 hour to read the documentation for how to set it up with Vanilla's and do a custom implementation. Reading the oauth plugins on the other hand, I'm rather clueless on what I need to do to make it work for my own, and what I need on my own site's end of things. Like looking at the BNET plugin, I can't figure out what "clientID: process.env.BNET_ID" and "clientSecret: process.env.BNET_SECRET" are, among other things. It's just too in depth for something that should be simpler. edit: Actually I see what the process.env are. They're user environment variables. But well, still, the oauth sso is way more complicated than I think a lot of people will want. Like if I want to replace the profile, I'd rather that have a separate plugin replacing the profile. Not part of the OAuth implementation. I imagine I can just cut that out while forking, but still. I wish there was something as simple as Vanilla's JSONP SSO. And as I look through more, I'm not seeing why authorizationURL, tokenURL, clientID, clientSecret can't just be on settings pages instead of constants, with an oauth/oauth2 radial.
  • Submitting a Pull Request to NodeBB? Contributor License Agreement

    25
    7 Votes
    25 Posts
    20k Views
    FireladF
    Didn't notice this - but I signed!
  • where is the link to get nodebb0.7 development ?

    3
    0 Votes
    3 Posts
    2k Views
    S
    Thanks rbber. 0.7 dev version works great too.
  • Any good guides for color modify?

    1
    0 Votes
    1 Posts
    717 Views
    JenklerJ
    I am trying to modify vanilla style without modifying the source: CUSTOM CSS a { color: #222222; } a:hover { color: #444444; } .alert-warning { background-color: #eeeeee; border-color: #dddddd; color: #222222; } .btn-primary { color: #ffffff; background-color: #774653; border-color: #643b46; } .btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary { color: #ffffff; background-color: #8a5261; border-color: #774653; } .btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary.focus, .btn-primary.disabled:active, .btn-primary:active, .btn-primary.disabled.active, .btn-primary.active { background-color: #8a5261; border-color: #774653; } .btn-warning { color: #ffffff; background-color: #eb025a; border-color: #de0255; } .btn-warning:hover, .btn-warning:focus, .btn-warning.focus, .btn-warning:active, .btn-warning.active, .open>.dropdown-toggle.btn-warning { color: #ffffff; background-color: #f50660; border-color: #e9055b; } .nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus { color: #ffffff; background-color: #b4103a; } .btn-primary.active{background-color:#000000;border-color:#2e6da4} .btn-info { color: #ffffff; background-color: #444444; border-color: #222222; } .btn-info:hover, .btn-info:focus, .btn-info.focus, .btn-info:active, .btn-info.active, .open>.dropdown-toggle.btn-info { color: #ffffff; background-color: #774653; border-color: #643b46; } .account-username-box .open #profile { background-color: #666666; border-color: #643b46; } Is there any documentation on what class is doing what, and so on?
  • Problems with mobile

    1
    0 Votes
    1 Posts
    950 Views
    C
    I'm using Lavender Theme on the latest master branch. When using my mobile (tested iPhone 5s & 6), Categories/threads don't always load, it's not a very fast/friendly experience. Most of the time you get stuck on the grey overlay (the loading bit..) Only recently on the master branch it fixed the problem of not being able to login at all. ideally could have some more development for mobile
  • Set entire forum to invite only

    3
    0 Votes
    3 Posts
    2k Views
    S
    Gotcha. Thanks for the help.
  • Sharing SSO Sessions

    7
    1 Votes
    7 Posts
    3k Views
    P
    Haha or alternatively a feature request: ability to copy other people's canned responses
  • Developer Focus: A series of blog posts

    Moved
    2
    4 Votes
    2 Posts
    3k Views
    A
    What about my YouTube plugin that was compatible but due to a recent PR seems to have issues? cough