vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Milestone Posts (https://vborg.vbsupport.ru/showthread.php?t=251657)

singabaloo 10-05-2010 07:48 AM

Milestone Posts
 
Does anyone have a simple way, whether through a Mod or not, of identifying Milestones posts ?

We're approaching 200k posts and we'd like to award a prize.

Our site stats say Posts: 199,743

When a new post is created, I see "/forum/showthread.php?p=302835" which a fair way out so using the URL won't help.

Any ideas on how to capture milestone posts ?

BirdOPrey5 10-08-2010 03:01 AM

I couldn't imagine this working without using the URL... who's to say what was the 200,000th post if you delete several spam posts right after you hit 200,000- then you'll be back below 200,000.

I just checked my board... we're reporting about 865,000 posts and our URL is up to about 880,000... the difference is because posts have been deleted over the years. If you stop deleting more posts from here on out you can use simple arithmetic to find out what URL will correspond to post 200,000 and set a conditional in showthread or something "if" post # 399,999 or whatver then display some extra text saying like "200,000th Post!"

singabaloo 10-08-2010 03:18 AM

Yeah, I can understand the spam deletion, but I'm puzzled as to why my board stats and url count is over 100,000 out.

Could it be because we migrated from another board sw some time back ? Could we really have 300k odd posts but our Stats only show 200k ?

Confused......

BirdOPrey5 10-08-2010 03:32 AM

Very well might have been the migration... did you ever mass prune posts at some point in the past? In any case going forward the URL number minus 103092 should get you pretty close to 200,000. Post 303,092 should be your 200,000 if your numbers were exact.

singabaloo 10-08-2010 03:53 AM

Yeah, we caught the 200k poster but shutting the board down, doing a quick calc so all works.

Still intrigued by the 100k discrepency though. There's no way we pruned 100k posts. There is a possibility we had close to 100k when we migrated. It makes me wonder if those 100k posts are being reflected in the board stats.


All times are GMT. The time now is 03:48 PM.

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.00986 seconds
  • Memory Usage 1,709KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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