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.

[documentation] Will not shut off

preachurpreachur New
edited April 2012 in Vanilla 2.0 - 2.8

This, once enabled, will not disable.

Tagged:

Answers

  • peregrineperegrine MVP
    edited April 2012

    You have 3 choices. 3 is the best choice.

    1) remove this line from config.php
     $Configuration['EnabledPlugins']['ShortPanel'] = TRUE;
    
    2) disable in config.php
    $Configuration['EnabledPlugins']['ShortPanel'] = FALSE;
    
    3) fix the plugin -  The S and P need to match the directory name which is capitalized.
    
    change this line in default.php in the ShortPanel directory.
    $PluginInfo['shortpanel'] = array(
    
    to 
    
    <?php if (!defined('APPLICATION')) exit();
    
    // Define the plugin:
    $PluginInfo['ShortPanel'] = array(
    

    @hbf see 3

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Perfect answer. 3 is definitely the way to go.

    I will correct the plugin and upload a new version as soon as possible.

    Thanks!

  • hbfhbf MVP
    edited April 2012

    @todd I ran into a snag trying to fix this. Apparently I cant change the key of a plugin.

    I'd like to upload a new version with the corrected key, but i get the following message.

    Should i create a new plugin?
    image

  • peregrineperegrine MVP
    edited April 2012
    If you don't get this resolved
    $PluginInfo['ShortPanel'] = array(
    change it back to 
    $PluginInfo['shortpanel'] = array(
    
    and rename your directory to
    shortpanel before you zip it up, so it extracts into shortpanel instead of ShortPanel
    
    it will solve the problem and is probably better, that way people won't have two plugins showing up in the dashboard, if they had the old version.
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • I'm avoiding the directory rename approach as that will make my directory structure conventions inconsistent.

  • true

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.