We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3381
    • 2 Posts
    vBulletin has an external data provider. You place some javascript on an html page, and it displays the most recent threads, who posted, etc.

    <!--begin forum code-->
    <script type="text/javascript" src="http://www.mysite.com/forum/external.php?type=js&forumids=152"></script>
    <script language="JavaScript" type="text/javascript">

    <!--
    for (var x in threads)
    {
    document.writeln("<a href=\"http://www.mysite.com/forum/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")
    <hr>");
    }
    //-->

    </script>


    <!-- end forum script -->


    This works fine anywhere I place it except in a ModX page. It throws a bunch of

    undefined (posted by undefined)

    before it gets to a real post.

    What do I need to do to get this to work on a modx page?

    Thanks,
    Bill