Log in

View Full Version : I saw this somewhere, now I can't find it...


Radon3k
12-15-2001, 12:40 PM
I saw the hack that when you prune or delete posts, it doesn't affect the user's post count....Where did I see this? :)

Radon3k
12-15-2001, 05:44 PM
Anybody know? :)

Radon3k
12-16-2001, 04:00 AM
*Bump* :)

Konqueror
12-16-2001, 07:51 AM
Easy:
In /admin/functions.php change
function deletethread($threadid,$countposts=1)
to
function deletethread($threadid,$countposts=0)
and
function deletepost($postid,$countposts=1,$threadid=0)
to
function deletepost($postid,$countposts=0,$threadid=0)

:)

Radon3k
12-16-2001, 04:16 PM
Hey thanks man :)

Radon3k
12-16-2001, 04:37 PM
Well when I took alook at the source code, what you put is exactly what's already there...Except the last "$countposts=1 to $countposts=0 " part at the end of your post. I'm not exactly sure what to do, so could you please explain more? Also, I know there was an actual hack about this...But I can't find it...

Konqueror
12-16-2001, 04:49 PM
Look at my updated post please. :)

Radon3k
12-16-2001, 05:50 PM
haha, great, thx! :)