• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. TheBronx
    3. Topics
    • Profile
    • Following 3
    • Followers 3
    • Topics 6
    • Posts 47
    • Best 21
    • Controversial 0
    • Groups 1

    Topics created by TheBronx

    • TheBronx

      autoban for low reputation?
      General Discussion • • TheBronx

      1
      2
      Votes
      1
      Posts
      721
      Views

      TheBronx

      Auto-ban for low reputation was an option in the ACP, am I wrong? Now I can't find it (v0.7.2). Also there is no banUserForLowReputation() in the code. The settings had meta.config['autoban:downvote'] and meta.config['autoban:downvote:threshold'] properties, now I can't find them.

      Any good reason to remove this functionality? Just curious.

    • TheBronx

      Solved find objects with wildcard
      Plugin Development • • TheBronx

      6
      2
      Votes
      6
      Posts
      2549
      Views

      TheBronx

      In case someone comes to this thread in the future, here is the solution I came up with: https://github.com/exo-do/nodebb-plugin-reputation-rules/blob/master/ReputationManager.js

      A main object and 3 sets as I said, nothing complex (in fact working with sets is pretty easy) but a bit confusing.
      When I save or update the main object I have to also call 3 times db.setAdd() or db.setRemove() depending on vote type (upvote, downvote or undo) but thats all.

      Thanks again for your help guys 😄

    • TheBronx

      hundreds of polling requests
      NodeBB Development • performance request polling cloudflare • • TheBronx

      51
      2
      Votes
      51
      Posts
      27669
      Views

      markkus

      Updated to master & works like a charm ;).

    • TheBronx

      Alternative websocket address (to bypass CloudFlare)
      General Discussion • websockets cloudflare • • TheBronx

      2
      0
      Votes
      2
      Posts
      2544
      Views

      baris

      We just removed it from the ACP, it can be put in config.json now in a socket.io block.

      https://docs.nodebb.org/en/latest/configuring/config.html

    • TheBronx

      mongodb single collection?
      General Discussion • collection performance mongodb • • TheBronx

      3
      1
      Votes
      3
      Posts
      2909
      Views

      julian

      In a nutshell, because database abstraction layers make compromises... 🙂

    • TheBronx

      how to create and use a template helper
      NodeBB Development • template helper • • TheBronx

      10
      2
      Votes
      10
      Posts
      6070
      Views

      Yoann Aubry 0

      Does it still work? My helper functions don't seem to be recognize in my template files.

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact