edit: Oops. This seems to stop EVERY plugin... I believe the better solution is to define NO_PLUGINS as 1.
Deleting a Plugin, the Database Way
So now you are somehow or another locked out of the ACP. What do you do now if you can't access the plugins page? This is a very short tutorial for removing a plugin utilizing a database administration tool (AKA: phpmyadmin).
Step 1: Don't cry, scream, kick, or damage your keyboard or mouse. There is no need for this, and it will just cost you money if you break something
Step 2: Get access to phpMyAdmin or similar so that you can access the data inside the database.
Step 3: Enter the database that your forum uses, then open up the tableprefix_adminoptions table (where tableprefix_ is your table prefix).
Note to you people who think you are clever: This is not my full table prefix.
Step 4: Find the row where the title column says "plugins".
Step 5: Click edit to edit the row. Now you will have to search for a plugin, by its filename (at least, I believe it is by filename) before .php. For example, Secure MyBB Admin Key is smak before .php.
Step 6: When you find the name in the text, you will see two occurrences of it after a semicolon. Example: s:4:"smak";s:4:"smak"; .
Delete that text, but not the semicolon BEFORE the FIRST occurrence. In this example, s:4:"smak";s:4:"smak";.
Then, in this example, the text will look like:
Note that the previously mentioned code is gone.
Step 7: Save the row, and reload your ACP login page. It should work if you did it right.
Note: If a plugin has its own tables or adds columns, you should delete those if they don't have crucial data, as those tables will want to be re-added on reactivation if you reactivate that plugin.
So now you are somehow or another locked out of the ACP. What do you do now if you can't access the plugins page? This is a very short tutorial for removing a plugin utilizing a database administration tool (AKA: phpmyadmin).
Step 1: Don't cry, scream, kick, or damage your keyboard or mouse. There is no need for this, and it will just cost you money if you break something
Step 2: Get access to phpMyAdmin or similar so that you can access the data inside the database.
Step 3: Enter the database that your forum uses, then open up the tableprefix_adminoptions table (where tableprefix_ is your table prefix).
Note to you people who think you are clever: This is not my full table prefix.
Step 4: Find the row where the title column says "plugins".
Step 5: Click edit to edit the row. Now you will have to search for a plugin, by its filename (at least, I believe it is by filename) before .php. For example, Secure MyBB Admin Key is smak before .php.
Step 6: When you find the name in the text, you will see two occurrences of it after a semicolon. Example: s:4:"smak";s:4:"smak"; .
Delete that text, but not the semicolon BEFORE the FIRST occurrence. In this example, s:4:"smak";s:4:"smak";.
Then, in this example, the text will look like:
Note that the previously mentioned code is gone.
Step 7: Save the row, and reload your ACP login page. It should work if you did it right.
Note: If a plugin has its own tables or adds columns, you should delete those if they don't have crucial data, as those tables will want to be re-added on reactivation if you reactivate that plugin.
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)