• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. JasperNL
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 84
    • Best 19
    • Controversial 0
    • Groups 2

    JasperNL

    @JasperNL

    Gamers

    I am was a happy NodeBB user! (But I will certainly use it again!)

    I am a full-time student Applied Mathematics, and Computer Science is one of my side-interests. I consider programming as a hobby.
    In my study I'm focused at discrete mathematics: mainly algebra and optimization.

    32
    Reputation
    1035
    Profile views
    84
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location the Netherlands Age 27

    JasperNL Unfollow Follow
    Gamers Anime Lovers

    Best posts made by JasperNL

    • RE: Memory (MongoDB)

      @Flemming-Hansen said in Memory (MongoDB):

      Agree, but D.O. does not reccomend swap on their SSDs, due to to hardware degradation...
      Maybe not such an issue with my low usage?

      Just discovered #define ENOMEM 12 /* Out of memory */ 😃

      If you're concerned about hardware degradation, set up swap and set the swapiness value to 1! Then no process will get out of memory while no swap will be used if it is not needed.

      posted in Technical Support
      JasperNL
      JasperNL
    • RE: How to install nodebb on Windows XP vps

      What did you try already?

      You should install NodeJS first from www.nodejs.org
      Install mongo or redis, depending on which one you would like to use. If you use a hosted service for those, then skip this step.
      Then download NodeBB from github. I'd recommend to use GIT for that, but you can also just download the .zip in the releases folder.

      If you use the ZIP: unpack in the folder you'd like to use it in.
      If you use GIT: then you're ok now

      Go to the folder you've got the NodeJS system files. Open command prompt in this folder.
      Type "npm install"
      Wait until everything is installed. If it fails, check if you've got the correct building tools installed to your OS (it should be if you're using windows 2008 I thought)

      Type "nodebb setup", enter the details

      If you're done, do "nodebb start" and nodebb starts 🙂

      Next: in production you would like to set up a reverse proxy. Check docs.nodebb.org how to do this with windows IIS

      posted in Technical Support
      JasperNL
      JasperNL
    • RE: How to add a new route

      Do you want a redirect to that page or do you want to keep the navigation bar?

      In the first case: on the ACP you can change the navigation bar.

      In the second case: there is a plugin that provides custom routes. I don't know the name but i can look it up!

      posted in NodeBB Development
      JasperNL
      JasperNL
    • RE: Reddit style vote up/down feature

      This can be a begin! https://community.nodebb.org/topic/9063/nodebb-plugin-category-sort-by-votes-sort-topics-by-votes-within-a-category

      posted in General Discussion
      JasperNL
      JasperNL
    • RE: Windows Server 2012 Problem (AGAIN)

      I think it's related to this change: https://github.com/NodeBB/NodeBB/commit/aac0313f2eb87123347c5925a134adcd57fb869e

      In here the universally slashes are replaced by OS defaults which seems to cause the windows related errors. I'll check out later if there is no similar open issue and otherwise I'll open one.

      0 barisusakli committed to NodeBB/NodeBB
      closes #4917
      posted in Technical Support
      JasperNL
      JasperNL
    • RE: Run two nodebb ionsame server

      @kenygamer That doesn't make sense to me. Servers with more resources are more cost-efficient than servers with less resources, just because the administrative costs are lots higher for cheaper servers...

      posted in General Discussion
      JasperNL
      JasperNL
    • RE: Using puTTy to retrieve a plugin..

      @MBFTOM You've installed it at the wrong location. It's installed in your root directory, whereas you should install it in the directory of the NodeBB installation (that is, where the starter script is also located). When you run "npm install [pluginname]" there, it'll work 😉

      Good luck!

      posted in Technical Support
      JasperNL
      JasperNL
    • RE: Shopping cart in nodebb, is it possible with mongodb ....?

      As far as I know there is no eCommerce module for NodeBB.

      posted in NodeBB Plugins
      JasperNL
      JasperNL
    • RE: NodeBB Usage Statistics
      Bot Check
      i think the numbers are not really representative 😛 "won one customer over xenforo"

      posted in General Discussion
      JasperNL
      JasperNL
    • RE: Emoji in Username

      @JasperNL said in Emoji in Username:

      Usernames aren't limited to ASCII, as you can also register Chinese usernames (for instance, try 你好 ). I suppose it's possible to register usernames containing emoji unicode characters (💩). However, these usernames cannot be registered. The form disallows the use of these characters, and maybe there are also server-sided checks. In order to allow these characters, removing the checks (unsafe) or adding emoji characters to the checks (safe) from the source code would suffice.

      But keep in mind that the character 💩 is different than 💩, as the first one is unicode and the second one an image. Whatever emoji you want to use, it will have a unicode equivalent.

      You can start with tweaking the client-sided script:
      https://github.com/NodeBB/NodeBB/blob/master/public/src/client/register.js

      The function you will need to tweak is validateUsername. The problem with unicode emoji appears to be that utils.slugify does not seem to allow those characters. I think it's best to start with tweaking utils.slugify. You can find that in this file, line 77.
      https://github.com/NodeBB/NodeBB/blob/master/public/src/utils.js

      posted in NodeBB Development
      JasperNL
      JasperNL

    Latest posts made by JasperNL

    • RE: Who is using NodeBB?

      @brophy Cool to see another MTA community here 😎

      posted in General Discussion
      JasperNL
      JasperNL
    • RE: How to Load Balance for all CPU Cores

      Adding both redis and mongo and setting mongo as default DB driver only uses redis to store sessions with and no cached posts or quick-served pages? In that case, I'll keep Redis around.

      posted in Technical Support
      JasperNL
      JasperNL
    • RE: Nodebb Hosting - Fully Managed - Simple to use

      @chrispy said in Nodebb Hosting - Fully Managed - Simple to use:

      ALL INSTANCES COME WITH A 10GBPS CONNECTION! This means that NO LAG is anywhere to be found. Your Nodebb install will load in seconds no matter who accesses it.

      If you're using Vultr (as your IP suggests), then 10GBPS is only accessable from their bare metal instances, and not from their VPS instances. The 10GBPS is also "burst", so not guaranteed. Neither does the connection speed mean that it has "no lagg anywhere to be found" because of peering: especially asian customers (Japan, Singapore, India, Korea) cannot get close to 10 MBits when connecting to the US instances of Vultr, even if the instance has a 10GBPS port.

      I also believe that you share your resources over all or a portion of your customers, because of the price. That may be worth mentioning as well, as it's an obvious deal-breaker for many customers.

      posted in General Discussion
      JasperNL
      JasperNL
    • RE: How to Load Balance for all CPU Cores

      @baris said in How to Load Balance for all CPU Cores:

      @pummelchen There is an issue in one of our dependency that effects mongodb, https://github.com/scttnlsn/mubsub/issues/61, in the meantime you can install redis and add a redis block in your config.json so pubsub uses redis instead of mongodb. That should get rid of the error you are seeing in the logs.

      I had the same error. Adding redis as additional db did the trick. A question: if it's fixed, can i disable redis without a problem or should I flush changes to mongo somehow? (Memory is scarce, so I prefer to disable redis if possible)

      posted in Technical Support
      JasperNL
      JasperNL
    • RE: NodeBB - Full Stack Setup

      I think this is a good tutorial, and will prove useful to many users! However, I have some remarks that I'll list below.

      DNS

      What has DNS to do with a stack? Not a lot, thats right, but as in my previous guide we will target the maximum possible performance. Therefore, we will also try to reduce the DNS resolving time.
      To achieve this we will route our domain through CloudFlare. Just sign up and follow the instructions. Once done be sure to have DISABLED CloudFlare in the DNS settings (grey clouds).

      But why? Due to the use of CloudFlare the server response time can be delayed around 0,7s, which is quite a lot, considering we want the maximum performance. Instead we will just make use of CloudFlare's fast DNS network.

      Depending on the scale you want to deploy the server on, cloudflare can actually be a good idea. Especially if you're afraid of DDoS attacks. There are basically three "modes" that you can choose from

      1. The mode in which you do not use anything of cloudflare, which you suggest.
      2. The mode in which you use cloudflare to cache static assets, but route websockets through your own server. This can be achieved by setting the socket.io parts in config.json. This does not save you from DDoS attacks, as the origin server can be found quite easily. This is the mode that I would recommend.
      3. Use cloudflare as websocket proxy. This secures you from DDoS attacks and works fine. This mode has a lot of cons, because cloudflare can kill the websocket connections without any specific reason, and you have the cloudflare proxy delay that you're considering. I would recommend this for small-scale sites only.

      Security

      ...
      Change it to a number like 1990 for example. Once edited hit Ctrl+X. Confirm with Y.

      Auts. This is not secure. Besides the "security by obscurity" arguments that this insecure, there are also practical objections with this port. Any port >1024 can be hijacked by any user on the box, whereas ports <1024 are reserved for the system/root user. So if you want to change the port (because you may believe that it's actually secure), keep it <1024!

      I always recommend to keep the SSH service at port 22 (as this is designed for it). For security, you can install fail2ban and set up a SSH keypair authentication instead of password authentication. Also: If your host gives you a root password, the first thing you should do is changing it!

      Database

      Now lets get onto NodeBB. Instead of MongoDB, we will skip into the future and go with Redis. Super fast, super simple.

      MongoDB has a future as well, and the benefits of redis over mongo.

      Again, great tutorial!

      posted in Tutorials
      JasperNL
      JasperNL
    • RE: Can't register at https://forum.wemos.cc

      Is your IP logged on stopforumspam.com ? You can find your IP at ip4.me or ip6.me

      posted in General Discussion
      JasperNL
      JasperNL
    • RE: nodebb installation document url not working..
      Upgrading - NodeBB Documentation
      posted in General Discussion
      JasperNL
      JasperNL
    • RE: Who is using NodeBB?

      @guangzhen said in Who is using NodeBB?:

      @baris I'm using NodeBB as a forum for my iOS app, Thanks NodeBB

      http://opengrok.club

      Your automatic translation creates some style overflows when "topics" and "messages" are translated to somewhat large words 😉 That may be something to look at 🙂

      Imgur

      Imgur
      posted in General Discussion
      JasperNL
      JasperNL
    • RE: German translation (Du / Sie)

      Many forum/blog software comes with two German language versions, formal and informal. As German is already quite well translated, maybe it's an idea to create a branch of the current one, and call it "German Informal". (or German Formal, depends on what's better)

      posted in NodeBB Development
      JasperNL
      JasperNL
    • RE: lacking https support

      You should specify in your config file that the NodeBB URL is indeed https. Then the newly uploaded images will have an HTTPS url automatically.

      posted in General Discussion
      JasperNL
      JasperNL

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact