Announcement

Collapse
No announcement yet.

Is it Possible to Display Latest Threads on External Site WITH a Preview of thread ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it Possible to Display Latest Threads on External Site WITH a Preview of thread ?

    Hi -

    I was able to display my recent threads of my forum on an external site using this code I found on this forum:

    Code:
    <script type="text/javascript" src="http://www.mywebsiteurlhere.com/external.php?forumids=5&type=js"> </script> 
    <script language="" type="text/javascript">
    <!--
    for (x = 0; x < 10; x++)
    {
    document.writeln("<a href=\"http://www.mywebsiteurlhere.com/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />");
    }
    //-->
    </script>
    That works perfectly. It shows the title of the thread and who posted it. But I am wondering if it is possible to also display a preview or excerpt of the thread (???)

    Thanks for your help.
    Last edited by huntopia; Tue 6 Jan '09, 8:11am. Reason: spelling error

  • #2
    That content is not included in the default javascript feed. Custom code is required to add it. If you have some coding ability then you can post on www.vbulletin.org for help with this.

    Comment

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