Apple Rinquest
asked 5 years ago

Hi,
 
I follow the link in order to create the profile page as same as your website (http://www.designwall.com/guide/dw-question-answer-plugin/#buddypress_integration). I add the avatar via WordPress profile page. The avatar shows on the questions list (every question posted that I posted). But when I go to my profile page that created by buddypress. My avatar won’t show.
 
I check the img element of the avatar from profile page. It uses http://gravatar.com/avatar/xxxxx
But I check the img element of the avatar from dw-questions list. It uses the image from WP path. 
Is there any way to fix this issue?
 
Many thanks,
Apple

1 Answers
DominicStaff
answered 5 years ago

Hi,
To show the avatar in both questions list page and your profile page, just go to http://gravatar.com/ to creat your own gravatar account ( if you haven’t yet created ). Then, upload your avatar as usual via your gravatar profile. Please remember that, the email address you added at gravatar must be the email address you used at your WordPress site.
 

Apple Rinquest
replied 5 years ago

Thank you so much for fast reply. For my case, the customer uses the simple-local-avatar plugin. So I need to use the local avatar only. I found the bp_displayed_user_avatar function in member-header.php in BuddyPress plugin. So I copy this file and paste in buddypress folder in the active theme. Then I change the bp_displayed_user_avatar function to get_avatar function. Because the bp_displayed_user_avatar function uses the gravatar only. Again, thank you so much for reply and explanation.

Powered by DW Question & Answer Pro