Announcement

Collapse
No announcement yet.

Show Latest Vbulletin 4.x Posts on a HTML Page

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

  • Show Latest Vbulletin 4.x Posts on a HTML Page

    Before you check the code below, you need to go to Admin CP -> vBulletin Options -> External Data Provider and Allow the External Data Provider Option

    After that just Copy Paste the code below on any Webpage Online and it will do the task.
    Remember to change the domain name in the code below and the forum ids
    HTML Code:
    <!-- show latest active threads -->
    <table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
    <tbody>
    <tr>
    <td colspan="2">
    <a href="http://www.xyz.com/forum/search.php?do=getnew"><h3>Latest Threads in Search Engine Optimization</h3></a><br />
    </td>
    </tr>
    </tbody>
    <tbody>
    <tr>
      
    <td width="100%">
      
    <div>
    <script type="text/javascript" src="http://www.navoditkumar.com/forum/external.php?forumids=8,38,39,40,47,48,41&type=js"></script>
    <script language="" type="text/javascript">
    <!--
    for (x = 0; x < 10; x++)
    {
    document.writeln("<a href="http://www.navoditkumar.com/forum/showthread.php?t="+threads[x].threadid+""><strong>"+threads[x].title+"</strong></a> (By: "+threads[x].poster+")<br />");
    }
    //-->
    </script></div>
      
    </td>
    </tr>
    </tbody>
    <!-- show latest active threads -->
    </table>
    If you want to show Latest Posts, change the above code like this:

    HTML Code:
    <script type="text/javascript" src="http://www.navoditkumar.com/forum/external.php?lastpost=true&forumids=68,43,66,44,49,50,51,52,45,53,54,55,46,67&type=js"></script>
    Similar Threads

  • #2
    that's very useful sir

    Comment

    Working...
    X