![]() |
How can I display the last XX Posts on non-vB page
Hi, can anyone give me a tips on this?
|
Hi, is there no solution for this?
|
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 ;) |
nice thanks
|
What if I wanted to put calendar events on a non-vb page.
|
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
|
Klaus, did you Turn on External Data Provider in your ACP?
|
Quote:
--------------- Added [DATE]1274027621[/DATE] at [TIME]1274027621[/TIME] --------------- I've got it working now :) |
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 |
All times are GMT. The time now is 04:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|