k2 for bbPress – Updated v0.02

K2 in Action on bbPress

It’s been a while since I’ve used bbPress, but a major milestone from the automattic guys has pretty much broken the theme.

I’ve done a complete re-write; as before I’m only distributing the style.css (and a screenshot) no template.php files, this ensure that no security issues are associated with my theme.

Installation

  • Create a “my-templates” directory in your bbPress installation directory
  • Download unzip k2 for bbpress in that directory
  • Under “design” and “themes” select k2
  • done :)

The screenshot has been updated, existing users may find things move a little, this is due to the changes in bbPress, but hopfully it’s all for the better.

md5 of k2_for_bbPres_v0.02.zip: c87eb943165a5d909dced2860021107f

bbCode plugin for bbPress

I’ve ported the bbCode Plugin for WordPress by Jeff Moore to bbPress, seems to work fine; not all the bbCode is marked up as it’s not allowed by default with bbPress, I plan to fix that in version 0.2, but for now Enjoy !

Download bbCode Plugin for bbPress

Installation is simple in the current implementation of bbpress, just rename bbpress_bbcode.txt to bbpress_bbcode.php and place in your my-plugins directory (See bbpPress documentation for full details.)

This plugin has been tested on v0.75 & 1.0-Alpha so hopefully will work on anything in the middle.

Avatar BBPress Plugin Browser

I’ve been playing with bbpress, by default there are no Avatars, I’ve made a little adjustment to the plugin by Joshua Hutchins

Here is my Forum Post: Avatar  bbPress plugin browser

I wrote an extra function for your plugin so that the avatar can be displayed on the profile page…

function profile_avatar() {
global $user;
if ( get_avatar_loc ( $user->ID ) ) {
echo ‘<img src=”‘ . get_avatar_loc( $user->ID ) . ‘” alt=”‘ . $user->user_login . ‘s Avatar”‘ . ‘ />’;
}
}

Styles & img sizes could be added into the tag as desired…. then in profile.php template, add…

<?php if ( function_exists(‘profile_avatar’) ) { profile_avatar(); } ?>

hope that helps :-)