GenXTiger
Member
When we ran VB, there was an option where we could display recent posts from a particular forum on our external websites with javascript.
Is there anything like that for Xenforo?
This is what the script looked like from VB.
<script type="text/javascript" src="http://www.myfourm.com/external.php?type=js&forumids=30"></script>
<script type="text/javascript">
<!--
for (var i = 0; i < threads.length; i++)
{
document.write(' <ul><li> <a href="http://www.myfourm.com/showthread.php?t=' + threads['threadid'] + '">' + threads['title'] + '</a> </li></ul> ');
}
//--> </script>
Thanks
Corey
Is there anything like that for Xenforo?
This is what the script looked like from VB.
<script type="text/javascript" src="http://www.myfourm.com/external.php?type=js&forumids=30"></script>
<script type="text/javascript">
<!--
for (var i = 0; i < threads.length; i++)
{
document.write(' <ul><li> <a href="http://www.myfourm.com/showthread.php?t=' + threads['threadid'] + '">' + threads['title'] + '</a> </li></ul> ');
}
//--> </script>
Thanks
Corey