PDA

View Full Version : mass delete 0 posters


Blue2000
01 Mar 2001, 00:06
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.

01 Mar 2001, 11:09
It's just what I needed.. tnx , great hack

01 Mar 2001, 11:20
Yes, its good :)

01 Mar 2001, 12:04
and it's for vb 2.x or 1.1.x??
anyway it's a NICE hack man :)
thanks!!

02 Mar 2001, 13:23
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

02 Mar 2001, 18:29
Thanks just what i need :)

02 Mar 2001, 18:33
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

12 Mar 2001, 15:42
ALSO TESTED ON THE NEW BETA 3 IT WORKS GREAT!

14 Mar 2001, 10:11
Originally posted by Blue2000
ALSO TESTED ON THE NEW BETA 3 IT WORKS GREAT! You don't have to SHOUT like that..

25 Mar 2001, 11:54
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 :)

01 Apr 2001, 10:56
Parse error: parse error in /usr/local/www/vhosts/htdocs/users/vbb/admin/user.php on line 1411

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

Fixed

01 Apr 2001, 16:53
Good idea man!
The usezrs will be deleted after one month of inactivity

01 Apr 2001, 19:57
SO I CAN DELETE OTHER PEOPLE THREADS???

02 Apr 2001, 09:04
Originally posted by MR-BAD
SO I CAN DELETE OTHER PEOPLE THREADS???

huh?

02 Apr 2001, 11:43
Originally posted by jojo85


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

Bwehe.

Usefull.

Not :D

02 Apr 2001, 16:48
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 Apr 2001, 06:15
Originally posted by jojo85


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

jojo85
04 Apr 2001, 11:04
Originally posted by X-PhoeniX
I was being sarcastic :)

:)

Blue2000
07 Apr 2001, 17:32
works with beta 4

John Harrison
07 Apr 2001, 17:57
Great hack it should save a lot of space. :)

Ruth
20 Jul 2001, 16:41
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
28 Jul 2001, 19:34
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
28 Jul 2001, 22:27
thanks... just what i was looking for :D

Blue2000
30 Jul 2001, 00:20
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
31 Jul 2001, 14:04
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
08 Oct 2002, 04:33
Here is an update for vB 2.2.8

In admin/index.php find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add this right below it:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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