vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Countdown to "XX"th Post? (https://vborg.vbsupport.ru/showthread.php?t=35194)

BabyU 02-18-2002 01:50 PM

I'm nearing 100,000 posts and wanted to hold a contest with a prize for the person that posted #100,000. I would like to do 2 things.

First, I'd like a 'countdown' of sorts on the main forum page that shows how many posts are left until we reach 100k. I have the feeling this is fairly simple, but it's just not registering with me.

Then I'd also like to list out maybe the last 50 posts and who they were made by so that it would tell us who made the 100,000th post. How difficult would this be?

I thought that I could just go into the database and pull out the post with ID #100,000 but the more I think about it, this probably won't work, will it? The database doesn't reuse deleted posts IDs, which means that the post with ID 100,000 isn't really the 100,000th post -- or is it?

I'd appreciate any suggestions or advice. Thanks!

Admin 02-18-2002 01:53 PM

Quote:

Originally posted by BabyU
First, I'd like a 'countdown' of sorts on the main forum page that shows how many posts are left until we reach 100k. I have the feeling this is fairly simple, but it's just not registering with me.
https://vborg.vbsupport.ru/showthread.php?s=&threadid=33819

BabyU 02-18-2002 02:08 PM

Thank you! I obviously didn't search for the correct keywords!


All times are GMT. The time now is 10:03 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.01053 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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