Jump to content

Extension talk:PHPBB ShowForum

Add topic
From mediawiki.org
Latest comment: 7 years ago by Henrique Diaz in topic Doesn't work with Mediawiki 1.26

Hi Marcolino,

Thank you for this nice extension. There is a question, how to set the language shown at the forum embed in my wiki?--Roc michael 14:54, 18 March 2009 (UTC)Reply

phpbb3

[edit]

Hey,

so it looks like this still works with PHPBB3 as well.

i tweaked mine a bit so it would fit in a single row and the name of the last poster shows:

 //Cycle inside recordset and populate page
    while ($row = mysql_fetch_row($qryres)) {
        $out = $out . " <tr style=\"background-color: #$bgColor\">
         
            <td width=\"2%\" valign=\"center\"><img src=\"".$phpbb_home.$phpbb_icon_path."\" ></td>
            <td>
                <strong><a href=\"".$phpbb_home."viewtopic.php?t=".$row[1]."#".$row[2]."\" class=\"external text\" >".$row[0].    "</a></strong>
                by <a href=\"".$phpbb_home."memberlist.php?mode=viewprofile&u=".$row[10]."\">".$row[9]."</a> on      ".date("D, d M Y H:i",$row[3])."
            </td>
        </tr>";
    }  //End While

cheers, --Rvries 09:41, 7 April 2010 (UTC)Reply

Avoid showing unapproved posts

[edit]

In order to avoid listing yet unapproved posts, I added the following additional condition to the MySQL filter:

           		AND p.post_approved = 1

Wikimalte (talk) 15:06, 25 February 2014 (UTC)Reply

Doesn't work with Mediawiki 1.26

[edit]

Hello, With Mediawiki, the phpbb showforum extension shows only this :

?'"`UNIQ--phpbb_topic-00000002-QINU`"'? 

It seems there is a trouble with the parser. Any chance anyone could fix that ? Henrique Diaz (talk) 15:53, 30 December 2016 (UTC)Reply