Hello
I was trying to use “phpbb_recent_topics” plugin for my wp website. I followed the instructions in the topic: https://www.ads-software.com/support/topic/compatibility-with-phpbb-3-2/, but there is still a problem. When I try to add a phpbb_recent_topics widget on my right sidebar, although it shows me the list of recent topics in the preview, it tells me “not valid value”. Now I don’t know what to do, because there is no indication on where is the problem inside the code. If it can be useful, the widget is not showing the title in the preview. I attach also a screenshot: https://www.meteoregionelazio.it/wp-content/uploads/2018/04/Image-2.jpg
WP version: WordPress 4.9.3
phpbb Forum version phpbb3.2.2: https://www.meteoregionelazio.it/forum/
thanks
]]>Credits to @webliberty, thanks to him I could get this to work for phpBB 3.2 also.
Actually, the correct changes are (couldn’t add a comment for the thread on phpBB 3.1 anymore):
Line 49, change
$EXCLUDED_FORUM = “AND “;
to
$EXCLUDED_FORUM = “”;
Line 62, change
$sql_query = “SELECT * FROM $lnx_PRT_options[prt_phpbb_tt] WHERE TOPIC_APPROVED = 1 $EXCLUDED_FORUM $EXCLUDED_FORUM ORDER BY”;
to
$sql_query = “SELECT * FROM $lnx_PRT_options[prt_phpbb_tt] WHERE $EXCLUDED_FORUM ORDER BY”;
This will make sure that excluded forums are processed and excluded from the listing.
]]>guys! hello!
My plugin Recent_PHP_topics does not work after phpBB update to 3.1.6
plugin vertion is 0.7.1
]]>Will you update the plugin to be compatible with phpB 3.1? Instead of the widget displayed error:
]]>phpBB Error – phpbb_topics
Hi Nick and thanks for great plugin which I use on my WP site for long time!
I have one forum which I need to exclude, but can’t understand how?
Herebelow I found in my admin settings:
“Please add new GRANT permissions GRANT SELECT ON phpbb_database.phpbb_forums TO wp_user@localhost;
See README for more details”
But there are no any details about it in readme.txt…
Can you please expalin me what exactly do I need to fix to enable the exclusion option?
Thanks in advance for your help!
]]>Would you consider to du a last update on this plugin so it work on 4.0 it broke for me after almost 1? years witout problems but after today it dont work – And also make the recent topic to show like this
– Topic Name (Replies) – Lastest Reply by name here.
]]>The Line no 93 on diplay.hp
Should be replace with
if ($lnx_PRT_options['prt_phpbb_latest_topic'] == "1") {
//echo " href='" . $lnx_PRT_options['prt_phpbb_url'] . "/viewtopic.php?p=$topic->topic_last_post_id#p$topic->topic_last_post_id'";
echo " href='" . $lnx_PRT_options['prt_phpbb_url'] . "/$topic->topic_url$topic->topic_id.html'";
} else {
//echo " href='" . $lnx_PRT_options['prt_phpbb_url'] . "/viewtopic.php?t=$topic->topic_id'";
echo " href='" . $lnx_PRT_options['prt_phpbb_url'] . "/$topic->topic_url$topic->topic_id.html'";
}
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Hello, how to view multiple Topics (last 3-6)
Kategorie1 (OFFTOPICS)
BLABLA BLABLABL ( 10 Topics ) 27/04/13
BLABLA BLABLABL ( 17 Topics ) 23/04/13
BLABLA BLABLABL ( 20 Topics ) 21/04/13
Kategoris2 (GAMES)
MEMBERPOSTING_TEXT (2 Reply) 21/04/13
MEMBERPOSTING_TEXT (8 Reply) 20/04/13
MEMBERPOSTING_TEXT (1 Reply) 17/04/13
MEMBERPOSTING_TEXT (0 Reply) 14/04/13
i would think about it like this
<?php
if (function_exists('phpbb_topics')) {
phpbb_topics(3);
**** <strong> phpbb_categorie(1);</strong>
}
?>
would be a good thing to me
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>I can access both databases in PhpMyAdmin
The PHPBB forum is in a Folder on my WordPress site
Wordpress is in the root folder https://www.mydomain.com
The url would be https://www.mydomain.com/Forum
I tried the standard setup with no luck.
I went to Other Notes and pasted in GRANT SELECT ON phpbb_database.phpbb_topics TO wp_user@localhost;
i received this error –#1142 - SELECT,GRANT command denied to user 'XXXXXXX'@'localhost' for table 'phpbb_topics'
where XXXXX was the prefix for both databases ie XXXXXXX_wp12 and XXXXXXX_phpbb234
I thought perhaps i had to substitute some of my info into that statement, so tried changing ‘phpbb_datbase’ to XXXXXXX_phpbb234 and also ‘wp_user’ to the username in the wp config file.
Always got the same error message
#1142 - SELECT,GRANT command denied to user 'XXXXXXX'@'localhost' for table 'phpbb_topics'
I then tried the ‘Enable Insecure Database Connection’ method, but still no connection reported. With that method the only thing I wasn’t sure about was ‘phpbb MySQL Server’ – I put localhost as per the PHPBB Config file – was that correct?
At the bottom of the setup page in WP there is this mesage
“phpBB Recent Topics News
Fatal error: Call to undefined method WP_Error::get_items() in /home/mydomain.com/public_html/wp-content/plugins/phpbb-recent-topics/display/admin-options.php on line 239″
I’d appreciate any suggestions.
Rob
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>I’m stuck.
How do set $PHPBBDB to DB_NAME? and where do I set this?
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Hello,
I can’t figure out what to input into the phpbb MySQL Database Name field
My main site si like: https://www.mysite.com
My wordpress site is located at: blog.mysite.com
My PHPbb forum is at: forum.mysite.com
in my config.php file I have
$dbhost = 'localhost';
$dbport = '';
$dbname = 'sc_phpbb';
If I try to input the dbname, I can’t have any connection
Can you help ?
Thank you !
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Hi,
I can’t figure out how to style the output.
Im using the plugin on my primary sidebar.
Thanks.
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>The error log shows lots of the following warnings… the plugin still generates the list though. Can I do something to correct the parameter warning?
[25-Apr-2012 10:53:58 UTC] PHP Warning: substr() expects parameter 3 to be long, string given in /home/public_html/wp-content/plugins/phpbb-recent-topics/display/display.php on line 118
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Is there any progress in making this plug-in able to be used twice? I would like to have 2 sections that show different topics from different forums. Is there any progress in making this happen? Thanks.
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>I am running both phpbb and wordpress on XAMPP on my PC.
They are using the same database but for development purposes sharing the same db user.
I therefore thought it would be simple to configure.
I have tried both secure and insecure but get the message ‘Database Error. Connectivity to phpBB failed. See README for help’ but strangely it brings back a list of the forums for excluding.
The widget displays the error ‘phpBB Error – phpbb_topics’
I’m not sure what I am doing wrong.
For good measure I tried granting the rights as suggested (although this may cause problems at the phpbb end) and used @localhost.
Any help or suggestions appreciated.
Thanks
Mark
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>phpBB Recent Topics News
Fatal error: Call to undefined method WP_Error::get_items() in …/wp-content/plugins/phpbb-recent-topics/display/admin-options.php on line 239
The fatal error screws up the display of the admin section.
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Hi!
I;ve used the phpBB_recent plugin in my wordpress and it works perfectly and i would like to know if it is possible to post recent topics from a specfic forum subject and how to do it?
Thx in advance
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Please provide where we can find phpbb MySQL Server?
On my forum config it says,
phpbb MySQL Server = localhost
Is that corrrect? Beacuse when I put localhost on phpbb MySQL Server, my website have become super slow.
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Plugin works fine, but there is an error message below the options page entitled “phpBB Recent Topics News”:
“Fatal error: Call to undefined method WP_Error::get_items() in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/phpbb-recent-topics/display/admin-options.php on line 239”
doesn’t seem to affect the functionality of the plugin, but I’m curious about that and just wanted to let you know so that you can maybe fix it with your next release/update. ??
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Hi!
It seems like whenever I activate this plugin and connect it to my forumsdb, a lot of the posts on my homepage lose their photos. I really cannot wrap my head around it, it is specifically once the plugin makes a successful connection to another db.
Any idea?
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>I feel like I’ve set everything up right, but I still get the error “phpBB Error -phpbb_topics” . I’ve granted my wp user select privileges to the right tables. In the plugin settings, it seems like connectivity access has been granted and my forums show up in the exclusion list (which is unchecked).
I’ve tried removing WHERE TEXT TOPIC APPROVED = 1 but nothing changed.
I’m running phpbb2 and WP 3.2.1. Is there anything else I should do to get phpbb-recent-topics to work?
Thanks!
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Hi guys. I have a site with domain name pindosiya.com and my forum has separate domain usbb.us When I click on the widget in the side bar I get to the forum page, but the url I get is https://pindosiya.com/usbb.us/viewtopic.php?p=24341#p24341
Just because I have pindosiya.com in front of the usbb.us the cookies are not saved by browser and my users have to login again to the forum.
How do I remove the domain name of my site (pindosiya.com) where people click on the widget, so when people click on forum they get straight to usbb.us?
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>I can add the widget to a sidebar and it shows the recent posts and even the tooltip text for the post content works. However, in a page or posts if I put in the tag as instructed, it merely shows the tag on the page like this:
{phpbb_recent_topics}
I thought I could just insert that tag in the HTML page. Is there something I’m missing?
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>I was wondering if there is a solution of removing the “RE:” part of every displayed topic.
I guess I could use preg_replace() or something similar but I really don’t know where to put it inside display.php, or even if I need to put it inside that file.
Maybe a future admin option to show/hide the “RE:” would be awesome!? ??
Thanks for a great plugin!
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Firstly, thanks very much for this plugin! It was easy to install, and just worked straight away for me on The Confident Man Project. One minor quibble though: Is it possible to support SEO URLs generated by phpBB SEO?
I use SEO URLs on The Confident Man Forums, but the links generated by phpbb_recent_topics use the non-SEO viewtopic.php?… syntax which phpBB SEO has to redirect to the SEO URL. I’d like to avoid the redirect, and avoid having non-SEO links visible on my site.
Keep up the great work!
Thanks, Graham
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>Getting the following error in the admin console for phpbb recent topics (0.7.1):
Fatal error: Call to undefined method WP_Error::get_items() in /hsphere/local/home/demandsucks/demandstudiossucks.com/wp-content/plugins/phpbb-recent-topics/display/admin-options.php on line 239
The line in question starts:
foreach ($lnx_feed->get_items() as $item){
I’ve just commented out the routine for now.
]]>I installed the plug-in and then there appears a ‘phpBB Recent Topics’ option on the Settings panel. When I click that option it comes back and says ‘Can’t select database…….’. There are no options to fill in and set up the database.
I would like to know how to get the screen as shown in screenshot-1.png so I can fill in the information.
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>First of, nice plugin linickx!
I was wondering if there any way to include the username of the topic author in the WP-Widget?
I would guess that display.php is the file to edit?
Best regards – Sinom
]]>Hi linickx
Great to see you are updating the plugin.
Just a small note, you did not update the notes, so now you see 0.7 update in dashboard, with 0.6 notes.
Just thought you would like to know and fix it.
L8r,
Number3
https://www.ads-software.com/extend/plugins/phpbb-recent-topics/
]]>