Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

How to make "Disable plugin" button work?

Hi, i'm trying to create new plugin for Vanilla

I can enable it (and it works), but i can't disable it using disable button (

So I create very simple one:

$PluginInfo['Testdisable'] = array(
'Name' => 'Testdisable',
'Description' => '...',
'Version' => '1.0',
'Author' => "..",
'AuthorEmail' => 'abuse@my.mail',
'AuthorUrl' => '',
);

class TestdisablePlugin extends Gdn_Plugin {}

But I can't disable it too.. what should i do to make Disable button work for my plugin?

Best Answer

Answers

  • Options

    Thanks :)

    also it affects icon - it work now too )

  • Options

    Thank you @peregrine‌. I should have read your post before spending 2 days on it :)

Sign In or Register to comment.