Results 1 to 10 of 12
-
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.
-
12th Mar 2011, 07:41 PM #3Respected 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
PHP Code:select * from user where icq != ''
PHP Code:delete from user where posts = 0
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 #4OPMember
that delted icq not people using icq
-
12th Mar 2011, 11:13 PM #5Member
Don't you have a prune option inside VB ACP?
-
12th Mar 2011, 11:14 PM #6Respected 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:15 PM #7Member
I meant for the inactive users.
-
12th Mar 2011, 11:29 PM #8Member
-
13th Mar 2011, 01:05 AM #9JGM
Sponsored Links
13th Mar 2011, 01:48 AM
#10

OP
Member
oh thanks.
themaLeecher - leech and manage...
Version 5.05 released. Open older version (or...