FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.
Knowledgebase: Community Forums
Include The FutureQuest Forums on Your Own Web Site!
Posted on 27 December 2003 04:32 PM
You can add a box like the following to any web page:


You can specify which forum you want shown and how many topics to display.

Simply add the following to any HTML page. This includes PHP/CGI/ASP scripts that output HTML:
    <script language="JavaScript" src="http://www.FutureQuest.net/forums/posts.js"></script>
If you want to limit to a specific forum, get the forum ID (see the link for that particular forum to obtain the ID), and use this:
    <script language="JavaScript" src="http://www.FutureQuest.net/forums/posts.js?forumid=XX"></script>
where XX is the forum ID.

If you want to show more or less than the 5 most recent threads, set your limit. For example:
    <script language="JavaScript" src="http://www.FutureQuest.net/forums/posts.js?forumid=XX&limit=YY"></script>
where XX is the forum ID and YY is the number of threads you want to display (between 1 and 15). Both of these are optional; if no forum ID is specified it will default to all forums.

An example, limited to the PHP/MySQL forums with the last 8 threads shown:

The code for the above forum box looks like this:

    <script language="JavaScript" src="http://www.FutureQuest.net/forums/posts.js?forumid=15&limit=8"></script>

Give it a try on your own web site!