View Full Version : How can I display the last XX Posts on non-vB page
Klaus A.
05-04-2010, 07:22 PM
Hi, can anyone give me a tips on this?
Klaus A.
05-05-2010, 07:49 PM
Hi, is there no solution for this?
Front Range 4x4
05-06-2010, 01:48 AM
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 ;)
your24hourstore
05-06-2010, 11:48 AM
nice thanks
venom2124
05-07-2010, 03:17 AM
What if I wanted to put calendar events on a non-vb page.
Front Range 4x4
05-07-2010, 12:36 PM
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
Front Range 4x4
05-09-2010, 02:11 PM
Klaus, did you Turn on External Data Provider in your ACP?
Klaus A.
05-16-2010, 05:47 AM
Klaus, did you Turn on External Data Provider in your ACP?
Yes. If you copy the feed url in to the browser, ou can see that it works.
--------------- Added 1274027621 at 1274027621 ---------------
I've got it working now :)
kirupa
12-08-2011, 06:55 PM
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.