After weeks trying to find something that would work, I found the code on wordpress forums to remove completely gravatars (and redirects it was causing.. )
here is it:
function bp_remove_gravatar ($image, $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir) {
$default = get_stylesheet_directory_uri() .'/images/mystery-man.jpg';
if( $image && strpos( $image, "gravatar.com" ) ){
return '<img src="' . $default . '" alt="avatar" />';
} else {
return $image;
}
}
add_filter('bp_core_fetch_avatar', 'bp_remove_gravatar', 1, 9 );
function remove_gravatar ($avatar, $id_or_email, $size, $default, $alt) {
$default = get_stylesheet_directory_uri() .'/images/mystery-man.jpg';
return "<img alt='{$alt}' src='{$default}' height='{$size}' width='{$size}' />";
}
add_filter('get_avatar', 'remove_gravatar', 1, 5);
function bp_remove_signup_gravatar ($image) {
$default = get_stylesheet_directory_uri() .'/images/mystery-man.jpg';
if( $image && strpos( $image, "gravatar.com" ) ){
return '<img src="' . $default . '" alt="avatar" width="60" height="60" />';
} else {
return $image;
}
}
add_filter('bp_get_signup_avatar', 'bp_remove_signup_gravatar', 1, 1 );
As I am now planning to disable buddypress completely. I am looking for an easy way to let users upload their avatars in bbpress, anyone tried it already?
The newest version of bbPress has caused a couple of my sites plugins/short-codes to display incorrectly. The plugin in question is Cookie Law Info, it appears to remove it format i.e. no button image and text not centred etc. Also the short-codes for my elegant themes, theme do not appear to be displaying correctly either.
I’ve updated my site to 2.4 and enabled hierarchical replies and now all the replies are only appearing on a single page. If i disable hierarchical replies in the dashboard the links to page 1, 2, etc reappear. Is that the way it’s supposed to work or could i have a problem somewhere in my site causing this to break?
I have just updated bbPress to 2.4 on a site running the latest version of the Genesis framework. When bbPress is activated, all posts and pages lose their titles – I just get a dash and the site title in the page source. This happens with all other plugins deactivated and with any Genesis child theme, as well as the naked framework itself. This was not an issue prior to the 2.4 release of bbPress earlier today. Any ideas for what I can do to fix this?
Hello hello,
This is my first post so sorry if i post it in the wrong place :$
I wanted to hide my forum by default,I achieved this. Having achieved this, my question: Where in earth do I change the friendly “Oh bother! No forums were found here!” message???? Can’t find it anywhere! I am using bbpress 2.4
Thanks in advance
Hi,
I would like to put in my WP menu a customized navigation button that leads the logged in current user to his/her bbpress profile.
Basically, I want the WP menu bar to have a button that enables the user to navigate to his/her bbpress profile. What is the CCS function code to put in the menu bar?
Currently it’s too complicated for a user to find his/her bbpress profile and navigate to the forum area. Any information would be appreciated.
Drop feedback about bbPress 2.4 here.
See the 2.4 milestone on Trac for changes.
If your viewing this from the forum and not the blog check this 🙂 https://bbpress.org/blog/2013/09/bbpress-2-4-released/
Hi *,
I’m trying to setup bbPress and BuddyPress in a bi-language site being English and Dutch. I’m using the PolyLang plugin for that.
However, after following the instructions, everything stays in English.
Any suggestions how to make things work?
Best regards,
Will Moonen
Hi,
I have a buddypress installation + bbpress1, with more than 12000 topic replies. I tried migrating to bbpress2 on the host (online). but after lots of timeout errors, I tried in a localhost. but the problem is, it takes a long time to repair forums. I’m waiting 4 hours for “Recalculate last activity in each topic and forum” beig done, but still it’s on progress.
what can I do to do the migrating process faster?
Hi guys,
On my site, bbPress and the “Recent Post” widget of my blog conflict. Could anyone please give me some clue to fix this?
WordPress version:3.6
bbPress version: 2.3.2
My site:http://geekroo.com/site/forums
Please refer to the right sidebar and the footer on the page.
Cheers!
Karl