[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f1kGtkCBsIoovo4KG_gvNrJTIuY3jPBRyVkOSINkSbiM":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"linickx","https:\u002F\u002Fprofiles.wordpress.org\u002Flinickx\u002F",1,50,85,30,84,"2026-04-05T01:52:22.870Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":6,"last_updated":21,"tested_up_to":22,"requires_at_least":23,"requires_php":24,"tags":25,"homepage":31,"download_link":32,"security_score":8,"vuln_count":33,"unpatched_count":33,"last_vuln_date":34,"fetched_at":35},"phpbb-recent-topics","phpbb_recent_topics","0.7.1","\u003Cp>Do you have a phpBB forum, do you want to drag your blog readers into your forum ? Then this plugin might just help, you can include somewhere in wordpress a list of recent phpbb threads (topics) in a page, a post, and even in your theme – so your sidebar for example !\u003C\u002Fp>\n\u003Ch3>A bit about Database configuration.\u003C\u002Fh3>\n\u003Cp>If wordpress & phpBB share a DB already then set $PHPBBDB to DB_NAME and everything will be fine, else you.re going to need to GRANT the wordpress user read access to phpBB. (If you really need to, you can store the phpbb databse credential in the plugin using the “Insecure” connectivity method.)\u003C\u002Fp>\n\u003Ch3>How to GRANT wordpress read only access to phpBB ?\u003C\u002Fh3>\n\u003Cp>If you don.t know it already you need to find your wordpress mysql user id, it.ll be in wp-config.php\u003C\u002Fp>\n\u003Cpre>\u003Ccode>define('DB_USER', 'wp_user');     \u002F\u002F Your MySQL username\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>and you should have already found your phpbb database & table for the above.\u003Cbr \u002F>\nYou need to type the following syntax into your mysql database\u003C\u002Fp>\n\u003Cpre>\u003Ccode>GRANT SELECT ON phpbb_database.phpbb_topics TO wp_user@localhost;\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>AND\u003C\u002Fp>\n\u003Cpre>\u003Ccode>GRANT SELECT ON phpbb_database.phpbb_forums TO wp_user@localhost;\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>AND\u003C\u002Fp>\n\u003Cpre>\u003Ccode>GRANT SELECT ON phpbb_database.phpbb_posts TO wp_user@localhost;\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>this can be achieved by logging into phpmyadmin as your phpbb user, selecting SQL and pasting the correct GRANT into the text box.\u003C\u002Fp>\n\u003Ch3>How to use the Insecure Database Connectivity Method\u003C\u002Fh3>\n\u003Cp>From the phpbb_recent_topics admin \u002F settings page, tick the .Enable Insecure Database Connection. box, and submit, when the page re-freshes you.ll have some more boxes to populate, from your phpbb config.php fill in\u003C\u002Fp>\n\u003Cpre>\u003Ccode>$dbuser = phpbb MySQL Database UserName\n$dbpasswd = phpbb MySQL Database Password\n$dbhost = phpbb MySQL Server\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Click update, and you should be connected!\u003C\u002Fp>\n\u003Ch3>The Callback function\u003C\u002Fh3>\n\u003Cp>To allow users to customize what is \u002F can be displayed a callback function \u003Ccode>phpbb_topics_callback\u003C\u002Fcode> has been implemented.\u003C\u002Fp>\n\u003Cp>In ticket 1216 (https:\u002F\u002Fplugins.trac.wordpress.org\u002Fticket\u002F1216) phil suggested that the forum name should be displayed within the topic list; the following code is an example use of the new callback function and should be added to your themes functions.php\u003C\u002Fp>\n\u003Cpre>\u003Ccode>function phpbb_topics_callback($phpbbdb, $wpdb, $lnx_PRT_options, $topic) {\n\n        \u002F\u002F GET FORUM WHICH POST IS IN - Phil Ewels, 26\u002F09\u002F2010\n        $sql_query = \"SELECT * FROM $lnx_PRT_options[prt_phpbb_ft] WHERE forum_id=\" . $topic->forum_id. \" LIMIT 1\";\n\n        # Run Query\n        if ($lnx_PRT_options['prt_phpbb_dbinsecureon'] == \"1\") {\n                $forum = $phpbbdb->get_row($sql_query);\n        } else {\n                $forum = $wpdb->get_row($sql_query);\n        }\n\n        echo \"\u003Cbr \u002F>\u003Csmall>\" . $forum->forum_name . \" \u003C\u002Fsmall>\";\n\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The following variables can be used within your callback function:\u003Cbr \u002F>\n* $wpdb\u003Cbr \u002F>\n** If using Secure Connectivity this is a connection to your PHPBB Database\u003Cbr \u002F>\n** If using Insecure Connectivity this is the standard WordPress Database\u003Cbr \u002F>\n* $phpbbdb\u003Cbr \u002F>\n** If using Secure Connectivity this will be NULL\u003Cbr \u002F>\n** If using Insecure Connectivity this is a connection to your PHPBB Database\u003Cbr \u002F>\n* $lnx_PRT_options\u003Cbr \u002F>\n** An array of the phpbb-recent-topics settings\u003Cbr \u002F>\n* $topic\u003Cbr \u002F>\n** The current topic, with associated attributes.\u003C\u002Fp>\n","This plugin grabs your recent phpBB forum topics for you to display in wordpress.",25054,80,"2011-07-08T12:39:00.000Z","3.2.1","2.0.9","",[26,27,28,29,30],"forum","phpbb","posts","sidebar","topics","http:\u002F\u002Fwww.linickx.com\u002F3311\u002Fphpbb_recent_topics-version-0-7","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fphpbb-recent-topics.0.7.1.zip",0,null,"2026-03-15T15:16:48.613Z"]