PDA

View Full Version : VB external JS Script on homepage issue


Sola
10-31-2007, 05:13 PM
This setup looks fine on Hardware logic (http://www.vivvo.net/forums/showthread.php?p=4884#post4884). But it screws up on my site.

I tried the Javascript include like this:

<div id="my_box_id" class="box">
<div class="box_title_holder">
<div class="box_title">Latest Forum Threads</div>
</div>
<div class="box_body">
<div class="box_content">
<vte:include href="http://www.site.com/vb/external.php?type=js" />
</div>
</div>
</div>

No dice.
Yes, JS is enabled in the 3.6.8 backend.
I even tried using it like this:
<vte:include href="http://www.site.com/vb/external.php?type=js&forumids=14,2,80" />

The junk below is the first few lines of what I get:
function thread(threadid, title, poster, threaddate, threadtime) { this.threadid = threadid; this.title = title; this.poster = poster; this.threaddate = threaddate; this.threadtime = threadtime; } var threads = new Array(10); threads[0] = new thread(25119...
Any Ideas pls?

Thanks.

Sola
11-01-2007, 03:28 AM
Hmm...Thinking about it now, what I am including is Javascript, not Php... Would that have something to do with it as seen above?

Sola
11-01-2007, 02:18 PM
Can any other user who's got VB external data on the Vivvo homepage working help with this please? It may not look like an urgent matter, but it is critical and urgent to me.

Will appreciate it.

utvara
11-02-2007, 12:33 PM
Please refer to this post http://www.vivvo.net/forums/showthread.php?t=1726

Sola
11-02-2007, 02:40 PM
Thanks. Does the job.