![]() |
deleting posts/threads doesnt reduce post counts
this was avaiable for vb2 just wondering if any one has made for vb3. basically i dont want user OR forum post counts to reduce when deleting a thread/post
|
In functions_databuild FIND
PHP Code:
PHP Code:
In functions_databuild FIND PHP Code:
PHP Code:
|
this tested ? cheers my friend
|
No. That's why I said it should work ;)
|
Quote:
|
Wouldn't it just be easier to have a 'Storage Bin' type forum and move threads to that? Obviously this would not be visible for users.
Although the post count on the specific forum would decrease, the overall post count would stay the same, and, if needs be, you could refer to these posts. |
Warning!
If I make the above changes, I get this error when I try to edit a post: Parse error: parse error in /home/xxxx/public_html/forums/includes/functions_databuild.php on line 332 Fatal error: Call to undefined function: delete_post_index() in /home/xxxx/public_html/forums/editpost.php on line 406 Proceed with caution! (I am removing the changes....) |
Hopefully there is a fix for this one :)
|
Quote:
|
Worked for me and a bump for those who might be interested in this.
|
Using 3.03 and this does not work for me :(
Post counts are still decremented after pruning. I WAS using a 'recycle bin' to move threads to, but space is a SERIOUS problem with my host and I HAVE to delete posts, but screwing over the users post counts periodically does not go down well :( Can ANYONE suggest a hack to prevent this? -snake |
I just tested this with 3.0.6 and it does work just fine.
Nevertheless, you should get another host ;) @Catch22|Bl Adding those 2 lines can't cause the error you got, you must have done smth. wrong. |
But I didn't get an error? (I assume your reply is directed at me?)
Only thing I did was add those lines, then I logged in as a test user, noted my post-count. Deleted a few posts, updated the post counts via admin panel and checked again. The test users post count had been reduced. No error messages or problems otherwise. As for another host... aside from the space issues I am very happy with what I am getting for the price I am paying. :) I shouldn't have to change hosts to acommodate a missing feature. -snake |
Quote:
Those two lines I posted you prevent the post counter from decreasing if you delete a post or thread. |
If it is of interesse of annyone this "mod" works in 3.6.x. But with a little difference, instead of $countposts = 0; there should be $countposts = false;. Hoppe i could be usefull to someone. Bye.
|
I found that very useful. :)
Thank you pedroenf for the update! -snake |
Quote:
|
Just follow de install instructions. It has to work.
|
Sometimes it works sometime it doesn't. It depens on how you delete the files, so I don't think it's a 100% solution for me.
Come on your coders...... crack that functions_databuild.php, please. TiA |
All times are GMT. The time now is 09:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|