@daking240 – sorry, I’ve no idea what’s happening there – I’m looking into the code now to see if there is anything.
Are you running any other plugins related to avatars/gravatars/wavatars?
What’s the url of your blog in it’s normal view?
Hey Jon,
Our site can be found at: http://www.360Sync.com
We have a plugin simply called Gravatar running, but not even sure if it is necessary anymore now with the latest version of WordPress installed.
Plugin Contributor
B.
(@bandonrandon)
@daking240,
I noticed this the other day too, basically what’s happening is that WPBook is overwriting the WordPress default avatar. I noticed this with my blog too just haven’t found the time to fix it or find a solution.
For now you want to set the default Gravatar in WPBook admin settings to your 32×32 icon. I set the icons to 50×50 because that’s what the Facebook square icons are.
If you want to disable the Facebook profile icons all together you can delete or comment out line 1195 in wpbook.php add_filter( 'get_avatar','wpbook_get_facebook_avatar', 1, 3 ); the line that overrides the standard WordPress Gravatar with the WPBook one.
You can also modify how Gravatars appear by modifying the wpbook_get_facebook_avatar function 1145-1173 of wpbook.php this is where you can set the size to 32 keeping in mind that avatars from FB will be larger.
Hope that helps if you need/want more information just let me know.
PS: aftever WP 2.6 (I think) gravatars are build in so you don’t need the gravatar plugin.
@bandonrandon Would it make sense to add an option for this?
If they turn it off (by disabling that add_filter) this will mean that they won’t see Facebook avatars in comments made by users inside FB?
Plugin Contributor
B.
(@bandonrandon)
@johneckman, I was hoping to create an option original or to only show the FB avatar inside the FB app view. However, a lot of feedback i got was to to show them inside and outside of Facebook.
With regards to options I think that’s what we should do “enable FB avatars outside of the app view” That would call the above hook. I think to make that work we’ll have to manually call wpbook_get_facebook_avatar() inside theme/index.php. It may be a good idea to wrap the avatar filter in the “show Gravatar option” My original implementation was sorta quick and dirty. I’m all for improved functionality.
Plugin Contributor
B.
(@bandonrandon)
Glad you got it solve.
@johneckman I just relized something John. I’m not wrapping add_filter( 'get_avatar','wpbook_get_facebook_avatar', 1, 3 ); in the show_gravatar setting. Oops!