[HOME]

Avatar Plugin for BBPress

Plugin Name: Avatar
Plugin URI: http://faq.rayd.org/bbpress_avatar/bb-avatar.zip
Description: Allows users to specify an external address to an avatar that will be shown when they post
Author: Joshua Hutchins
Author URI: http://ardentfrost.rayd.org/
Version: .73a

  1. Put the file bb-avatar.php into your my-plugins directory (in the bbpress root directory)
  2. Add "post_avatar();" (between the php tags) in post.php or wherever you want it if using your own template.

NOTE: If using the default template, you MUST change style.css so that avatars can fit in the author info area.

I made these changes in style.css to allow for a 150x150px avatar

.post {
min-height: 200px;
}

.threadauthor {
margin-left: -165px;
overflow: hidden;
position: absolute;
max-height: 215px;
width: 150px;
}

NOTE: .post did not exist previously, but the div's did exist. .threadauthor did exist, and I made a few changes to it.

For IE6 fixes, someone uses this layout (thanks Circuit)

.post {
min-height: 150px;
height:auto !important;
height:150px;
}

.threadauthor {
margin-left: -100px;
overflow: hidden;
position: absolute;
max-height: 150px;
height:auto !important;
height:150px;
width: 100px;
}

Download version .73a here

Fixes in .73a

  • Adjusted implementation so that core files no longer have to be changed
  • Changed readme to reflect the change

Download version .73 here

Valid HTML 4.01 Strict