Yes! Same error! Please help…
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.
foxybbb, thank you! Did it!
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.
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
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