ez |
|
---|---|
How can I remove all banned members in 1 click... Genoa
thnx, ez ==- I say: Keep it EZ -==
|
tensh |
|
---|---|
I would say: go to phpmyadmin and execute a single sql query... There's no such way unless it's a self-made plugin. |
ez |
|
---|---|
There might be linked data in other tables ??????? Sure i can go to phpMyAdmin and do that.... There is more stuff... avatar, photo... etc... (So it isnt THAT simple) ==- I say: Keep it EZ -==
|
|
This post was edited by ez (2011-12-01 21:35, 13 years ago) |
tensh |
|
---|---|
I see what you mean :) Then the plugin would be okay. There was the usermanager plugin somewhere available, it had a couple of bugs but it would be a good base to start. |
pieter |
|
---|---|
If you delete banned users, the users can make the same user and same IP. Better is not to display that user anymore in the lists, except when you are an admin. ... can we help you ...
|
Trustmaster |
|
||||
---|---|---|---|---|---|
Here is the code from system/core/users/users.edit.inc.php:
What you need to change in your plugin is the main select query. Something like this:
And of course changed if to while and remove sed_log/header/exit lines from the loop. May the Source be with you!
|
Kaan |
|
---|---|
Mass Delete User: DELETE FROM sed_users WHERE `user_maingrp`='3'; |