Extension:PhpBB ShowTopic

What can this extension do?
This extension can show a pbpBB topic and a specified number of posts within MediaWiki.

Usage
forumId|topicId|postLimit|bgColour


 * forumId = Unique ID of the forum containing the topic you wish to display
 * topicId = Unique ID of the topic you wish to display
 * postLimit = Maximum number of posts to display from the selected topic
 * bgColour = Background colour ie: FEFAF3

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
Inside PHPBB_ShowForum.php you have to change this parameter in according with your forum configuration:

$phpbbDBSERVER= MySQL Host $phpbbDBUSER= MySQL User $phpbbDBUSERPW= MySQL Password $phpbbDBNAME= MySQL Database Name $phpbbDBPrefix="phpbb_" PHPbb's Table prefix (Usually no changes needed) $phpbb_home = "http://www.yoursite.com/forum/" Full Address of your forum

Code
";   mysql_free_result($qryres);        return $out; } ?>

To Do

 * Add BBCode Parser
 * Improve layout
 * What to do with URLs in topic posts that link back to other topic posts. Leave as is or turn into MediaWiki links?
 * Check code and update to suit MediaWiki 1.15 or later (if not already)