Skip to content

Can you adjust Admin settings on your NodeBB?

Bugs
  • I made post on NodeBB community under the Bug thread: about not being able to adjust or save repuation related action values in admin>settings>reputation
    It wont accept any less than zero anywhere.
    The reply was to raise a bug issue on github which I did.
    However I note in my console log I get errors:
    error loading admin/settings/reputation
    Error: Cannot find module ‘./settings/reputation’
    Its as if its looking for a file thats not in my set up?

    Can a bug this fundemental really still exist for everyone?
    If anyone could try adjusting a setting on your admin panel,
    E.g minimum reputation needed to chat -1
    will yours save the page with any negative value in any field?

  • Just an update,
    it looks like a fix has been added for this issue (for 3.2.0 milestone), it has “the regression label” on the fix,
    What does Regression label mean in this context?
    When likely can I upgrade to the mentioned 3.2.0 ?

  • @Panda I don’t see this as a bug to be fair. Why would you set a negative value on any of these when 0 would suffice?

  • @phenomlab because if you have a forum (like political) where people have different opinions and may downvote a response, just being at a negative rep shouldnt necessarily block someone from all features.
    This wouldnt apply on a page like this where people only upvote others, Im thinking in the case of a more volatile or debating forum

    Of course one option would be to remove downvoting, which seems to be the case on sudonix 🙂
    Anyway it used to work, and suddenly broke. I figured out thats what the Regression tag means!

  • @Panda as, yes, now I understand and that makes 100% sense. It means those who get down voted can still have an opinion and use common services.

    And yes, you’re right. Rather than down vote, just ignore if you don’t agree.


  • nodebb error logs

    Bugs
    6
    4 Votes
    6 Posts
    175 Views

    I just wanted to ask because I don’t have much knowledge about the new installation.
    Thank you for the explanatory answer.

  • 2 Votes
    8 Posts
    251 Views

    @Panda you’d be surprised. If you consider that you’d need to use the API to be able to populate a WordPress widget for example (which in turn would of course be PHP), taking this route is still immensely popular.

  • Nodebb design

    Solved General
    2
    1 Votes
    2 Posts
    146 Views

    @Panda said in Nodebb design:

    One negative is not being so good for SEO as more Server side rendered forums, if web crawlers dont run the JS to read the forum.

    From recollection, Google and Bing have the capability to read and process JS, although it’s not in the same manner as a physical person will consume content on a page. It will be seen as plain text, but will be indexed. However, it’s important to note that Yandex and Baidu will not render JS, although seeing as Google has a 90% share of the content available on the web in terms of indexing, this isn’t something you’ll likely lose sleep over.

    @Panda said in Nodebb design:

    The “write api” is preferred for server-to-server interactions.

    This is mostly based around overall security - you won’t typically want a client machine changing database elements or altering data. This is why you have “client-side” which could be DOM manipulation etc, and “server-side” which performs more complex operations as it can communicate directly with the database whereas the client cannot (and if it can, then you have a serious security flaw). Reading from the API is perfectly acceptable on the client-side, but not being able to write.

    A paradigm here would be something like SNMP. This protocol exists as a UDP (UDP is very efficient, as it is “fire and forget” and does not wait for a response like TCP does) based service which reads performance data from a remote source, thus enabling an application to parse that data for use in a monitoring application. In all cases, SNMP access should be “RO” (Read Only) and not RW (Read Write). It is completely feasible to assume complete control over a firewall for example by having RW access to SNMP and then exposing it to the entire internet with a weak passphrase.

    You wouldn’t do it (at least, I hope you wouldn’t) and the same ethic applies to server-side rendering and the execution of commands.

  • Nodebb 3.2.0

    Bugs
    20
    2 Votes
    20 Posts
    476 Views

    @crazycells yes, I’m aware of that. Need to fix

    EDIT- fixed. Caused by the same CSS that is used to absolutely position the “verified” group badge in the posts view. Amended this CSS so that is specifically targets the post stream as below

    li[component="post"] a[href*="/groups/verified"] { position: absolute !important; left: 8px; z-index: 2; margin-top: 1px; border-radius: 999px !important; line-height: 14px; display: block; height: 22px; margin-left: 0px !important; }
  • Email validation NodeBB

    Bugs
    21
    3 Votes
    21 Posts
    877 Views

    @Panda said in Email validation NodeBB:

    Did you configure that as a custom change to the usual quote icon. How do you do that?
    I notice on NodeBB site its a solid blue quotes

    Yes, I changed it. NodeBB by default users the free font awesome library whereas I use the pro (paid) version SDK have access to a wider set of icons, and at different thicknesses etc. The change of colour is just simple CSS.

  • 22 Votes
    16 Posts
    614 Views

    here mine 🙂

    image.png

  • 14 Votes
    69 Posts
    5k Views

    @phenomlab

    Seems to be better with some scaling fix for redis on redis.conf. I haven’t seen the message yet since the changes I made

    # I increase it to the value of /proc/sys/net/core/somaxconn tcp-backlog 4096 # I'm uncommenting because it can slow down Redis. Uncommented by default !!!!!!!!!!!!!!!!!!! #save 900 1 #save 300 10 #save 60 10000

    If you have other Redis optimizations. I take all your advice

    https://severalnines.com/blog/performance-tuning-redis/

  • 0 Votes
    6 Posts
    537 Views

    @cagatay You should ask in the NodeBB forums. Perhaps reference this post

    https://discuss.flarum.org/d/23066-who-read