This plug-in enables the Sterling Adventures bbPress forum (News) to use the avatars from the blog (Adventures). It isn’t an elaborate plug-in, but I am fairly proud of it, if only because it only took 30 minutes to write. So, I think it is worth sharing…
The plug-in is available as a download here.
All I ask is that you leave your greeting card here (i.e. leave a comment π― ) and credit the plug-in (i.e. include a link to this page) on your site.
Instructions:
- Just put the plug-in into your ‘my-plugins’ directory (if this doesn’t make sense it probably isn’t something you should be trying π ) and activate it.
- Then include the following (or similar) code where you want the avatar to show. An example
posts.php
template file is included in the download.
<?php
if(function_exists('pws_get_avatar')) pws_get_avatar();
?>
With great regret I have closed comments on this post as I’m being deluged with queries that often boil down to “how to” requests and not issues with the plug-in, which works perfectly! π So, if you want support, even advice use the Feedback link as ask away…
But please note I may have to ask for a donation before I’ll look at “how to” questions…
Hiya,
after implementing the code into post.php (MistyMorning theme) I get the gravatar shown, but before it there is this error msg:
bbPress database error: [Table 'xyz.wp_options' doesn't exist]
select option_value from wp_options where option_name = 'gravatar_local' limit 1
any idea how to fix that? Id really appreciate it π
thanks in advance,
Georg
I solved it.
The plugin doesn’t recognize when the local wordpress blog is from a WordPress MultiUser installation. Since WP MU does not have a wp_options mysql table, but numbers it like wp_x_options, the plugin simply didnt find it. Other plugins work, they seem to find it, but here it seems to be hardcoded. I changed the prefix in the plugin php, now it works for me (but it wouldnt work with a second blog, since this would have wp_2_options…).
Maybe this could be fixed, so this plugin would be fully compatible to WP MU? π
Georg, thanks for your comments – I didn’t design the plug-in for WP MU, sorry. I’m glad you managed to sort it though! π
β The News section of this site has been removed now. So, no, you haven’t gone mad wondering what I’m writing about above. The plug-in works great, and bbPress is good too, this site simply doesn’t need a bulletin board at the moment…
Therefore, this thread is closed to comments now. If you do have comments on this plug-in, please use the feedback link below.