Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2006, 04:25 PM
AlpineZone AlpineZone is offline
 
Join Date: Feb 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Display post element on external page based on URL variable

I just converted from a phpBB forum. I also used to use phpBB Fetch All which was very helpful in pulling forum info and displaying it on pages outside of the forum. I still use this set up on another site. For example, the news "portal" here - http://news.coskiing.com/ - pulls data from the news forum here - http://forums.coskiing.com/viewforum.php?f=6 . I also use the phpBB Fetch All script to display the Latest Headlines and Recent Discussions on the home page here - http://www.coskiing.com/ . Finally, I also use it to create various RSS feeds.

My primary site now uses vBulletin - http://forums.alpinezone.com/ - and I need to replicate all the above functionality for the AlpineZone.com site. I played around with both vBadvanced and the external.php file, but I can't seem to replicate the functionaility I had under phpBB Fetch All and phpBB.

Let me try to simplify my question with a specific example. Perhaps then somebody could tell me whether this is possible with vBadvanced, external.php, or via some other script/method.

Say I have a specific thread I want to pull the post text from; let's call it thread ID 534. How can I set up an external page (outside the forums) in a format like http://www.mysite.com/article.php?t=534 which will simply display an element from that post (e.g. post body text from the first post in the thread). Simply changing the "t" variable in the URL should then result in the post text from the specified thread to be displayed. Once I can see how this is done for a single element (post text), I can expand that to other elements (e.g. author, post times, etc.).

Second requirement will be to be able to pull a list of threads from a specified forum and link to them using the above URL format. I should be able to define the number of threads I want to diaply and pagination for threads beyond the initial group displayed would be useful.

Any thoughts on this? Specific examples would be helpful.
Reply With Quote
  #2  
Old 06-06-2006, 06:35 AM
hydrazug hydrazug is offline
 
Join Date: May 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm also very interested in the 'fetch all' functionality as well; I know it's possible but don't know how to do it myself.
Reply With Quote
Reply


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 12:12 AM.


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.03612 seconds
  • Memory Usage 2,165KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete