Skip to content

General Discussion

A place to talk about whatever you want

3.8k Topics 23.2k Posts
  • 0 Votes
    9 Posts
    5k Views
    A

    @CyanPrime not sure how that's fixed it as your route inside theme.less doesn't actually point to the vanilla template. For that file to point at vanilla, you'd be looking at ../../../nodebb-theme-vanilla, but if it works then, so be it. 😆

  • 1 Votes
    2 Posts
    998 Views
    SteveS

    @julian said:

    Original Source

    Emailed this to my old man with the title "All you need to know about computers"

  • 1 Votes
    16 Posts
    5k Views
    cytraxC

    @julian said:

    It almost feels like I've just discovered gold in its purest form.

    @cytrax Can we use that as a testimonial? 😄

    LOL.. I missed this post. lol. I charge 0.50c per testimonial click. haha

  • Amazon Web Service

    4
    2 Votes
    4 Posts
    4k Views
    K

    Not yet, but I will.

    I installed UbuntuServer on Virtualbox of MacOSX and logged in via SSH (and tmux)
    redis-server can be installed via apt-get, and node.js is also straightforward in some way (obviously bunch of info available on the net).

    Currently, I studies email functionality of nodeBB.
    I probably use Amazon SES, but it seems that there is no nodebb-plugin for that yet.
    So, that is the major problem for now, and wonder how other guys manage that.
    Perhaps, I end up with developing the plug-in by my own.

  • 0 Votes
    8 Posts
    2k Views
    barisB

    I'm not sure where to put them to be honest, I just don't like where they are right now 😆

    Node.js doesn't have out of the box chat support, we used socket.io for that.

  • Stock theme issue when mobile

    15
    0 Votes
    15 Posts
    4k Views
    A

    @Steve Ok, change to cover. 👍

  • Nodebb + nginx + varnish problem

    5
    0 Votes
    5 Posts
    2k Views
    G

    My knowledge of Varnish is very limited - but don't you have to either pipe Varnish into nginx and then NodeBB or nginx into Varnish and then NodeBB? From your configuration, it seems you're trying to pipe nginx into NodeBB on port 2000 and the same for Varnish. Can Varnish and nginx coexist on the same port?

    Here is my working configuration but against, I'm running nginx to Varnish's default port (e.g., 6081).

    server { listen 80; server_name domain.com *.domain.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:6081/; #proxy_pass http://127.0.0.1:4567/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }

    For Varnish, I'm just using the default instructions. RHEL 6.5 as well.

  • Redis advice on low memory system

    15
    0 Votes
    15 Posts
    15k Views
    G
    Guiri's Guide to Fixing Redis Problems

    I'm including in this post the various fixes and optimizations that have made Redis stable on an RHEL 6.5 system with 2GB of memory. I currently run NodeBB/Redis behind a Varnish Cache + nginx combo. Switching to nginx was easy and significantly cut my memory usage.

    I am merely combining the advice given to me by other experts. The credit is shared by @julian, @psychobunny, @eva2000, @a_5mith , and others.

    /etc/sysctl.conf net.core.somaxconn = 1024 vm.overcommit_memory = 1 /etc/redis.conf

    Close dead and idle peers to free up connections. This was my biggest problem that would eventually cause NodeBB to fail to connect and elicit the _csrf error. On RHEL/CentOS, Redis does not by default seem to be configured to close idle connections. Thus, whenever your forum will crash is predictable at a linear rate, where the beta is your avg. number of visitors.

    timeout 120 tcp-keepalive 60 /etc/security/limits.conf

    Increase the maximum number of open files for Redis and your web server.

    redis soft nofile 65536
    redis hard nofile 65536
    nginx soft nofile 262144
    nginx hard no file 262144

    Using Varnish with nginx -------------------------------- There is some debate about whether it is more efficient to use nginx's caching capabilities. The additionally memory overhead of using Varnish with nginx is minimal and the scaling performance on my old Core2Duo Mac Mini is incredible as measured by `ab` and `httperf`. My limited understanding is that it recycles old connections, which in turn reduces the load on NodeBB and Redis. Enabling this doubled the time it took to crash Redis, but the eventual fix was modifying `redis.conf` to time out old connections. **Varnish** The default [Varnish instructions](https://docs.nodebb.org/en/latest/configuring/proxies/varnish.html) work well, but still need to be updated to 4.0 standards. Thus, since RHEL/CentOS has an older version, install the 3.0 branch from [here](http://repo.varnish-cache.org/redhat/varnish-3.0/el6/), as the syntax is compatible. Varnish outputs on port `6081`, so we just need to slightly modify the nginx default.conf to make it work. Enable Varnish to start on boot: `sudo chkconfig varnish on` **nginx** Once again, you'll first need to install the latest nginx from [their repo](http://wiki.nginx.org/Install). The only line I believe you need to modify at this point is the proxy_pass port:

    server {
    listen 80;

    server_name domain.com *.domain.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:6081/; #proxy_pass http://127.0.0.1:4567/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }

    }

    Last, make sure you enable nginx to start on boot: `sudo chkconfig nginx on`
  • Plugins for love and money

    18
    3 Votes
    18 Posts
    4k Views
    julianJ

    Monetization re: adsense can already be achieved with this plugin, created by @dove 😄

    No word on 0.4.3/0.5 compatibility, but @dove is around often, so it should be fairly up to date...

    Link Preview Image [nodebb-plugin-adsense] Google Adsense

    This plugin moved to https://github.com/NodeBB-Community/nodebb-plugin-adsense #Install# npm install nodebb-plugin-adsense More info on GitHub ACP Page Ad ...

    favicon

    NodeBB Community (community.nodebb.org)

  • Forumcon?

    9
    0 Votes
    9 Posts
    3k Views
    ?

    @a_5mith

    That's pretty much what networking in b-school is like 👍

  • How fast does your site load

    3
    1 Votes
    3 Posts
    1k Views
    T

    86 / 100 Desktop
    71 / 100 Mobile

    I can fix it so that it goes to 85, done it before but the way NodeBB is built doesn't allow me to do this and have the site fully functional.

    100 / 100 User Experience 👍 (Like duh?) lol...

  • How to mark a thread as featured ?

    7
    0 Votes
    7 Posts
    2k Views
    meetdilipM

    Yes, both were.

  • suggestions for core modification

    7
    0 Votes
    7 Posts
    2k Views
    A

    @marcos2 I'm sure one of the @devs can fork it. 😉

  • There are 55 sites using NodeBB

    9
    1 Votes
    9 Posts
    3k Views
    eva2000E

    @julian said:

    It's a balancing act -- I honestly really want to help, but the more popular NodeBB gets, the more people need help, and that really comes at a time cost.

    So we really need people like yourself -- experienced NodeBB admins who can guide others to solutions. 🙂

    To lessen help/support work you really need great documentation and faq system which is searchable and brings back relevant results when searched. Then get into a habit of answering forum/support questions with answer + a link to the relevant documentation and faq resources each and every time you answer. This serves a purpose to condition users and lurking visitors into getting familiar with documentation and faq availability. Over time, end users will also help out other end users by answering the same questions with direct links to documentation and faq resources and you get end with a snowball effect 🙂

    I am a firm believer in answering common questions only once so documentation/faq links will capture that answer for all to use and reference.

    The hardest part is compiling that documentation and faq system entries as you go - on the fly adding to the system as new unique but commonly repeated questions pop up 😉

    Maybe make a nodeBB FAQ plugin to promote forum post/answer/replies to the FAQ plugin/display which can be edited for more appropriate format etc before final submission to an FAQ entry ?

    my AUD$0.0.2

  • I want to know which database I should chose

    2
    0 Votes
    2 Posts
    1k Views
    A

    @Lingyong-Zhang Redis-vs-MongoDB

  • 1 Votes
    10 Posts
    3k Views
    julianJ

    @dibu Yes, most likely would look into cluster module first before rolling my own solution 🙂

  • 2 Votes
    5 Posts
    1k Views
    julianJ

    I imagine it's a case of the bigger company wanting to stay relevant, or keeping their competition from taking over (a la David & Goliath) by buying them outright.

  • Problems updating nodebb

    13
    0 Votes
    13 Posts
    4k Views
    S

    I'm running into the exact same issue as yourself, is there an update on how this can be fixed?

  • 0 Votes
    2 Posts
    1k Views
    julianJ

    Hey @Giorgio-Chiodi -- the hosted service does not provide administrators with the ability to directly access their server/instance, which is part of how we can maintain stability on our platform.

    You can grant us access to a theme you created (if it is on npm), and we can install it for you, but we cannot ensure compatibility with them 🙂

  • Custom branding

    3
    1 Votes
    3 Posts
    1k Views
    P

    Lmao. It basically overwrites the 5 branding colours of your Bootstrap theme (ex. @brand-primary) to whatever colours you want.