Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
971 views
in Plugins by
closed by
I've followed the description here http://docs.question2answer.org/plugins/ to add a valid json file. It says that now I should be able to disable the plugin from the admin page. But the checkbox is still disabled.
Am I missing something?
Q2A version: 1.8.0
closed with the note: Solved by comment http://www.question2answer.org/qa/63152/disable-plugin-checkbox-not-enabled?show=63261#c63261
by
1. What's the complete content of the metadata.json file and where is it located?
2. What plugin are you talking about?
by
Cannot add an attachment so here is the content of the json file:

{
    "name": "Mattermost Notifications",
    "description": "Sends Mattermost notifications of various events.",
    "version": "0.4",
    "date": "2016-11-27",
    "author": "Andreas Scharf",
    "author_uri": "https://github.com/Schoaf",
    "license": "MIT",
    "min_q2a": "1.5",
    "load_order": "after_db_init",
    "uri": "https://github.com/Schoaf/qa-mattermost-notifications/",
    "update_uri": "https://raw.githubusercontent.com/Schoaf/qa-mattermost-notifications/master/qa-plugin.php" // should maybe be changed to the json file
}
by
I guess Andreas will be very happy to learn that JSON does not allow comments, hence, the JSON is invalid
by
You are right, I am. ;-)
I thought it's just PHP that will eventually get parsed into JSON. My bad. Thanks for your help. If your comment would be an answer I would have selected it.

1 Answer

0 votes
by

May be this solution for plugin.

http://question2answer.org/qa/57229/v1-8-github-latest-how-to-enable-by-default-plugin?show=57271#a57271

Do u see checkbox like this? by default enabled?

by
Yes I see a checked checkbox that is disabled (cannot change satus).
My metadata.json includes the "load_order": "after_db_init" .
Still I cannot uncheck the checkbox.
...