Log in

View Full Version : Help!!!!!


Lovaboye
09-12-2002, 09:18 PM
DELETE FROM 'user' WHERE 'posts' = '0'

is this correct?

i want to delete all users with 0-posts, what is the correct query to run in phpmyadmin thx?

Neo
09-12-2002, 09:26 PM
DELETE FROM user WHERE posts=0

this would work.. and next time please only post one thread.

Lovaboye
09-12-2002, 09:31 PM
real sorry bro, but thx 4 the help

2 X Viverridae
09-12-2002, 10:03 PM
https://vborg.vbsupport.ru/showthread.php?s=&threadid=43477

https://vborg.vbsupport.ru/showthread.php?s=&threadid=43478

Holy triple cross-posting Batman!

@ Lovaboye - there are few things as annoying as finding several threads with identical content in 'em.

[D]Vincent
09-13-2002, 12:51 AM
One of the things as annoying is people pointing it out after the person apologized.

Logician
09-13-2002, 08:18 AM
Originally posted by Lovaboye
i want to delete all users with 0-posts, what is the correct query to run in phpmyadmin thx?
I dont recommend deleting users like this. Your will be able to delete their records from user table but there can be many other traces of this user in other tables in your database. Examples: His private messages, his subscribed threads, his personal calender events.. etc. By deleting the user with this query you'll leave orphaned records of this user in your database and it would be more than hard to pin point and remove them later. Your best bet is to delete them inside Admin CP or write a script which will also delete other traces of these users from your database..My 2 cents..

[D]Vincent
09-13-2002, 06:41 PM
Vincent]I believe there's a hack for this anyways.

Found the hack...
http://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=514

g-force2k2
09-13-2002, 07:54 PM
i have to agree with Logician... deleting users by just userid leaves more then enough information still left in the database... theres about like five (or more different tables) based upon the userid so basically you're just leaving excess storage in there when a simple delete user will do the trick ;) regards...

g-force2k2