Skip to content

General Discussion

A place to talk about whatever you want

3.8k Topics 23.3k Posts
  • 0 Votes
    3 Posts
    1k Views
    remcokatzR

    Ah yes, that is correct! I've not selected an icon since i wanted to do custom images with icons not present in the font awesome collection.

    The icons in the font awesome collection are not an option so how can i have this fixed?

  • 0 Votes
    11 Posts
    6k Views
    julianJ

    @José-Ángel-Rey-Liñares I don't believe Kano uses NodeBB anymore, though I could be mistaken.

    We still recommend https://github.com/julianlam/nodebb-plugin-sso-oauth, though if you have a login API that takes username/password, you could also consider writing a plugin that listens on the action:auth.overrideLogin hook...

  • 0 Votes
    7 Posts
    3k Views
    julianJ

    @v4 This is a risk with any application, and NodeBB is no exception. Think "zero-day exploits" and applications which accidentally let someone "break out" of the environment. It's obviously something we patch and code against, but finding them is often another matter 🙂

    We maintain an email specifically for handling these issues: [email protected]. If you've located an exploit vector, email use privately there, and we'll get it fixed up!

  • Upgrading from 0.6 to 0.7

    4
    0 Votes
    4 Posts
    1k Views
    A

    You would have to shut from stable to master. Master isn't advised to be used in production, but for testing is fine.

    To change branches you would type

    git checkout master
    git pull
    ./NodeBB upgrade
    npm up

    You may need to disable incompatible plugins if their are any.

  • 0 Votes
    1 Posts
    980 Views
    S

    Is there any way to make this widget show recent posts not only from the current category but from all subcategories within it as well?

  • 1 Votes
    4 Posts
    5k Views
    N

    @bentael After some pause, I think I'm ready to work on custom importer. After some investigation I have found, that Importer works with classic/basic entities. Even If I will create custom importer, for example nodebb-plugin-import-ipboard-very-custom, import plugin will use only designed methods (I will be able to import additional fields) like: setup, getPaginatedUsers, getPaginatedCategories, getPaginatedTopics, getPaginatedPosts, and several utility methods like logging, testRun, etc.

    My question: as author of importer, what do you recommend to do if I want to import additional entities? (Example: awards)

    What I want to accomplish after import: Import of standard data: topics, categories, posts, users - It's simple and clear Import custom user fields without altering User document for future plugin use Import additional entity - Awards for future plugin use Import additional entity - Points(like reputation, but isn't part of user table) for future plugin use
  • Clustering with Mongo?

    7
    0 Votes
    7 Posts
    2k Views
    T

    @pichalite we are running a cluod system, where we actually need to add those to packages. Basically a similar situation as with the heroku install. (Btw That's a really good page in the docs)

  • 0 Votes
    3 Posts
    1k Views
    julianJ

    I don't understand what you are asking, sorry 😦

  • Sitemap contains removed topics only

    7
    0 Votes
    7 Posts
    3k Views
    julianJ

    @Tom-Riddleff That is quite weird. Would it be possible for you to provide us a copy of your database so we can investigate the problem?

  • 0 Votes
    5 Posts
    2k Views
    julianJ

    @Valorale You're supposed to execute configure:

    $ ./configure --prefix.... etc
  • New Chromebook Pixel!

    9
    0 Votes
    9 Posts
    2k Views
    barisB

    @a_5mith yeah wasn't installed. Installed/activated youtube lite now.

  • 0 Votes
    2 Posts
    2k Views
    nhl.plN

    You can automate it by using this guide.
    https://github.com/ahwayakchih/openshift-nodebb

    Or the one written by me.
    https://community.nodebb.org/topic/3866/guide-nodebb-0-6-1-on-openshift-for-windows-users-with-putty/1

    Or use official NodeBB guide.
    https://github.com/NodeBB/nodebb-english/blob/master/installing/cloud/openshift.rst

    This is not a bug. You have used npm install command in the wrong folder. Use OpenShift Online in your browser to download NodeBB files to /app-root/runtime/repo and it will work as it should.

  • Header and footer for homepage

    1
    0 Votes
    1 Posts
    821 Views
    shady2kS

    In widget areas for home.tpl I have only Homepage sidebar. Any way to add header and footer?

  • 2 Votes
    7 Posts
    4k Views
    Joel HaggarJ

    @julian Ah ha, thanks for that. I'm still learning a lot of the features. I have the sendGrid plugin and it seems to work fine.

  • Popular forum exporters

    67
    0 Votes
    67 Posts
    43k Views
    ReikR

    I hope this is the most up to date version. You don't have to import database every time, to check if everything is parsed right. Regexes are used always on 'just after import' version of database.

    Preparse regex:

    content = content.replace(/<!-- m --><a class="postlink" href="(.*)">.*<\/a><!-- m -->/g, '$1'); content = content.replace(/<!--.*?--><img src="\{SMILIES_PATH\}\/.+?" alt="(.+?)" title=.+?\/><!--.*?-->/g, ' $1 '); content = content.replace(/\[(.*?):\w+\]/g, "[$1]"); content = content.replace(/\[(\/\w+):\w+\]/g, "[$1]");

    Postparse regex:

    content = content.replace(/\\\[/g, '['); content = content.replace(/\\\]/g, ']'); content = content.replace(/\@"(\w+)?" said:/g, '@$1 said:');

    Bonus - Selenium IDE for Firefox script, which makes forum private 😛 You need sideflow extension to use it. Use it at categories page in ACP to see how it works.
    http://pastebin.com/UdaT0FQF <-- deprecated since v0.7.0

  • 0 Votes
    3 Posts
    2k Views
    Joel HaggarJ

    Thanks, that worked perfectly!

  • This topic is deleted!

    Locked
    1
    0 Votes
    1 Posts
    17 Views
  • 0 Votes
    4 Posts
    2k Views
    barisB

    Thanks for reporting as @pkiller mentioned this should be fixed if you create the system folder. I have also fixed it on master as well as the error messages so you should get a better error message if the upload fails.

  • 0 Votes
    4 Posts
    2k Views
    S

    @belstgut said:

    Not really sure what all the hype about mongodb/redis lately is, if you can use well tested sql databases.

    MongoDB is well tested too. But beyond being super stable, it is screaming fast - far faster than any relational database, it has amazing sharding properties, it speaks native JSON, it is getting a massive amount of active development, it is considered the native database for Node.js on which NodeBB is built and it scales like crazy.

    Now the big one.... when using Node... those "well tested sql databases" are not well tested. MongoDB is far more stable and tested than any of them and, in fact, lack of highly reliable drivers is a major issue for relational (what you call SQL) databases.

    So there are very, very good reasons to use NoSQL, especially MongoDB specifically. Speed, stability, battle tested, native, etc. I'm not actually clear on any upside to using a relational database here. Relationships are nice, but would they add any value at all in an online community infrastructure?

    Also, I should note, some online communities that we have dealt with have scaling issues specifically because they eschewed this advice and went with those "well tested" relational databases. Once they grew and got busy they were unable to keep pace and they bogged down and had to throw crazy amounts of money at keeping respectable performance when MongoDB or other similar datastore could have been faster for cheaper.

  • NodeBB completly crashed HELP

    4
    0 Votes
    4 Posts
    2k Views
    S

    @misdigest If they are not compatible with your version of NodeBB then you can either downgrade NodeBB, not use the plugin or try and upgrade the plugin yourself. You could also ask the developer of the plugin if they will upgrade it for better compatibility.

    Usually the errors will give you some information on what is causing the problem.

    at Object.Soundcloud.init [as method] (/root/misdigestbb/misdigestbb/node_modules/nodebb-plugin-sso-soundcloud/library.js:26:66)

    Suggests that the nodebb-plugin-sso-soundcloud plugin is causing one problem