Quote:
Originally Posted by mattpist
um... how would this be done?
|
I think you can use JS feed insted.
I am planning to do it this way:
First, activate External Source Provider.
Go to: Admin Control Panel > vBulletin Options > External Data Provider:
and choose JavaScript ( first choice ).
Then copy this Java Script code code and add it right at the inside your WP theme template.
Code:
<!-- Title -->
<div id="forum">
<h2><a href="http://www.yourforum.url/search.php?$session[sessionurl]do=getnew">Last Active Threads</a></h2>
<!-- List of today's threads -->
<script type="text/javascript" src="http://www.yourforum.url/external.php?forumids=2,32,35,27,3,12,6,30,31&type=js"></script>
<script language="" type="text/javascript">
<!--
for (var x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"&goto=newpost\"><a href=\"http://www.yourforum.url/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <span class=\"smallfont\">(By: "+threads[x].poster+")</span> <br />;");
}
</script>
</div>
Forumids= IDs of forum to grap posts from.
You will need to replace yourforum url and path inside the code
you might also need to replace the & sign with & in case had errors.
Option : if you want to show the list based on last post time add : &lastpost=1 right after &type=js at 4th line of the code.
Please let me know if it works with you.
Good Luck!