vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Post counts wont decrease on deleted threads (https://vborg.vbsupport.ru/showthread.php?t=61774)

telc 03-23-2005 11:45 AM

Pruning posts does reduce post count.

In includes/functions_databuild.php

Within "function delete_thread("

If I remove this query will it stop users post counts from getting decremented when I prune threads. Can you see this causing any other issues.

PHP Code:

$DB_site->query("
    UPDATE " 
TABLE_PREFIX "user
    SET posts = posts -
        CASE
            
$casesql
            ELSE 0
        END
    WHERE userid IN (0
$alluserids)
"
); 


snake-boy 04-17-2005 01:09 PM

I really don't understand why so many people request this hack, and each time we have first justify why we would need such a thing.? There are so many absurd hacks out there, I really don't understand the fuss about this one in particular.

In my case, my host only allows 100meg of space, and with a db sitting at just over 80meg, it's a constant battle to prevent going over quota (and thus having to pay more). Currenly just moving posts to a 'hidden' forum to avoid the post count decrement, but this is wasting space.

Allowing users to delete their own posts once the information is no longer relevant would help a LOT, but users are not going to want to decrease their post counts (obviously).

They have already contributed to the board by commiting the "act of posting" and therefore they deserve the post count. Whether or not the post exists after they've posted it is irellevant.

I should mention that this is not a public board, so there's not the usual issues about post spamming, but I could REALLY use a hack that would prevent post counts decreasing. Ever.

-snake

Zachery 04-17-2005 03:29 PM

You'd be better off finding a more competant host than some ++++ty onne that only allows you 100MB for DB size, sounds like you're with 1&1

snake-boy 04-17-2005 04:47 PM

I still think a simple hack would do the job.

I am contractually bound to my hosts for some time still, and plan on moving once this period expires, however this does not solve my problem in the interum.

I guess I just find it strange that some people are happy to acommodate complex and numerous 'useless' hacks for their VB, but when someone needs something actually functional and for a specific reason, nobody seems prepared to assist.

Don't get me wrong, I'm not ungrateful for the TONS of help and assistance (and great hacks) I have found here. I do not "expect" that every request for every hack needs to be attended to. This is of course a favour granted to us by those with the skills to do so. This mentality just does not seem to be consistent to me. And since I've seen this hack requested in several places on this board alone (nevermind the several requests at vbulletin.com) I know I am not the only one who would find a use for this.

If people have issues with spammers and feel there is some kind of 'moral' issue involved with a hack a like this because it involves post counts, they should bear in mind that not everybody's circumstances are the same. And it is actually physically possible that there may a legitimate need for something like this.

(It's also been an admin-selectable option in all the other board software I have used, which also seems to indicate to me that others have acknowledged that there can indeed be a use for such a feature.)

As much as I LOVE vb, I believe this is the single biggest omission in it's vast feature set.

Thanks for listening to me whine. :)

-snake

Bro_Joey_Gowdy 08-14-2005 08:34 PM

Any updates on this ?

ashley53680 09-23-2005 09:54 PM

I could use this too!

I've read that I can just prune the threads that I want removed and it won't affect the post count until I update the counters. Well... at some point in time I am sure I'll have to update the counters then I'll be SOOL.

My main reason for wanting this is because my members would get on me if their post counts went down. (they worked hard for them ya know! :lol: ) Especially because I have several members with over 10,000 posts, they like seeing their high numbers.

If anyone comes up with anything I would be ever so grateful if you could pass it on.

THANK YOU!

Ashley


All times are GMT. The time now is 07:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01169 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete