Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Counters and post counts do not reduce! - Now with addon for member count![v1.1] Details »»
Counters and post counts do not reduce! - Now with addon for member count![v1.1]
Version: 1.00, by N9ne N9ne is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-28-2002 Last Update: Never Installs: 37
 
No support by the author.

HACK UPDATE!

If you had this hack installed previously, (before the 24th of November, 2002), UNINSTALL it, by looking at this attachment: https://vborg.vbsupport.ru/attachmen...&postid=315867

After you've uninstalled it, look at this attachment and apply the changes relevant: https://vborg.vbsupport.ru/attachmen...&postid=325308



If you are installing this for the first time, CLICK HERE!


Enjoy.

Update: 1st December 2002:

I have created an addon for this hack which means that when a member is deleted, the counter on forumhome will not decrease.

https://vborg.vbsupport.ru/attachmen...&postid=326823

That is the attachment, only one modification to index.php required...it is in beta stages, if you find any bugs, please reply to this thread, however I don't think there will be any as I have tested it and it seemed to work.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-30-2002, 12:32 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's in the .txt file works for me though
Reply With Quote
  #13  
Old 11-10-2002, 04:26 PM
Dynamic One's Avatar
Dynamic One Dynamic One is offline
 
Join Date: Nov 2001
Location: Somewhere on the net
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this hack m8. Now I can delete the old post I don't need anymore .
Reply With Quote
  #14  
Old 11-24-2002, 05:34 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I've noticed a bug in this hack which means it does not work.

I have a fix for it, it requires modifying index.php and member.php (you only need to modify member.php if you have the "percentage of total posts" hack installed, and do not worry, even if you have pruned and the counters have reduced on forumhome, they will shoot back up

I don't have enough time to post the fix right now, but I'll post it in 30-60 mins.
Reply With Quote
  #15  
Old 11-24-2002, 06:16 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font size="4">Hack update! v1.1 released!</font>

If you had already installed this hack, go to the attachment in the first post, and undo the changes. Then look at the v1.1 attachment below, and apply the changes.
Reply With Quote
  #16  
Old 11-24-2002, 06:40 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice

Satan
Reply With Quote
  #17  
Old 11-29-2002, 12:11 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didn't work in 2.2.9.. dunno..
Reply With Quote
  #18  
Old 11-29-2002, 05:41 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it SHOULD work in 2.2.9...as I don't think they changed the code pertaining to what I'm editing?

Could you be more specific as to why it didn't work? Give me details.
Reply With Quote
  #19  
Old 11-30-2002, 06:15 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, Well... I upgraded from phpBB to vB.. I currently have 43,046 posts and 3,860 threads. But the forum software is showing 150,766 posts and 13,628 threads....???

At any rate, I've had to add post counts to quite a few users who who earned them on the previous board or the board prior to phpBB (the board has been through hell, UBB to Hebb to phpBB and now vB.. lol). When I ran the Update Thread Info under Update Counters in the CP, the thread numbers were still off and the users post counts that I've added have disappeared.

I'm guessing something with the dB maybe corrupt when I upgraded from phpBB to vB. I've searched the dB and see no problems though I do notice my forums are numbered quite high. IE. instead of the forum ID's numbered 1-15 or whatever, they're numbered 86-107? Also the post ID's are numbered very high (in the 100,000 range.)

I'm stumped... It's not that great of a deal. The board works and the numbers are not that noticable. It's just one of those quirks you wish were fixed. hehe..
Reply With Quote
  #20  
Old 11-30-2002, 11:10 AM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What this hack does is take the MAXvalue from the DB...there are entries in the DB for posts, and it will assign numbers to them, so it's going to display the total posts posted, it will take the latest entry to the DB for posts, and take that number and display it...
Reply With Quote
  #21  
Old 11-30-2002, 04:49 PM
Legacy's Avatar
Legacy Legacy is offline
 
Join Date: Apr 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about MEMEBRS Count?
Had a incident where 600 members got removed so the count went down by 600 members
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04347 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete