User talk:Marcolino7

From MediaWiki.org
Jump to: navigation, search

Contents

[edit] Feedback to Extension:PHPBB_ShowForum

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.

[edit] Force page rerendering

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

[edit] Suggestion concerning the folder icon

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.

[edit] Works on phpBB3

tested with phpBB3

[edit] Suggestion

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)

[edit] UTF-8 character support

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);
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox