View Full Version : mass delete 0 posters
Blue2000
02-28-2001, 11:06 PM
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
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
X-PhoeniX
04-04-2001, 05:15 AM
Originally posted by jojo85
Not a good idea,just delete the posters I was being sarcastic :)
jojo85
04-04-2001, 10:04 AM
Originally posted by X-PhoeniX
I was being sarcastic :)
:)
Blue2000
04-07-2001, 04:32 PM
works with beta 4
John Harrison
04-07-2001, 04:57 PM
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 :)
data007
07-28-2001, 06:34 PM
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!!!!!!
moonfish
07-28-2001, 09:27 PM
thanks... just what i was looking for :D
Blue2000
07-29-2001, 11:20 PM
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
data007
07-31-2001, 01:04 PM
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!
Katman
10-08-2002, 03:33 AM
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.