Dedecms method to delete messages: 1. Open the dedecms background or PHPMYADMIN; 2. Delete the specified ip by executing the "DELETE FROM `dede_feedback` WHERE `dede_feedback`.`ip` = '000.000.000.000'" command Just leave a message.
The operating environment of this tutorial: Windows7 system, DedeCMS 5.7, DELL G3 computer
How to delete messages in dedecms?
DEDECMS How to delete comments from a specified IP
Many people on the website will enable the guestbook function of DreamWeaver, so there will be comments when commenting There are many messages from members and visitors, and sometimes many friends come to post advertisements, so it will be very difficult to review the comments. Often there will be many spam advertisements for one IP, so you need to specify the ones you want to delete. IP to delete, which is fast and convenient.
Method to delete comments with specified IP:
Run the following SQL statement in the background or PHPMYADMIN
DELETE FROM `dede_feedback` WHERE `dede_feedback`.`ip` = '000.000.000.000'
000.000.000.000 is the IP of the spam comment publisher.
Related introduction:
Dreamweaver content management system (DedeCms) is famous for its simplicity, practicality, and open source. It is the most well-known PHP open source website management system in China and the PHP category with the most users. After years of development, the CMS system has made great progress in terms of functionality and ease of use. The main target users of the free version of DedeCms are targeted at personal webmasters, and its functions are more focused on personal websites or websites. For the construction of small and medium-sized portals, of course, there are also enterprise users and schools using this system.
In August 2004, Lin Xue wrote DedeCMS, which is still used by hundreds of thousands of corporate and individual webmasters.
Recommended learning: dedecms tutorial
The above is the detailed content of How to delete messages in dedecms. For more information, please follow other related articles on the PHP Chinese website!