@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
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
@yariplus said in Can admin and mods read private messages?:
It speaks volumes about Discourse's userbase if the default concern of PMs is pedo rings.
TBF my impression was this came across as a post feature extreme justification, as many were equally uncomfortable with the implementation, had questions and raised similar concerns.
That it never occurred to me or others doesn’t mean such activity is not happening. I would imagine if it’s done it’s most effective when automated with bots. Using PM system as the exchange. I have no clue how prevalent this might be.
I’ve only recently read intel agencies use gamer boards for comms and not even pm posts either!
It’s a big world out there!
That would be great for a more easy way to config plugins that add new fields to the profile page, like 'nodebb-plugin-ns-custom-fields'.
We would no longer need to modify the files on the server and we would be able to do this in real time and right on the ACP panel!