Results 1 to 10 of 12
Hybrid View
-
12th Mar 2011, 05:33 PM #1OPMember
Delete users that are using ICQ
is there a command in sql i can use that dose that?
ViPeRR Reviewed by ViPeRR on . Delete users that are using ICQ is there a command in sql i can use that dose that? Rating: 5
-
12th Mar 2011, 05:34 PM #2OPMember
also delete users that have 0 post count.
-
13th Mar 2011, 01:05 AM #3JGM
Sponsored Links
12th Mar 2011, 07:41 PM
#4

Respected Member

ok try these 2 queries. If you have a prefix it will have to be added to the front of user.
PHP Code:
select * from user where posts = 0
If that gives you the results you want then you can use these queries to delete them.PHP Code:
select * from user where icq != ''
PHP Code:
delete from user where posts = 0
Remember to always backup your user table before performing any sql commands.PHP Code:
delete from user where icq != ''
Also doing it this way the posts and topics for those with an icq being deleted will look funny.
12th Mar 2011, 10:41 PM
#5

OP
Member
that delted icq not people using icq
12th Mar 2011, 11:13 PM
#6

Member
Don't you have a prune option inside VB ACP?
12th Mar 2011, 11:14 PM
#7

Respected Member

No that command says delete from user which means any user that has an ICQ address in that field will get deleted. Not the icq field.
Did you run the select first like I said to see what results would happen?
12th Mar 2011, 11:29 PM
#8

Member
13th Mar 2011, 05:27 AM
#9
12th Mar 2011, 11:15 PM
#10

Member
I meant for the inactive users.
themaLeecher - leech and manage...
Version 5.05 released. Open older version (or...