Currently (4.73) it seems that checkplugin.lua's do_plugin_check_now only checks that a plugin is installed, but doesn't make sure that it is enabled. I think it should also be checking for enabled by changing do_plugin_check_now to
function do_plugin_check_now (id, name)
if not IsPluginInstalled (id) then
ColourNote ("white", "green", "Plugin '" .. name .. "' not installed. Attempting to install it...")
LoadPlugin (GetPluginInfo(GetPluginID (), 20) .. name .. ".xml")
if IsPluginInstalled (id) then
ColourNote ("white", "green", "Success!")
else
ColourNote ("white", "red", string.rep ("-", 80))
ColourNote ("white", "red", "Plugin '" .. name .. "' not installed. Please download and install it.")
ColourNote ("white", "red", "It is required for the correct operation of the " ..
GetPluginName () .. " plugin.")
ColourNote ("white", "red", string.rep ("-", 80))
return
end
end
if not GetPluginInfo(id, 17) then
ColourNote ("white", "green", "Plugin '" .. name .. "' not enabled. Attempting to enable it...")
EnablePlugin(id, true)
if GetPluginInfo(id, 17) then
ColourNote ("white", "green", "Success!")
else
ColourNote ("white", "red", string.rep ("-", 80))
ColourNote ("white", "red", "Plugin '" .. name .. "' not enabled. Please make sure it can be enabled.")
ColourNote ("white", "red", "It is required for the correct operation of the " ..
GetPluginName () .. " plugin.")
ColourNote ("white", "red", string.rep ("-", 80))
end
end
end -- do_plugin_check_now