The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|