vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - prevent reduction of postcounter (https://vborg.vbsupport.ru/showthread.php?t=121871)

MrZeropage 07-22-2006 10:00 PM

prevent reduction of postcounter
 
This is a small, neat modification which let you delete old threads and posts without making your users cry that their postcounter decreases with that action.

While using this modification your user's postcounter will reflect their over-all-activity, not just "how many posts are currently in the database".

You don't need any hidden trashcan-forum for old threads anymore, just to make sure nothing gets deleted ;)


This modification is designed for vBulletin 3.6.0
If you are still using 3.5.x use the other attached product-XML


Installation is quite simple, just import the product and enjoy :)

Yorixz 07-23-2006 08:19 AM

Thanks a lot, I'm also looking for such a mod that will (only) affect the postcount stats on the forumhome, any chance you will write one like that as well? ;)

Snake 07-23-2006 11:45 AM

Thanks, Zero, and well done! ;)

hotwheels 07-23-2006 12:58 PM

I got an error when uploading it to 3.5

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb3plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '99', 'do not reduce postcounter on post-deletion', 'postdata_delete', '$countposts=false;', 'postcounter');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Sunday, July 23rd 2006 @ 09:56:32 AM
Script : http://www.insanemustangs.com/forums/admincp/plugin.php
Referrer : http://www.insanemustangs.com/forums...?do=productadd
IP Address : *********
Username : ********
Classname : ********

MrZeropage 07-23-2006 01:37 PM

Ok, I uploaded another XML that is compatible to 3.5 :)

hotwheels 07-23-2006 01:54 PM

That worked mrZeropage, thank you very much

MGM 07-23-2006 09:32 PM

How will the post count be affected if we run "Update Post Counts" in the Update Counters?

MGM out

MrZeropage 07-24-2006 05:11 AM

Of course the "Update Post Counts" will work as usual, thus reducing the counter... Why would you run that tool with this mod installed ?

utw-Mephisto 07-24-2006 08:36 AM

Quote:

Originally Posted by MrZeropage
Of course the "Update Post Counts" will work as usual, thus reducing the counter... Why would you run that tool with this mod installed ?

He could install the "Fake Community statistics" to bring them up again .. Like in real life .. the typicall smoke / drink mathematics ..

You don't know what I mean ? Simple .. Your bloodpreasure goes up with drinking and down from smoking .. so guess what :D :D


j/k - thanks for that Zero ..

nasser71 07-24-2006 03:10 PM

i will use the 3.5 ver of the hack
wat will hapen whin i upgrade to 3.6
do the post count hold or it will reduce


All times are GMT. The time now is 06:43 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.00994 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)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