bbPress Plugin Browser »

bb-myAvatars (0.1)

Download

Version: 0.1

Last Updated: 2007-2-24

Requires bbPress Version: 0.8 or higher

Compatible up to: 0.8

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2)

Your Rating

Author: jcorless

Allows users to use the MyBlogLog avatars

<!--plugin-data-description-->
<p>This is a direct port from the WordPress plugin MyAvatars by Napolux http://www.napolux.com/projects/myavatars/ - Thanks.</p>

<!--plugin-data-installation-->
<p>Add bb-myavatars.php, bb-myavatars-style.css to your /my-plugins/ directory.</p>

<p>I have also included sample versions of profile.php and post.php based on the Kakumei theme. These should be placed under my-templates/<theme-name>. </p>

<p>In addition I've added it to the private messaging plugin and a sample of that can be found in postmsg.php</p>

<p>Borrowed the following idea from the other avatar plugin by Joshua Hutchins http://faq.rayd.org/bbpress_avatar/ - Thanks</p>

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

<p>I made these changes in style.css to allow for a 150x150px avatar</p>

<p>.post {
min-height: 150px;
}</p>

<p>.threadauthor {
margin-left: -110px;
overflow: hidden;
position: absolute;
max-height: 215px;
width: 160px;
}</p>

<p>NOTE: .post did not exist previously, but the div's did exist. .threadauthor did exist,</p>

<!--plugin-data-other_notes-->
<h3>Configuration</h3>
<p>The plugin offers the following template tags for use in your templates.</p>

  1. bb_myavatars($id,$gravatar = false): Displays the avatar for the users id.

  1. Oops forgot to change the readme header text

    Posted: 5 years ago #
  2. This produces errors:

    on posts it produces this error:
    Fatal error: Call to undefined function: pm_user_link() in /bb-templates/kakumei/post.php on line 9

    on profile it produces this error:
    Fatal error: Call to undefined function: profile_last_online() in /bb-templates/kakumei/profile.php on line 16

    Posted: 5 years ago #
  3. After I installed Private Messages the first error listed above disappeared. But second error is still there.

    Posted: 5 years ago #
  4. Looks like your plugin requires two other plugins to work properly:
    -last online (no idea what or where this is)
    -private messages

    Thing is, what if I don't want to install those plugins?

    Sorry, let me back up...
    I would love an avatar plugin that allows users to use one of these three options:
    -gravatar
    -mybloglog pic
    -specify their own URL for avatar

    And I'd love for it to work with any combination of other plugins.

    Posted: 5 years ago #
  5. I'd love that sort of plugin as well - I've been asked for it by my own forum users - I am working on merging the 2 avatar plugins together but they are written very differently and I'm not the hottest coder on the block when it comes to php - Java is my thang normally.

    I'll have a go - the last online error comes from the Simple Online list plugin http://bbpress.org/plugins/topic/24 - just remove < ? php profile_last_online() ; ? > from profile.php

    Posted: 5 years ago #
  6. brayvo

    Inactive

    I have some problem with include <?php post_avatar(); ?> on profile.php.
    Error: bb_get_user needs a numeric ID.

    Posted: 5 years ago #

RSS feed for this topic

Add a Comment

You must log in to post.