The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
how ?
make a hack for me ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
<?php
require("global.php"); $DB_site->query("DELETE from user where POSTS = 0"); echo ("Worthless 0 Postin' users NUKED"); ?> // Paste this to a file, such as delete.php // Upload it to your server in your vB directory and // open it in your browser. |
|
#3
|
|||
|
|||
|
thank you
![]() it worked |
|
#4
|
|||
|
|||
|
Quote:
![]() ~Chris |
|
#5
|
|||
|
|||
|
Can you add a parameter so that I can delete users with 0 posts that joined more than, say, two months ago?
|
|
#6
|
|||
|
|||
|
Quote:
Code:
<?php
require("global.php");
$DB_site->query("DELETE from user WHERE POSTS = 0 AND joindate<UNIX_TIMESTAMP('2000-02-01')");
echo ("Worthless 0 Postin' users NUKED");
?>
BACKUP ALL DATA BEFORE EVER ATTEMPTING TO MANUALLY DELETE FROM YOUR DATABASE!!!!!!!!!! ~Chris |
|
#7
|
|||
|
|||
|
Thank you. I'll give it a try.
|
![]() |
|
|