activated plugins-list

Feature Requests
  • As plugin I'd like to be able to either get a list of activated plugins (maybe also version) or to send a request whether there is an activated plugin of given name (If you're aware of security issues 😛 )

    My use-case: I'd like to show a warning when my plugin has a known conflict with another activated plugin (emoji-extended vs. emoji as example).

    Maybe it's also nice to be able to get this list client-side as user therefor I may setup a new NodeBB instance like another board I know without having to ask the admin for the plugin-names.
    This would also be helpful for solving issues on external boards and I don't think it's a problem to security.

    Last related point: If I want to setup a new NodeBB instance that uses the same plugins like another one, here it could be helpful to generate a bash command to clone the plugin-installations and activations (shown within ACP).

  • @frissdiegurke said:

    Last related point: If I want to setup a new NodeBB instance that uses the same plugins like another one, here it could be helpful to generate a bash command to clone the plugin-installations and activations (shown within ACP).

    As a workaround, you could always use rsync -avz to sync one node_modules/ folder with another 😄

  • @frissdiegurke said:

    As plugin I'd like to be able to either get a list of activated plugins (maybe also version) or to send a request whether there is an activated plugin of given name (If you're aware of security issues 😛 )

    I think you can call Plugins.isActive to see if a specific plugin is activated. Otherwise you can query db.getSetMembers('plugins:active', callback) for the actual list


Suggested Topics


  • 0 Votes
    1 Posts
    102 Views

    The Persona and Harmony themes support a feature where previews and links to all replies to a given post are accessible in the post itself, in a dropdown element. Will this by chance be available in the Lavender and Peace themes as well? This is what the feature looks like:

    Post Reply List.JPG

    I don't know how long NodeBB has had it, but it is a very cool feature. It's something I've always hoped for in discussion forums.

    Thanks

  • ChatGpt plugin widgets

    Feature Requests
    0 Votes
    1 Posts
    87 Views

    Today Openai public the api for chatGpt to use, can nodebb support such widgets that let user put the conversation bar anywhere?(just put the token from opena at backend.I think this will be more useful ! fantastic

  • 1 Votes
    3 Posts
    1k Views

    @pitaj said in Plugin activation depending on system:

    hmmm... well ideally plugins and core would only load their assets when necessary. For instance, in core, we only load jQuery UI if we have some jQuery UI thing. There are many other places where we could pull more code out to be on-demand.

    you mean ideally but not on reality, right? 😄
    my idea was for example to enable plugins like...
    -people viewing this topic, reactions, polls, etc only on desktop

  • List all user IPs.

    Feature Requests
    0 Votes
    4 Posts
    2k Views

    @frissdiegurke Very much yes!

  • Plugin contest Requests

    Feature Requests
    1 Votes
    26 Posts
    9k Views

    I did try posting that earlier from my iPad, but I was having issues with actually making posts. Haven't been able to replicate since. But yes, deleting users also removes their posts.