Skip to content

Plugin usage metrics

NodeBB Development
3 3 2.4k 1
  • Hi Everyone,

    We are going to be introducing a plugin usage metrics system in 1.13.0. Up until now, the plugins page at admin/extend/plugins#download showed all plugins published to npm with no way to see if the plugin was compatible with your version of NodeBB. This lead to the installation of plugins that might potentially crash your nodebb on startup.

    To change this, we are adding a new opt-in system that submits the plugins that are active on your forum to nbbpm.

    Here are some details about this system:

    • Only submit in production mode (global.env === 'production')
    • Submit data once every 24 hours
    • Do not submit data for plugins that have "private": true in their plugin.json
    • Enabled on new installs, unless disabled during ./nodebb setup
    • Disabled on existing installs

    You can see the exact data that is submitted here.

    You can opt-in or out anytime from /admin/extend/plugins. If a plugin has no compatibility data available it will show a warning like this

    fd9eb179-91ca-46fc-8027-19446145395d-image.png

    If the plugin has compatibility data it will show a notice like this

    ff01d813-7786-4ed3-b10e-ad6fd5172526-image.png

  • Keep in mind we wanted to make this process as transparent as possible. We want to address continued concerns that our plugin directory often contained plugins that were not actually compatible with the version of NodeBB running.

    To that end, this system is default opt-in on new installs (a question is asked during the setup phase). For pre-existing installs, there is an upgrade script that default toggles this option to off. We don't want to surprise anyone here, so the logic is kept completely open-sourced, and new behaviour isn't toggled on for anyone who is using NodeBB already.

    We intend to use this anonymized data to allow for automatic reporting of plugin compatibility, and to hopefully lead to better and higher quality plugins as the program matures 😄

  • Awesome.

    Thanks bunches for this. 👍

  • <baris>B <baris> referenced this topic on

Suggested Topics


  • 4 Votes
    1 Posts
    437 Views
    julianJ
    At Piefed office hours, @[email protected] and I got to talking about what's next for Piefed and the Threadiverse WG. One of those things is moving stuff between communities (or in bbs parlance: moving topics between categories/forums). Rimu suggested we use the already-existing as:Move activity, sent by the community (a group actor), with origin and target set, and with object being the post id itself. I suggested we update this to use the resolvable context collection as object instead, which Piefed has supported since v1.2. That should be enough to get a proof-of-concept implementation going between Piefed and NodeBB... a question remained as to whether this should be Announce(Move(Object)) or simply Move(Object). Argument for former was that it was similar verbiage to other 1b12 actions. Argument for the latter was that this is merely 1b12 adjacent and needn't follow prior art. We'll likely put together an FEP for this.
  • Is there any plugin for AMP pages?

    NodeBB Development
    1
    1 Votes
    1 Posts
    788 Views
    A
    I want to add AMP pages for nodebb pages,is there is any plugin for that?
  • plugin load sequence

    NodeBB Development
    23
    0 Votes
    23 Posts
    11k Views
    yariplusY
    I'm fine with it being each. But that's really a separate issue. The app.load hook is not where we should be modifying templates.
  • Retrieving plugin settings

    NodeBB Development
    4
    0 Votes
    4 Posts
    4k Views
    R
    @julianlam It sure is! I wasn't aware that I was actually tripping over fossils along the way. But now, that you've mentioned it, I found e.g. the plugin-cash settings in config. I'll be at the weaponsmith's sharpening my sword, then - heeyahh! [image: FxgSh9g.png]
  • Vote for NodeBB on Bitnami again!

    General Discussion bitnami nodebb vote
    1
    0 Votes
    1 Posts
    2k Views
    L
    Seems like you can vote each month again, as I just got this E-Mail Hi ApfelUser, Thank you for voting to add NodeBB to the Bitnami Library in our monthly contest. Unfortunately, they didn't receive enough votes to > > take the top spot last month. Meet Last Month's Winner - MeteorJS Still want to see NodeBB in the Bitnami Library? Each month is new chance to win! Vote for NodeBB again this month, and be sure to > > encourage your friends to vote too. You can vote for your favorite app each month until it wins. Good luck! The Bitnami Team So, please vote for NodeBB here

Looks like your connection to NodeBB Community was lost, please wait while we try to reconnect.