Custom blog avatars
- This topic has 2 replies, 2 voices, and was last updated 11 years, 9 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Thought I’d pass along this 30-second hack in case others found it useful. I’m sure there’s a more elegant way of doing this, so feel free to chime in if you can improve it.
In the CBox blog/sites directory, each blog is accompanied by the avatar of the site’s administrator. If there are multiple administrators, it seems to pick … well, I’m not actually sure how it chooses among the administrators, but it picks one.
This works fine for individual member blogs, but less so for collaborative or topic-focused sites. You may find yourself wishing you could use a specific user’s avatar or supply a custom avatar. Here’s some edits to /wp-content/plugins/bp-custom.php
that let you do just that.
You could also place this in your theme’s functions.php
if you control its development.
Thanks for writing up this snippet, Chris!