Can’t sign up into my nodebb site using proxy

NodeBB Development

Suggested Topics


  • 0 Votes
    6 Posts
    2k Views

    You'll want to listen to the filter:categories.build hook. You can remove all of the code creating the route override.

  • 0 Votes
    1 Posts
    1k Views

    I use nginx as a static file server just as the wiki illustrates. And I added a log to monitor what kind of requests goes to NodeBB server.

    location ~ ^/(images|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js|stylesheet\.css|admin\.css) { root /path/to/nodebb/public/; try_files $uri $uri/ @nodebb; } location / { access_log /var/log/nginx/access3.log; proxy_pass http://io_nodesss; }

    I found that some of requests of the static files are still going to NodeBB:

    "GET /src/modules/composer/preview.js?d7bd0222-d024-4aba-869d-0b088e7d5ba1 HTTP/1.1" 200 772 "GET /src/modules/composer/uploads.js?d7bd0222-d024-4aba-869d-0b088e7d5ba1 HTTP/1.1" 200 2539 "GET /src/modules/composer/drafts.js?d7bd0222-d024-4aba-869d-0b088e7d5ba1 HTTP/1.1" 200 492

    And I checked that those files are not in ./src/modules, they are at ./node_modules/xxxx/static/ instead.

    Is there any solution to this? Don't tell me that I should copy those files to /src/modules/ manually.

  • 0 Votes
    3 Posts
    2k Views

    Those userrs are stored in groups with special names, here are the names assuming the category id is 1.

    cid:1:privileges:find
    cid:1:privileges:read
    cid:1:privileges:topics:create
    cid:1:privileges:topics:reply

    You can get the user ids from these groups by.

    Groups.getMembers('cid:1:privileges:find', 0, -1, callback); This will give you all the user ids that have the find permission for category 1.

    If you want to get their basic info like username picture slug so you can show user icons you can just use Groups.getMemberUsers('cid:1:privileges:find', 0, -1, calllback);

  • 0 Votes
    1 Posts
    1k Views

    Good morning everyone,
    I would love to implement NodeBB for a project which is already using Stormpath as a login system. Is there already a plugin to help with Stormpath integration with NodeBB? If not, where would you suggest me to start in order to integrate them?

    Thanks a lot for your support
    Matt

  • NodeBB Wiki

    Moved NodeBB Development
    11
    1 Votes
    11 Posts
    9k Views

    @baris said:

    @CaioDA Just disable them from the admin control panel. Options > Disable then Save.

    Is it really that simple? Now I'm embarrassed... But, going along with what @planner said and @psychobunny pointed out, this is a very developer centered forum software with an initially steep learning curve. It's not quite plug and play. I recommend something like Foundation's Joyride to introduce new users to the system.

    Update: But currently, there is no way to remove them completely (unless a forum restart is required or override them). That's a feature I'd love to see.