If wordpress & phpBB share DB already then set $PHPBBDB to DB NAME and everything will be fine, else you re going to need to GRANT the user read access to phpBB ( If you need to, you can store the phpbb databse in the plugin using the.
From the phpbb recent topics admin settings page, tick .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 $dbuser = phpbb MySQL Database UserName $dbpasswd = phpbb MySQL Database Password $dbhost = phpbb MySQL Server.
Configure the plugin, you need to tell wordpress about phpbb, this is done in 'Settings -> 'phpBB Recent Topics.
The following Settings are required * The name of your phpBB database * The name of the table where topics are held * The full url of your forum for links * The number of topics to show * The Date Formatting, i.e. M y - g i a similar to the WordPress.
To output the list of topics in page or post. * create new page post, type `{phpbb recent topics}`, hit 'Publish or 'Create new page.
To output the list of topics in your sidebar using the widget. * click design in the dashboard * click widgets. * next to phpBB Recent Topics click add. * click save changes..
In the WordPress 'Options -> 'phpBB Recent Topics, set 'The number of topics to show to 10, and then in your sidebar include...
The database credentials are stored in the WordPress CLEAR TEXT, this is bad, as anyone with access to WP DB can get full access to phpbb.
Yes, use Insecure Connectivity method, and change the host to IP address of the server...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more