vBulletin recent posts widget (3 posts)

  1. lsddesign
    Posted 7 years ago #

    Hey all,

    I've been searching for such a plugin, and quite frankly: it doesnt exist. I was scared of Javascript, since i heard wp doesnt support it... BUT!, i found the answer. I've added the code here:

    <table width="135" border="0" cellpadding="0" cellspacing="0" bgcolor="#3D3532">
        <td>                <div align="left">
          <script type="text/javascript" src="http://www.yourlink.com/your_forum_folder/external.php?type=js"></script>
          <script language="" type="text/javascript">
                        for (x = 0; x < 5; x++)
                        document.writeln("<img src=\"/images/icon_comment.gif\" /><a href=\"http://www.yourlink.com/your_forum_folder/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> ");

    This is what i use for one of my clients, and i gotta say: works like a charm. Though i'd share it ;)
    You can copy paste this into a ''text'' widget, and it works :D!

    hope you enjoy.

  2. forcerdj
    Posted 6 years ago #

    This didnt work for me?

  3. CrazySerb
    Posted 6 years ago #

    Nope, that didn't work for me either...

Topic Closed

This topic has been closed to new replies.

About this Topic