PDA

View Full Version : Very simple!


N9ne
09-02-2002, 01:22 AM
I want to make it so whenever a forum is pruned, or a topic is deleted, the counters on forumhome, ie. Members: 14141, Threads: 5252, Posts: 2525252 <<< the threads and posts counters here should NOT change.

I've done the hack so when a thread is deleted or a forum is pruned or etc. etc. post counts do NOT go down, however i want the same for the counters at the top of forumhome ;)

I know it's probably to do with either index.php or admin/functions.php or both ;)

g-force2k2
09-02-2002, 02:37 AM
just replace the variables in the index.php with the ones that you want counted (the ones you create the queries that select the max(postid) etc...) hope that helps man :)

g-force2k2

N9ne
09-02-2002, 03:15 AM
I'm sorry but that went in one ear and straight out of the other, I think i'll need a step by step find this replace this instructions lol :ermm:

Unknown553
09-02-2002, 04:02 AM
Not sure, but try looking through postings.php and finding something like $DB_site->query("DELETE FROM user WHERE post[posts].... or something, maybe comment that out so the post count isnt reduced/delete from the database.

Logician
09-02-2002, 07:38 AM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=38411" target="_blank">https://vborg.vbsupport.ru/showt...threadid=38411</a>

N9ne
09-02-2002, 09:42 AM
Logician to the recsueeeeeeeeeee thanks man :)