Title: Compatible with phpBB 3.1
Last modified: August 22, 2016

---

# Compatible with phpBB 3.1

 *  Resolved [Webliberty](https://wordpress.org/support/users/webliberty/)
 * (@webliberty)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/compatible-with-phpb-31/)
 * Will you update the plugin to be compatible with phpB 3.1? Instead of the widget
   displayed error:
 * > phpBB Error – phpbb_topics
 * [https://wordpress.org/plugins/phpbb-recent-topics/](https://wordpress.org/plugins/phpbb-recent-topics/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [BaharOtat](https://wordpress.org/support/users/baharotat/)
 * (@baharotat)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/compatible-with-phpb-31/#post-5467088)
 * Yes! Same error! Please help…
 *  [foxybbb](https://wordpress.org/support/users/foxybbb/)
 * (@foxybbb)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/compatible-with-phpb-31/#post-5467100)
 * I edited the file display/display.php around line 60 to remove the reference 
   to TOPIC_APPROVED
 * It now reads
    $sql_query = “SELECT * FROM $lnx_PRT_options[prt_phpbb_tt] ORDER
   BY”;
 * and is working ok again.
 *  Thread Starter [Webliberty](https://wordpress.org/support/users/webliberty/)
 * (@webliberty)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/compatible-with-phpb-31/#post-5467101)
 * **foxybbb**, thank you! Did it!
 *  [albertobdc](https://wordpress.org/support/users/albertobdc/)
 * (@albertobdc)
 * [11 years ago](https://wordpress.org/support/topic/compatible-with-phpb-31/#post-5467102)
 * Sorry but I think this is not solved. When changing that line of code, the forum
   topics exclusion doesn´t work.
 * The “feed” is showing posts from forums excluded in plugin control panel.
 *  [severins](https://wordpress.org/support/users/severins/)
 * (@severins)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/compatible-with-phpb-31/#post-5467108)
 * change the same string to
    `$sql_query = "SELECT * FROM $lnx_PRT_options[prt_phpbb_tt]
   WHERE 1 $EXCLUDED_FORUM $EXCLUDED_FORUM ORDER BY";`
 * should solve the issue and keep exclusion working
 *  [albertobdc](https://wordpress.org/support/users/albertobdc/)
 * (@albertobdc)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/compatible-with-phpb-31/#post-5467109)
 * Hi severins,
 * Sorry but I dont understand this.
 * The original line was (its now commented):
 * //$sql_query = “SELECT * FROM $lnx_PRT_options[prt_phpbb_tt] WHERE TOPIC_APPROVED
   = 1 $EXCLUDED_FORUM $EXCLUDED_FORUM ORDER BY”;
 * I changed it to:
 * $sql_query = “SELECT * FROM $lnx_PRT_options[prt_phpbb_tt] ORDER BY”;
 * so the plugin would work, but it still shows posts from excluded forums.
 * What change should I do to not showing those posts?
 * Thnks in advance

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Compatible with phpBB 3.1’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/phpbb-recent-topics_867975.svg)
 * [phpbb_recent_topics](https://wordpress.org/plugins/phpbb-recent-topics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/phpbb-recent-topics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/phpbb-recent-topics/)
 * [Active Topics](https://wordpress.org/support/plugin/phpbb-recent-topics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phpbb-recent-topics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phpbb-recent-topics/reviews/)

## Tags

 * [phpBB](https://wordpress.org/support/topic-tag/phpbb/)

 * 6 replies
 * 5 participants
 * Last reply from: [albertobdc](https://wordpress.org/support/users/albertobdc/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/compatible-with-phpb-31/#post-5467109)
 * Status: resolved