External Data Provider not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anthoneezy
    Member
    • Dec 2003
    • 45

    External Data Provider not working

    Hello,

    I'm trying to implement a forum syndicate with Javascript as described on this page: http://www.vbulletin.com/docs/html/v...r_implementing

    However, I receive "Error: threads is not defined Line: 11" when I try to access my test page:

    Code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>
        <script src="http://www.accesshiphop.com/forums/external.php?type=js&forumids=3" type="text/javascript"></script>
        <script type="text/javascript">
        <!--
        for (i in threads)
        {
        document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />");
        }
        //-->
        </script>
    </body>
    </html>
    I'm using RSS for the same forum and it works fine: http://www.accesshiphop.com/forums/e...rss&forumids=3

    Anyone know what the problem is?

    Thanks,
    Anthony
  • anthoneezy
    Member
    • Dec 2003
    • 45

    #2
    It's working now.

    I had to selected "Enable External Javascript" in the admin. Simple enough! Although the vB team should probably update the documentation so this is more clear...



    This page doesn't mention the "Enable External JavaScript" option.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...