Announcement

Collapse
No announcement yet.

Latest Active Threads on Forumhome

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

  • Latest Active Threads on Forumhome

    Hi - I have this working in 3.8.4

    http://www.vbulletin.com/forum/showt...s-on-Forumhome

    Which gives me a list like :
    Thread title1 (Posted By: username1)

    Any ideas how I would get this result:

    Thread title1 (Posted By: username1) in Forumname

    I'm not an expert on JS syntax

    Code:
    <script language="" type="text/javascript">
    <!--
    for (var x in threads)
    {
    document.writeln("<img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <span class=\"time\">($vbphrase[posted_by]: "+threads[x].poster+")</span><br />");
    }
    //-->
    </script>

  • #2
    You should post this over at vbulletin.org, the modification site. (I don't think you can do this with just javascript as the forum title is not available for use. You would have to change to a query for this if you want the forum title.)

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      ok - thanks.

      Comment

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