This script extern.php is used to include information about your board from pages outside the forums and to syndicate news about recent discussions via RSS. The script can display a list of recent discussions (sorted by post time or last post time), a list of active users or a collection of general board statistics. The script can be called directly via an URL (for RSS), from a PHP include command or through the use of Server Side Includes (SSI).
The scripts behavior is controlled via variables supplied in the URL to the script. The different variables are: action (what to output), show (how many topics to display), forum (the ID of the forum to poll for topics) and type (output as HTML or RSS). The only mandatory variable is action.
include('http://host.com/forums/extern.php?action=active');
include('http://host.com/forums/extern.php?action=new&show=10&fid=5,6,7');
include('http://host.com/forums/extern.php?action=online');
include('http://host.com/forums/extern.php?action=stats');
<!--#include virtual="forums/extern.php?action=new&show=5&fid=11,22" -->
<!--#include virtual="forums/extern.php?action=stats" -->