Feedback to Extension:PHPBB_ShowForum edit

Hi Marcolino,

first I want to thank you for sharing that great Mediawiki Extension. I would like to add some contribution to the development of your extension.

Force page rerendering edit

Adding following line into the function showForum( $input, $argv, &$parser)

$parser->disableCache();

forces the parser to render the page on each call. This is necessary, otherwise the page shows only the newest entries at the time the page is saved, especially if caching is used on the wiki. Using this extension makes only sense if the information is up to date.

The suggestion was made by User:Splarka in #mediawiki

Suggestion concerning the folder icon edit

you should add a comment concerning the path of the icon or make that path a variable to define for the user as this can be different on any installation. I had to search a little to find and tweak it.

Works on phpBB3 edit

tested with phpBB3

Suggestion edit

It is possible to call the last entries of multiple forums by using an array so: <phpbb_forum>'1','2','5'|5|ddddff</phpbb_forum> can shows the last five entries in forums with id= 1 and 2 and 5, which is a really cool feature and should be documented.


I hope this feedback is appreciated -EricPoehlsen 00:42, 31 January 2009 (UTC)Reply

UTF-8 character support edit

A hint on support for non-ASCII characters: To get UTF-8 characters displayed correctly, I have added before execution of the SQL query:

    $sql="set names 'utf8';";
    $qryres = mysql_query($sql);

Doesn't work with Mediawiki 1.26 edit

Hello Marcolino, your extension phpbbforum doesn't work with new versions of mediawiki, is there any chance you could do something ? Henrique Diaz (talk)

SOLUTION edit

It is still working. You just have to change the source code on line 40:

from

  function showForum( $input, $argv, &$parser) {

to

  function showForum( $input, $argv, $parser) {

Assx (talk)