Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Feb 2004, 12:13
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Real name: wayne
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
Reply With Quote
  #2  
Old 27 Feb 2004, 13:28
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
In functions_databuild FIND

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

BELOW that ADD

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


In functions_databuild FIND

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

BELOW that ADD

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then the post count should not change when you delete a post/thread.
Reply With Quote
  #3  
Old 27 Feb 2004, 14:01
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Real name: wayne
this tested ? cheers my friend
Reply With Quote
  #4  
Old 27 Feb 2004, 14:12
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
No. That's why I said it should work
Reply With Quote
  #5  
Old 09 Apr 2004, 17:35
The General's Avatar
The General The General is offline
 
Join Date: Aug 2002
Real name: Sjoerd
Originally Posted by KirbyDE
No. That's why I said it should work
Cool thanks! Works fine on vB 3 gold.
__________________
- sometimes a sig is just a sig -
Reply With Quote
  #6  
Old 09 Apr 2004, 17:43
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
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.
Reply With Quote
  #7  
Old 15 Apr 2004, 12:54
Catch-22|BL Catch-22|BL is offline
 
Join Date: Aug 2003
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....)
__________________
Reply With Quote
  #8  
Old 28 Apr 2004, 21:45
Hazzo Hazzo is offline
 
Join Date: Feb 2004
Hopefully there is a fix for this one
Reply With Quote
  #9  
Old 29 Apr 2004, 05:58
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Originally Posted by Envy-UK
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.
Exactly. No use hacking and making upgrades more difficult.
__________________
MODern ENGINEuity
Modular Ford Powered Community

Automotive Books, Movies, Games and More!
Reply With Quote
  #10  
Old 30 May 2004, 17:33
Sonic625 Sonic625 is offline
 
Join Date: Jun 2002
Worked for me and a bump for those who might be interested in this.
Reply With Quote
  #11  
Old 05 Feb 2005, 13:34
snake-boy snake-boy is offline
 
Join Date: Jul 2004
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
Reply With Quote
  #12  
Old 05 Feb 2005, 21:15
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
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.
Reply With Quote
  #13  
Old 06 Feb 2005, 04:12
snake-boy snake-boy is offline
 
Join Date: Jul 2004
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
Reply With Quote
  #14  
Old 06 Feb 2005, 05:38
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Originally Posted by snake-boy
updated the post counts via admin panel and checked again.
Well, if you update the post counters form ACP this is obvious as the functions does update the post counters with the real number of posts found in the database.

Those two lines I posted you prevent the post counter from decreasing if you delete a post or thread.
Reply With Quote
  #15  
Old 15 Oct 2006, 11:52
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Real name: Pedro
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.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Counters and post counts do not reduce! - Now with addon for member count![v1.1] N9ne vBulletin 2.x Full Releases 33 11 Jun 2006 08:53



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:06.

Layout Options | Width: Wide Color: