search
HomeCMS TutorialDEDECMSHow to delete members in dedecms

How to delete members in dedecms

Feb 17, 2023 am 10:40 AM
Member managementdedecms

Dedecms method to delete members: 1. Back up the database; 2. Open the dede backend system, and then use the SQL statement "delete from dede_member where not mid="1"" to delete registered members in batches.

How to delete members in dedecms

The operating environment of this tutorial: Windows 10 system, DedeCMS version 5.10, Dell G3 computer.

dedecmsHow to delete members?

dedecms method of deleting junk members

The specific implementation method is as follows:

Some webmasters must have a headache about members, and some people are idle and bored on the website A lot of members have been registered on the website and a lot of spam information has been posted.

My website is often registered by some registration software and a large number of illegal users. I solved the problem by using dedecms to batch delete members' SQL statements. Now I have a solution here, so I won’t say any more nonsense and go straight to the topic.

1. The database must be backed up before operation.

As shown in the figure below:

How to delete members in dedecms

2. This method is only applicable to the administrator's website.

dedecms uses SQL to batch delete registered members. Member registration information is mainly in the dede_member table. System/SQL command line tool, query how many members there are in the table select * from dede_member

3. Query results: Run the

code as follows:

SQL:select * from dede_member

There are 598 records in total, and the maximum return is 100.

Delete method:

Open dede background system---->sql command line tool

The code is as follows:

delete from dede_member where not mid="1"

(mid: 1 is myself, so I won’t delete it) as Picture:

How to delete members in dedecms

One SQL statement was successfully executed. Look again, there are no more registered users. This is the end.

《Recommended Learning: dedecms Tutorial

The above is the detailed content of How to delete members in dedecms. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.