WordPress.org

Support

Support » Plugins and Hacks » vBulletin recent posts widget

vBulletin recent posts widget

  • 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">
      <tr>
        <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> ");
                        }
    
                    </script>
        </div></td>
      </tr>
    </table>

    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.
    Cheers,
    Aron

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘vBulletin recent posts widget’ is closed to new replies.
Skip to toolbar