Help with “use a filter with the ID of the blog” etc.
-
Hi. I’ve been trying for months, off and on, to get my blog listing to show the avatar of the associated group instead of my avatar (as the default). I finally dug into the code of the plugin to see what was going on and I see there is this comment in the function called “bp_blog_avatar()”. This explains why my avatar is showing up for every blog, but I still don’t understand what I need to do to change it.
I’m guessing the “future BuddyPress versions” have not yet materialized. So what’s this business about applying a filter? Any pointers most appreciated. I do have some basic PHP knowledge, just a little rusty.
I’m running BP 1.2.7 and WPMU 3.0.4
Thanks.
/***
210 * In future BuddyPress versions you will be able to set the avatar for a blog.
211 * Right now you can use a filter with the ID of the blog to change it if you wish.
212 * By default it will return the avatar for the primary blog admin.
213 */
- The topic ‘Help with “use a filter with the ID of the blog” etc.’ is closed to new replies.