How does zblog delete the module created by the plug-in in module management

Li Yang's Blog 2021-06-09 1.44 W Reading 0 Comments

Tips: This article has exceeded one thousand and ninety-six No update in days, please note whether relevant content is still available!

Recently, the latest version of zbp has been upgraded, and its functions have been greatly improved, but I found a problem, which was created by my previous theme module plug-in unit , change the module ID, and then find the original module content in the module management, but the deletion function on the right is no longer available, that is to say, the invalid module cannot be deleted. I remember that before version 1.7, it can be deleted directly, but now it is no longer available. This has led some netizens to drag the wrong module to the right, resulting in the inability to call the article data, I don't know, but I think the topic has bugs.

 How does zblog delete the module created by the plug-in in module management Page 1

After consulting the leaders in the group, the simplest and rudest way is to enter the database deletion module. I checked it out. It's too exciting, too violent, and tested it. The result is not very difficult. I attach a simple Graphic text tutorial , remember to backup before deleting, remember to backup, remember to backup!!!

First log in to the website background, theme management, and switch to the default theme. Remember that it must be a theme without its own plug-in. If you don't know, use the official default theme. Then click module management, and find the "module created by the plug-in". At this time, there may be one or several ineffective but existing modules, as shown in the figure: click the right side to edit:

 How does zblog delete the module created by the plug-in in module management Page 2

Click Edit to enter the editing mode. Remember the file name as shown in the figure. This name is customized and may be different from the image. Just remember it, and then open the website database.

 How does zblog delete the module created by the plug-in in module management Page 3

Don't ask how to enter. You don't know your host environment. The test site uses a pagoda, so click the "Database" menu on the left to find the database used by the site, and manage it on the right,

 How does zblog delete the module created by the plug-in in module management Page 4

Enter the database, find "zbp_module" and click the title to enter the module data table, as shown in the figure:

 How does zblog delete the module created by the plug-in in module management page 5

After entering the module data table, find the file name of the module, as shown in the figure:

 How does zblog delete the module created by the plug-in in module management Page 6

Directly click the delete button, and a prompt box will pop up. Click OK. After the deletion is completed, return to the website background. At this time, the module management has disappeared, as shown in the figure below:

 How does zblog delete the module created by the plug-in in module management Page 7

After deletion, the invalid module will disappear. Finally, switch back to the theme. It is my fault that the theme self built module cannot be deleted. I did not consider the problem that it cannot be deleted, because the newly added module module may lead to inaccurate module ID settings, so I simply reset it. But the system already exists, and the theme cannot be controlled. So,,, sorry, Please forgive me. Let's not do it again. Please delete it manually course Still not. If you have no obsessive-compulsive disorder, you can ignore it or contact me directly. I will delete it for you. Let's just leave it for Aunt Sauce~~~

Article copyright notice: unless otherwise noted Lao Li's Notes For original articles, reprints or copies, please use hyperlinks and indicate the source.

Comment

Quick reply: expression:
 Addoil Applause Badlaugh Bomb Coffee Fabulous Facepalm Feces Frown Heyha Insidious KeepFighting NoProb PigHead Shocked Sinistersmile Slap Social Sweat Tolaugh Watermelon Witty Wow Yeah Yellowdog
 Verification Code
Comment List (No comment yet, fourteen thousand three hundred and fifty-nine People around)

No comment yet, let me say something

 cancel
 WeChat QR code
 WeChat QR code
 Alipay QR code