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 02:26 PM

I was searching for that!

Thank you very much KOKS@LN!


All times are GMT. The time now is 05:39 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.01081 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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