Author Topic: Disable specific plugins based on skin  (Read 3920 times)

Offline twisterbr

  • Jr. Member
  • **
  • Posts: 26
Disable specific plugins based on skin
« on: August 31, 2015, 10:30:09 AM »
Is it possible to disable specific plugins based on the skin that's being used?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Disable specific plugins based on skin
« Reply #1 on: August 31, 2015, 11:12:36 AM »
If they are your plugins then I think it would be better to alter the specific plugins themselves not to init. Otherwise I think you'd need a special plugin (plugins can disable/enable other plugins) to do it - because it can only be done once the user config is loaded.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline twisterbr

  • Jr. Member
  • **
  • Posts: 26
Re: Disable specific plugins based on skin
« Reply #2 on: August 31, 2015, 12:09:34 PM »
The plugin is not mine, I want to disable the contextmenu plugin while using a specific skin (mobile skin).

But thanks for the info!!