vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Post ID Of the Current Thread (https://vborg.vbsupport.ru/showthread.php?t=85070)

imported_0Xcel 10-23-2002 08:40 PM

Post ID Of the Current Thread
 
Im trying to figure out the variable for the Post Id of a current thread, ive already figured out what it is for the WHOLE forum but not for one thread =/

So if anybody could post the tag thing, it would be greatly appreciated, or direct me to some other aid.

Thanks.

Brad 10-23-2002 09:14 PM

Do you want to display it forumdisplay or what?

LoRDsTaR 10-24-2002 04:01 AM

hmm the post id of every thread ... you mean

on first post : #1
second post : #2

thats a hack on vb.org

Tony G 10-24-2002 05:27 AM

It could also be when you link to the last post, it links to the post id of that post so it displays that in the thread.

imported_0Xcel 10-24-2002 03:04 PM

oh ok thanks, didnt think it was a hack ill go look.

Tony G 10-25-2002 05:58 AM

It's not identified by thread post, it's by post on whole forum. So lets say you have 200 posts on your whole forum. The next post would be postid=201.

So if you want to link to one, just find out what post number it is for the whole forum and use the same URL method as a threadid.


All times are GMT. The time now is 03:11 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.00998 seconds
  • Memory Usage 1,715KB
  • 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
  • (6)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