vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Disable Post Count Decrease (https://vborg.vbsupport.ru/showthread.php?t=106620)

KOKS@LN 01-28-2006 10:00 PM

Disable Post Count Decrease
 
Description: Users' post counts will not decrease when you delete posts or threads.
Credits: Andreas for vB 3.0 Ver.
File Modifications: 1

------------------------------------------------------------
In includes/functions_databuild.php

FIND:
PHP Code:

function delete_post($postid$countposts true$threadid 0$physicaldel true$delinfo NULL$dolog true)


ADD BELOW:
PHP Code:

$countposts false

FIND:
PHP Code:

function delete_thread($threadid$countposts true$physicaldel true$delinfo NULL$dolog true$threadinfo NULL)


ADD BELOW:
PHP Code:

$countposts false


IrPr 01-29-2006 01:37 PM

AWESOME ! ur 1st work ?
chaX! will try on my test board ASAP

IrPr 01-29-2006 01:55 PM

ok installed and works fine;)
is it possible to do this for Total Forum Posts / Threads ?

KOKS@LN 01-29-2006 01:56 PM

Quote:

Originally Posted by Moosa
AWESOME ! ur 1st work ?
chaX! will try on my test board ASAP

LoL, I'm not a coder and this mustn't be considered as a work. Andrea's code helped me a lot. Thanks Andreas ;)

IrPr 01-29-2006 01:59 PM

Quote:

Originally Posted by KOKS@LN
LoL, I'm not a coder and this mustn't be considered as a work. Andrea's code helped me a lot. Thanks Andreas ;)

Special Thanks to Andreas and You too ;)

J82980BA3E43 01-29-2006 04:02 PM

Quote:

Originally Posted by Moosa
ok installed and works fine;)
is it possible to do this for Total Forum Posts / Threads ?

installed and works fine
But is this also possible https://vborg.vbsupport.ru/external/2010/10/3.gif
thanks

Hornstar 01-31-2006 08:15 AM

Correct me if im wrong, but you would just add "$countposts = false;" under each $threadid = *....}

ToMMyHR 02-16-2006 09:35 PM

Thanks KOKS@LN & Andreas! :)

OndaReal 02-17-2006 12:57 AM

excellent, i have alot of members that moan about post counts being decresed :O

RaZor Edge 04-13-2006 01:26 PM

I was searching for that!

Thank you very much KOKS@LN!

Smiry Kin's 04-18-2006 02:55 AM

dude could you make a hack that could seperate threads from posts..?

e.g they are counted seperately

maharajah 04-19-2006 10:02 PM

Does this also stop the reduction in posts when threads are pruned from the Admincp ?

maharajah 04-28-2006 10:36 AM

is anything hapenning here ?

No support ?

.

Stifmeister2 10-29-2006 03:43 PM

Thanks. :)

Edmund Tan 12-24-2006 04:23 PM

How do I get to edit the functions_databuild.php?

Stifmeister2 01-14-2007 04:02 PM

How can I make this work for 3.6 ???

arena 01-24-2007 02:59 PM

Quote:

Originally Posted by Stifmeister2 (Post 1158987)
How can I make this work for 3.6 ???

yes

arena 01-24-2007 03:11 PM

for members Users post members counts not decrease?

Stifmeister2 02-17-2007 01:57 PM

Any news on the working version for 3.6.4 ?

Pamela 03-14-2007 05:27 PM

*Clicks install*

Thank you!!!! I definitely needed to know how to do this!!! :D



For anyone having trouble with this, try putting the edits AFTER this symbol:

{


Putting it before that symbol, didn't work for me. :)

Pamela 02-29-2008 04:36 AM

Can anyone code this to work in 3.7.0? I really need this mod!

Thank you!!! :)

yingzhou 02-20-2009 01:16 PM

I need this too for vb 3.8.x! Could this work for 3.8?

yingzhou 02-21-2009 12:10 AM

work fine with vb 3.8.0, no error found yet.

SweetAngel 09-09-2010 06:49 AM

This is awesome and exactly what I have been looking for!

And it works in the 4 versions too

SweetAngel 01-09-2011 03:31 AM

:(

Unfortunately, this doesn't work with the new version.

Does anyone have any ideas to stop the post counts decreasing when deleting posts?


All times are GMT. The time now is 12:41 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.01728 seconds
  • Memory Usage 1,760KB
  • 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
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete