bbPress Plugin Browser »

Bavatars (0.4.1)

Download

Version: 0.4.1

Other Versions

Last Updated: 2009-8-21

Requires bbPress Version: 0.9 or higher

Compatible up to: trunk

Author Homepage »

Plugin Homepage »

Average Rating

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

Your Rating

Author: Nightgunner5

Gravatar - Globally recognized + bbPress = Bavatar

Users can upload avatars to the forum, which are automatically resized and cached.

Non-images cannot be uploaded.


  1. Paultjuh2

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    "Fatal error: Call to undefined function is_email() in /home/-name-/public_html/bb-plugins/bavatars.php on line 44"

    bbPress 0.9.0.4

    Posted: 3 years ago #
  2. Thanks, Pauljuh2. Please update to 0.2.1.

    Posted: 3 years ago #
  3. johnhiler

    Member

    This sounds very interesting!

    I'm currently using Avatar Upload:
    http://bbpress.org/plugins/topic/avatar-upload/

    Can you give a bit of detail on how this is different from Avatar Upload? I'm definitely interested in switching from Avatar Upload, but would love to hear more about how this plugin differs from that one first...

    Thanks!

    Posted: 3 years ago #
  4. SteveG190

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    So far I think this is a great replacement for the old Avatar Upload due to it's sheer simplicity. I have a couple of feature ideas/suggestions.

    1. I would love to see the ability for the admin to define a new default avatar, like maybe defaulting to an image that's named "default.gif" if it exists in the avatar folder if you want to keep it simple.
    2. The option to delete your avatar if the user wants to go back to using a gravatar.

    Keep up the fantastic work!

    Posted: 3 years ago #
  5. Thank you SOOOOO much!

    I've spent several days to make avatar work. But failed.
    In the end you helped me to get rid of such a horrible trouble.

    Merci mill mill de fois!

    Posted: 3 years ago #
  6. jonhiler:
    The Avatar Upload plugin differs mainly in three ways:

    • Avatar Upload puts all the avatars in one folder. Bavatars puts the avatars in folders based on the MD5 hashsum of the user's ID
    • Avatar Upload requires files to be put in multiple directories when you install. Bavatars only needs to be uploaded to your my-plugins folder and activated.
    • Avatar Upload requires template editing. Bavatars hooks into the Gravatar functions and automatically changes from Gravatars to Bavatars when there is a Bavatar available.

    SteveG190:

    1. Bavatars uses native Gravatar functionality when an avatar is not available. (Look near the bottom of /bb-admin/options-general.php for some options)
    2. Deletion is a good idea. I'll get to work on it right away.

    venividi:
    I'm happy I could help. :D

    Posted: 3 years ago #
  7. SteveG190

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    I guess I'm just picky that I don't like the default silhouette or any of the other options and designed a default image that blends in more with my forum theme. How would I go about replacing the default Gravatar silhouette with my own default via a simple function? I've found where it's defined in functions.bb-pluggable.php but I can't figure out how to redefine the default url to my own image that I have in my own directory rather than the one from Gravatar.com.

    Posted: 3 years ago #
  8. iguild

    Member

    I've uploaded this plug-in, activated it, but see nothing anywhere in my profile that would allow uploading of an avatar. What am I missing here?

    Posted: 3 years ago #
  9. eclipsei

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    I am getting:

    Avatar uploaded successfully!

    Followed by

    Fatal error: Call to undefined function bb_get_uri() in /homepages/0/d245309873/htdocs/forum/bb-plugins/bavatars/bavatars.php on line 82

    Posted: 3 years ago #
  10. eclipsei

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    iguild - Using the default template there should be a 'avatar' tab on the top right hand side

    With my own error, I can no longer view any topics which contain posts from the user I tried to upload the avatar to - brings up the same Fatal error on line 82

    Posted: 3 years ago #
  11. SteveG190: Put bb_update_option( 'avatars_default', 'URL GOES HERE' ); at the bottom of bavatars.php on the line before ?>. You can remove the bb_update_option call as soon as the page is loaded the first time after it is added.

    eclipsei: I have fixed that error now. Thanks! Please download version 0.3.1.

    Posted: 3 years ago #
  12. eclipsei

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Hi Nightgunner, I tried it and got the same error.
    Compared the files against the previous version and only the version number at the top has changed, the rest is all identical :o

    Posted: 3 years ago #
  13. eclipsei: That's strange... I must have forgotten to save. Wait about five minutes and try again.

    Posted: 3 years ago #
  14. Integration with WordPress, there error finding url,
    Bavatar intergrate with wordpress or not?

    What's the url, if it is, for 'user-photo-for-bbpress'?

    Thanks Nightgunner5.

    Posted: 3 years ago #
  15. eclipsei

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Thanks - got it working now :)

    Any idea what I would need to do to get the same avatar showing up beside comments from the same user in WordPress?

    Posted: 3 years ago #
  16. venividi: So far, Bavatars only works with deep integration. However, I think it would be possible to make a WordPress plugin that uses the same avatars with simple integration. Edit: The functionality you are looking for is in version 0.4.

    Posted: 3 years ago #
  17. I'm not code-fluent. Almost novice. looking into the bavatar.php, I couldn't edit code as to make it work at wordpress.

    Thanks anyway, Nightgunner5.

    Posted: 3 years ago #
  18. venividi: Use bavatars-wp.php in your WordPress installation.

    Posted: 3 years ago #
  19. Hey, I'm looking at the bavatars-wp.php file and I'm wondering, what should I put for BAVATARS_BBPRESS_PATH? Is this the ABSOLUTE path? When I tried it out, it didn't work.

    [Edit] Never mind, I got it working! Sweet plugin, thanks :D

    Posted: 3 years ago #

RSS feed for this topic

Add a Comment »

You must log in to post.