The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I display the last XX Posts on non-vB page
Hi, can anyone give me a tips on this?
|
#2
|
|||
|
|||
Hi, is there no solution for this?
|
#3
|
|||
|
|||
Turn on External Data Provider in your ACP.
Add this to your external page. <script type="text/javascript" src="/forums/external.php?type=js&lastpost=1&forumid=1,2,3"></script> <script type="text/javascript"> <!-- Start for(x = 0; x < 6; x++) { document.writeln("<p><a href=\"/forum/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> - <span class=\"copytext\"> Posted by "+threads[x].poster+"</span></p>"); } //--> </script> note 1: forumid=1,2,3"> is where you select the forum/s to be shown note 2: x < 6; x++) the 6 is the number of threads to be shown HTH |
#4
|
|||
|
|||
nice thanks
|
#5
|
|||
|
|||
What if I wanted to put calendar events on a non-vb page.
|
#6
|
|||
|
|||
I don't know, I just posted what I've been using. I don't know where that code came from but suspect I found it somewhere on vBulletin.com
|
#7
|
|||
|
|||
Klaus, did you Turn on External Data Provider in your ACP?
|
#8
|
|||
|
|||
Quote:
--------------- Added [DATE]1274027621[/DATE] at [TIME]1274027621[/TIME] --------------- I've got it working now |
#9
|
|||
|
|||
The current solution only displays the latest threads. Is there a way to provide a specific thread ID and display the latest posts from that thread?
Thanks, Kirupa |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|