Forum Replies Created
-
Hi @henrywright
Thanks for the idea!
It is possible to replace the existing users avatars?Strange things to this forum. I opened this topik 3 days ago but last activity displayed more the year ago and it never been on top page.
The question is still relevant!
fixed.
It was BuddyPress Groupblog issue.Is that even possible?
Thanks for the advice but this method completely remove this field from the message form.
I would like to make this field not required to fill.
Is it possible to do?Last BuddyPress Groupblog here:
https://wordpress.org/extend/plugins/bp-groupblog/Hi @chouf1,
Certainly it isn’t default behaviour.
But If the basis Group Forums is bbpress it can be done.
The more so in the database the name of forums are recorded.
Maybe someone could suggest a code which could have list forums?Hi @zachary-dubois
Have you activated BP_ENABLE_MULTIBLOG?
If yes, you can try this desision:
https://buddypress.org/support/topic/avatars-not-showing-with-define-bp_enable_multiblog-true/#post-149619You are should add it to bp-custom.php
If you don’t have this file:
https://codex.buddypress.org/developer/customizing/bp-custom-php/Hi @fivehead
I had already found decision for me. This small hack completely fixed avatar and group avatar problem for my site in MULTIBLOG mode:`
/* This fixes the MULTIBLOG avatar problem */
function nfm_bp_avtar_upload_path_correct($path){
if ( bp_core_is_multisite() ){
// $path = ABSPATH . get_blog_option( BP_ROOT_BLOG, ‘upload_path’ );
$path = ABSPATH . ‘wp-content/uploads/’;
}
return $path;
}
add_filter(‘bp_core_avatar_upload_path’, ‘nfm_bp_avtar_upload_path_correct’, 1);function nfm_bp_avatar_upload_url_correct($url){
if ( bp_core_is_multisite() ){
$url = get_blog_option( BP_ROOT_BLOG, ‘siteurl’ ) . “/wp-content/uploads”;
}
return $url;
}
add_filter(‘bp_core_avatar_url’, ‘nfm_bp_avatar_upload_url_correct’, 1);
`You can not use define(‘BP_ENABLE_MULTIBLOG’, true); and define(‘BP_ROOT_BLOG’, 1), at the same time.
Looks like i have the same problem. Do you know any solutions?
Looks like i have the same problem. Do you know any solutions?