Helpful Information
 
 
Category: vBulletin.org Forum
mass delete 0 posters

Dont know about you but it does my head in going in and deleting all 0 posts..

I mean why let them be a member if there not going to post.

So i made this little hack to delte all the 0 posters from a board.

Watch it coz if used wrongy it may kill alot of users you delete want to.

basyly you use it like seaching for a user only where it would display the users this will delete them.

It's just what I needed.. tnx , great hack

Yes, its good :)

and it's for vb 2.x or 1.1.x??
anyway it's a NICE hack man :)
thanks!!

Originally posted by CGiFORCE
and it's for vb 2.x or 1.1.x??
anyway it's a NICE hack man :)
thanks!!

Well mate i made and tested this only on ver 2.0

Its not been tested on a lower ver

Thanks just what i need :)

ok...
thanks for the excellent hack man :)

Originally posted by Blue2000


Well mate i made and tested this only on ver 2.0

Its not been tested on a lower ver

ALSO TESTED ON THE NEW BETA 3 IT WORKS GREAT!

Originally posted by Blue2000
ALSO TESTED ON THE NEW BETA 3 IT WORKS GREAT! You don't have to SHOUT like that..

And would I need to change anything to run this beautiful hack on the Beta3 PHP3 version?

Ok, no replies needed anymore, fixed it already :)

Parse error: parse error in /usr/local/www/vhosts/htdocs/users/vbb/admin/user.php on line 1411

Originally posted by Charon
Parse error: parse error in /usr/local/www/vhosts/htdocs/users/vbb/admin/user.php on line 1411

Fixed

Good idea man!
The usezrs will be deleted after one month of inactivity

SO I CAN DELETE OTHER PEOPLE THREADS???

Originally posted by MR-BAD
SO I CAN DELETE OTHER PEOPLE THREADS???

huh?

Originally posted by jojo85


huh? I think he means delete the treads that the inactive users have started.

Bwehe.

Usefull.

Not :D

Originally posted by X-PhoeniX
I think he means delete the treads that the inactive users have started.

Bwehe.

Usefull.

Not :D

Not a good idea,just delete the posters

Originally posted by jojo85


Not a good idea,just delete the posters I was being sarcastic :)

Originally posted by X-PhoeniX
I was being sarcastic :)

:)

works with beta 4

Great hack it should save a lot of space. :)

Blue2000 thanks for this great hack,

i am wondering if someone canm add these 2 options to this hack:

(1) instead of deleting users, you may have the option to transfer them to another group (say inactive users)

(2) Delete users that have a number of IPs/day, for example if someone has 30 ips/day, the account is more liklely to be a bused, therfore it can delete the account.

Thanks again :)

I tried the hack and now I see the following when I try to enter my admin control panel:

Parse error: parse error in /web/sites/174/database007/www.myboard.com/private/phpboard/admin/index.php on line 323

I need this to get fixed cuz I don't wanna have to restart.

PLEASE help me!!!!

Is there a way to fix it???
I tried to reupload admin/index.php and admin/usercp.php


HHHEEEELLLLLUUUUPPPPP!!!!!!

thanks... just what i was looking for :D

Originally posted by data007
I tried the hack and now I see the following when I try to enter my admin control panel:

Parse error: parse error in /web/sites/174/database007/www.myboard.com/private/phpboard/admin/index.php on line 323

I need this to get fixed cuz I don't wanna have to restart.

PLEASE help me!!!!

Is there a way to fix it???
I tried to reupload admin/index.php and admin/usercp.php


HHHEEEELLLLLUUUUPPPPP!!!!!!


open up your index file and where you have put in

an where you have put this

|
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Find </a> |
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=massdelete"> Mass Delete </a><br>

REMOVE all the | from the start of the 3 lines they where not meant to be there

Thnx for helping out Blue2000.

It wasn't really that...
But my index.php was missing some text on the bottom of the file.

But thnx!

Here is an update for vB 2.2.8

In admin/index.php find:

makenavoption("Add","user.php?action=add","|");
makenavoption("Find","user.php?action=modify","|");


Add this right below it:

makenavoption("Mass Delete","user.php?action=massdelete","|");


This code doesn't exsit in admin/index.php of version 2.2.8

| Now open /admin/index.php, find ...
|
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Find </a><br>
|
| Replace that with ...
|
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Find </a> |
| <a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=massdelete"> Mass Delete </a><br>


Which is why you have to use the code at the top.










privacy (GDPR)