<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to show latest phpBB3 posts in your WordPress sidebar</title>
	<atom:link href="http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Sat, 11 Feb 2012 05:27:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: OpenUser</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-888679</link>
		<dc:creator>OpenUser</dc:creator>
		<pubDate>Wed, 27 Jul 2011 13:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-888679</guid>
		<description>This code worked for me (WP 3.2.1) in combination with PHP Code Widget ( http://wordpress.org/extend/plugins/php-code-widget/ ), though some modifications were needed. The &quot;die()&quot; function seems to stop further execution of PHP code and can so prevent the remaining content from loading. So the code had to be rewritten like this (not pretending to be the most elegant way ;) ):

&lt;?php
if($connection = mysql_connect(&quot;your_db_server&quot;,&quot;your_db_login&quot;,&quot;your_db_password&quot;))
{
  if($db = mysql_select_db(&quot;your_db_name&quot;,$connection))
  {
    $sql = &quot;select * from phpbb_topics order by topic_last_post_time desc limit 0,10&quot;;
    if($result = mysql_query($sql))
    {
      for($x=1;$x&lt;=10;$x++)
      {
        $row = mysql_fetch_array($result);
        echo &quot;&lt;a href=&quot;http://www.yourforumdomain.com/viewtopic.php?f=$row[forum_id]&amp;t=$row[topic_id]&quot; rel=&quot;nofollow&quot;&gt;$row[topic_title]&lt;/a&gt;&quot;;
      }
    }
    else
    {
      echo(&quot;Service temporairly unavailable&quot;);
    }
  }
  else
  {
    echo(&quot;Service temporairly unavailable&quot;);
  }
}
else
{
  echo(&quot;Service temporairly unavailable&quot;);
}
?&gt;

Could the same really be accomplished without storing database login data in the script code? Please post the code if you know how to achieve that!</description>
		<content:encoded><![CDATA[<p>This code worked for me (WP 3.2.1) in combination with PHP Code Widget ( <a href="http://wordpress.org/extend/plugins/php-code-widget/" rel="nofollow">http://wordpress.org/extend/plugins/php-code-widget/</a> ), though some modifications were needed. The &#8220;die()&#8221; function seems to stop further execution of PHP code and can so prevent the remaining content from loading. So the code had to be rewritten like this (not pretending to be the most elegant way ;) ):</p>
<p>&lt;?php<br />
if($connection = mysql_connect(&quot;your_db_server&quot;,&quot;your_db_login&quot;,&quot;your_db_password&quot;))<br />
{<br />
  if($db = mysql_select_db(&quot;your_db_name&quot;,$connection))<br />
  {<br />
    $sql = &quot;select * from phpbb_topics order by topic_last_post_time desc limit 0,10&quot;;<br />
    if($result = mysql_query($sql))<br />
    {<br />
      for($x=1;$x&lt;=10;$x++)<br />
      {<br />
        $row = mysql_fetch_array($result);<br />
        echo &quot;<a href="http://www.yourforumdomain.com/viewtopic.php?f=$row[forum_id]&amp;t=$row[topic_id]" rel="nofollow">$row[topic_title]</a>&#8220;;<br />
      }<br />
    }<br />
    else<br />
    {<br />
      echo(&#8220;Service temporairly unavailable&#8221;);<br />
    }<br />
  }<br />
  else<br />
  {<br />
    echo(&#8220;Service temporairly unavailable&#8221;);<br />
  }<br />
}<br />
else<br />
{<br />
  echo(&#8220;Service temporairly unavailable&#8221;);<br />
}<br />
?&gt;</p>
<p>Could the same really be accomplished without storing database login data in the script code? Please post the code if you know how to achieve that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dahgapflilalf</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-851013</link>
		<dc:creator>dahgapflilalf</dc:creator>
		<pubDate>Sat, 11 Jun 2011 21:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-851013</guid>
		<description>hi amazing topic you have going here.</description>
		<content:encoded><![CDATA[<p>hi amazing topic you have going here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lalami</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-812093</link>
		<dc:creator>lalami</dc:creator>
		<pubDate>Fri, 15 Apr 2011 09:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-812093</guid>
		<description>The same problem as on the Slovenian site - only that my site is in Turkish.

Is there any way to make Turkish letters appear with diacritics?

I&#039;m really greateful for the code, I&#039;ve tried all available plugins and none of them works for my site (another explanation might be - your instructions are really good, so I could understand and put them in action;)</description>
		<content:encoded><![CDATA[<p>The same problem as on the Slovenian site &#8211; only that my site is in Turkish.</p>
<p>Is there any way to make Turkish letters appear with diacritics?</p>
<p>I&#8217;m really greateful for the code, I&#8217;ve tried all available plugins and none of them works for my site (another explanation might be &#8211; your instructions are really good, so I could understand and put them in action;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-788951</link>
		<dc:creator>Marius</dc:creator>
		<pubDate>Mon, 28 Mar 2011 12:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-788951</guid>
		<description>How to add UTF-8 support please help!</description>
		<content:encoded><![CDATA[<p>How to add UTF-8 support please help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-642314</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 18 Sep 2010 09:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-642314</guid>
		<description>I have my phpBB latest posts showing on home page, built into my theme properly.

http://www.webtechglobal.co.uk 

If anyone needs help getting these things working and fully themed just go to my forum for some help.

Thanks for another good plugin.</description>
		<content:encoded><![CDATA[<p>I have my phpBB latest posts showing on home page, built into my theme properly.</p>
<p><a href="http://www.webtechglobal.co.uk" rel="nofollow">http://www.webtechglobal.co.uk</a> </p>
<p>If anyone needs help getting these things working and fully themed just go to my forum for some help.</p>
<p>Thanks for another good plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: niv</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-552115</link>
		<dc:creator>niv</dc:creator>
		<pubDate>Thu, 04 Mar 2010 16:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-552115</guid>
		<description>UTF-8 Support please....

How can it be done?</description>
		<content:encoded><![CDATA[<p>UTF-8 Support please&#8230;.</p>
<p>How can it be done?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-535935</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 08 Jan 2010 09:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-535935</guid>
		<description>This is a cool idea but there&#039;s a security issue in here.  Actually, you don&#039;t need a password from the database and username, all you should have is msql server so the script can retrieve info/topics last 5 posts...etc</description>
		<content:encoded><![CDATA[<p>This is a cool idea but there&#8217;s a security issue in here.  Actually, you don&#8217;t need a password from the database and username, all you should have is msql server so the script can retrieve info/topics last 5 posts&#8230;etc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-439698</link>
		<dc:creator>Marko</dc:creator>
		<pubDate>Sun, 26 Apr 2009 08:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-439698</guid>
		<description>Hi,

I tried a lot of those PHP codes to show last posts on my page ... but this one only works for me :-) ... THX!!

I&#039;m not using WordPress, but I manage to implement. But now I have &quot;local&quot; issue. In Slovenia we are using &quot;Å ÄŒÅ½ - funny letters :-)&quot; and I have problem showing them. OK just one letter &quot;ÄŒ&quot;. You can look on my page (www.drp-drustvo.si) under &quot;..:: SveÅ¾e na forumu ::..&quot; (light yellow notes) ...

Thx in advance and thx again for really useful code!

Regards, Marko</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I tried a lot of those PHP codes to show last posts on my page &#8230; but this one only works for me :-) &#8230; THX!!</p>
<p>I&#8217;m not using WordPress, but I manage to implement. But now I have &#8220;local&#8221; issue. In Slovenia we are using &#8220;Å ÄŒÅ½ &#8211; funny letters :-)&#8221; and I have problem showing them. OK just one letter &#8220;ÄŒ&#8221;. You can look on my page (www.drp-drustvo.si) under &#8220;..:: SveÅ¾e na forumu ::..&#8221; (light yellow notes) &#8230;</p>
<p>Thx in advance and thx again for really useful code!</p>
<p>Regards, Marko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gofree</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-401833</link>
		<dc:creator>Gofree</dc:creator>
		<pubDate>Fri, 06 Mar 2009 08:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-401833</guid>
		<description>Please, make this WP plugin.</description>
		<content:encoded><![CDATA[<p>Please, make this WP plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vasilis</title>
		<link>http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-399348</link>
		<dc:creator>vasilis</dc:creator>
		<pubDate>Mon, 02 Mar 2009 18:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2008/02/08/how-to-show-latest-phpbb3-posts-in-your-wordpress-sidebar/#comment-399348</guid>
		<description>how to show the post with utf8 support?</description>
		<content:encoded><![CDATA[<p>how to show the post with utf8 support?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 6/11 queries in 0.106 seconds using disk: basic

Served from: www.emanueleferonato.com @ 2012-02-11 13:59:15 -->
