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.

  • 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.

  • Smart Widgets

    Solved Configure
    9
    3 Votes
    9 Posts
    314 Views

    @Panda said in Smart Widgets:

    So why is that, or conversely why would the function to expose username ever be required, as it seems app.user is already an available global object?

    It is, yes, but not if you are using it outside of a widget. The function I wrote is also historical and comes from the 2.x train 🙂

  • NodeBB upgrade now cant post

    Solved Bugs
    5
    2 Votes
    5 Posts
    181 Views

    @Panda yes, for some reason, that is the case. If you need an urgent response, it’s probably better to post here because of the time difference.

  • NodeBB: Consent page

    Solved Configure
    16
    4 Votes
    16 Posts
    559 Views

    @DownPW I still do not see any issues.

  • 0 Votes
    2 Posts
    291 Views

    @pwsincd I think you can use userData.isAdmin = isAdmin; if I’m not mistaken - see
    https://community.nodebb.org/topic/15128/how-to-hide-whitelist-user-field-only-to-owner-or-admin?_=1648802303112 for an example

  • 3 Votes
    3 Posts
    247 Views

    @phenomlab thanks a lot, this combination works best 👍

    .posts-list .posts-list-item .content { overflow: auto; max-height: 600px; }
  • unable to upvote on forum

    Solved Performance
    10
    3 Votes
    10 Posts
    542 Views

    @phenomlab yes, i can understand. it is working now 🙂