MiniBB News is a widget plugin for WordPress that shows the latest discussion on the sidebar. It is developed for my needs because i love the miniBB forum and i have integrade it to my blog. Feel free to download it, try it and and make any suggestions!

MiniBB News version 2.0
updated @ 21/07/2008

Download MiniBB News
(from the Wordpress Repository)

  • Description

Minibb News plugin sets a configurable widget that displays the latest miniBB discussions from your miniBB forums. It is functional and works without problems as you can see at my sidebar.

  • Usage

After activating the plugin go to the widgets area and load the minibb news widget at the widgets sidebar. Configure it and save. You can set the widget’s title, the path that your miniBB forums are installed, the number of posts that will be displayed at your sidebar, you can choose if you want to display the latest reply or the first post of the latest topic and the maximum number of words for each post. Every value is optional EXCEPT for the path that miniBB is installed and that MUST be somewhere inside your wordpress installation (with an ending slash). So if miniBB is installed at a folder named forums the correct value should be forums/ etc. If it is installed in a directory outside your WP installation you must edit the plugin by hand declaring it’s absolute path. The widget also assumes that WordPress and MiniBB shares the same database.

  • Important Notes

For users that posts with UTF-8 charset: In my installations of miniBB, even if i have changed the default iso-8859-1 at lang.php file and even that all my pages in which i integrade miniBB are all UTF-8, miniBB was storing the data in my database and was returning wrong charset and i couldn’t display the right UTF-8 characters from my forums.

The fix i found in miniBB support forums was that code:

As you see i added line 8 in the file setup_mysql.php and then all data in my DBase was stored with the correct charset.

  • Changelog
  1. Version 2.0: WP2.6 compatible.
  2. Version 1.8: A fix for WP2.5 Widget panel.
  3. Version 1.7: A fix to latest msg link.
  4. Version 1.6: If sorted by latest reply then link to latest msg.
  5. Version 1.5: Minor fixes and put it in subversion.
  6. Version 1.3: The date of latest post can be displayed. There’s a separated file which include 2 functions and some minor changes.
  7. Version 1.2: Still a Beta, fixed minor things.
  8. Version 1.1: Still a Beta realease, included some functions instead of all files, assumes that WPress and MiniBB shares the same DBase.
  9. Version 1.0: First Beta realease with lots of things to be done.
  • Credits

MiniBB News plugin is based on the code of the official FIRST PAGE NEWS addon of miniBB which was written by Paul Puzyrev, author of miniBB forum. I did nothing but modifying it’s code to use it as a widget in my wordpress installation. More info for miniBB and it’s addons can be found in the official site.

0 Comments

Post a Comment

Are you a SPAMMER?   YES     NO   (required)