Info
- 2 posts
- 2 voices
- Started 2 years ago by rameshjmenon
- Latest reply from gerikg
- This topic is not resolved
Avatar sharing between buddypress and bbpress
-
- Posted 2 years ago #
Hello All,
I have decided to make wpmu as the only point of registration on my website http://www.oraclepronet.com though I have buddypress and bbpress configured with cookie sharing (it works well). Since I use the same user table and since I have loaded the wp-blog-header.php in bb-config.php using require_once, isn't it possible for me to display the avatars used by buddypress users in bbpress ?I have tried modifying the top posters plugins to use the get_avatar($k->posterid,'32') function and it displays a mystery man icon instead of the correct buddypress/wpmu thumbnail.
Too much to ask for? I really don't want to allow users to add thumbnail from all places. (blog, user profile, bbpress profile)
Kindly help
Best Regards
Ramesh J Menon
http://www.oraclepronet.com -
- Posted 2 years ago #
this is the code I use... (in post.php) hopefully that can lead you in the right track to finding the right code for your plugin.
<?php echo bp_core_get_avatar( get_post_author_id() ); ?> -
You must log in to post.