Desktop notifications popup problem

Technical Support

Suggested Topics


  • 0 Votes
    9 Posts
    150 Views

    @DownPW of you're not already serving static assets with nginx, I'd recommend doing that. You should be able to set a separate rate limit for that while still protecting NodeBB.

    It may also be possible to whitelist cloudflare so it can bypass the rate limit.

  • Login problem 2.0.1

    Solved Technical Support
    2 Votes
    24 Posts
    2k Views

    @murcs You can simply take the file from there and overwrite in your own install.

    For example, if you locate the plugin itself in your folder structure, then open library.js and change

    const utils = require.main.require('./public/src/utils');

    To

    const utils = require.main.require('./src/utils');

    And rebuild, this should then work.

  • 0 Votes
    3 Posts
    246 Views

    I was able to install it by following the instructions from here: https://products.containerize.com/discussion-forum/nodebb
    I already have node.js installed on my computer. I did not install redis or nginx.
    I have a mac, so on Terminal, after I created a directory called "nodebb", I skipped the first few lines of the instructions, and just pointed to the directory I created, by using the "cd" command. I then created another directory called NodeBB inside the nodebb directory. You may skip creating two directories and just create a directory called "NodeBB". I pointed to this directory by using the cd command.
    Then this line
    "git clone -b v1.15.x https://github.com/NodeBB/NodeBB.git ."
    was the key for me.
    After I typed that, nodebb was cloned to the directory.
    Then I ran "./nodebb setup".
    I used mongo for the database.
    When prompted, I pasted the connection string that I got from mongodb's site. I substituted "nodebb" for the database part in the string. (I set up mongodb (Cloud Atlas) beforehand). The instructions that come up on Terminal will tell you to call your database "nodebb".
    After that step, the program ran automatically and installed the files. It asked me to put in the username and password for mongodb and it also asked me to choose a name for admin and password. You might have to wait a while as it pauses for a long time after "Confirm Password". I thought there was some problem and was tempted to abort the operation, as it was taking a long time, but it did come up with further instructions after a while.
    I typed "./nodebb start" when the setup finished and then went to "localhost:4567", and this time, I was able to see a normal board, and could log in as admin.
    I write this follow-up in case another mac user has trouble installing nodebb. In the end, setup was pretty straightforward and did not involve a lot of steps. My OS is High Sierra.
    The instructions, including the ones for Linux, at the official nodebb site did not work for me.

  • 0 Votes
    5 Posts
    2k Views

    @baris said:

    This is fixed on latest master/persona/vanilla.

    I fixed the issue by adjusting notifications_list.tpl:
    Line 17:
    <a href="{notifications.path}">

  • 0 Votes
    3 Posts
    2k Views

    I'm doing a git commit.

    I have a request if else in the helpers.js

    if (category.bgColor) { style.push ('background-color:' + category.bgColor); } else { console.log ('no bgColor'); }

    that will not do.

    but perhaps a negative query

    if (! category.bgColor || category.bgColor == NULL) { // Console.log ('no bgColor'); style.push ('background-color: #fff'); } else { style.push ('background-color:' + category.bgColor); }

    I tried only the first variant.