Forum Replies Created
-
Unfortunately, none of these things seem to be fixing the forums…really frustrating, as we were hoping to launch in the next few days.
I’m able to view the forums page. When I try to create a topic, when I click “Post Topic” it simply reloads the page without creating the topic.
I’ll take a look at the database and see if that value is correct. Thanks for pointing me in the right direction.
Under Forums Setup is says everything is installed correctly, so who knows.
In your theme’s CSS file, you need to declare this:
#wp-admin-bar ul.main-nav li.align-right:hover{
background: none !important;
}That should do it, as long as you have not modified the code above at all.
Hmmm…Ronia, the link to my site is http://www.realestatemarbles.com.
Feel free to check it out.
My bp-custom file is placed in wp-content/plugins.
Let me post the entire code just for you…other issues could be you .htaccess file. Did you copy in the Multisite codes? It could also be an issue in wp-config.php…so many possible issues.
Take a look at this code again.
function nfm_bp_avtar_upload_path_correct($path){
if ( bp_core_is_multisite() ){
$path = ABSPATH . get_blog_option( BP_ROOT_BLOG, 'upload_path' );
}
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 may need to adjust the
$url = get_blog_option( BP_ROOT_BLOG, 'siteurl' ) . "/wp-content/uploads/"; }
to show your full address instead of ‘siteurl.’ So use http://www.example.com/wp-content/uploads/ instead. That may fix your issues…if not, I would suggest contacting Automattic and Buddypress support and see what they have to say.Sorry, that is what I meant. I am using WordPress 3.0 with multisite activated. That is the exact code. I am running WordPress 3.0 and Buddypress 1.2.5. I have this code installed in my bp-custom.php file and it activates the avatars across the whole domain. Are you absolutely sure you have this all in the right place? Did you put wrapped around the code I provided?
Here is the code I used. Put this in bp-custom.php in your plugins folder, and it should correctly display your user’s BP avatar across an entire WordPress MU install. Lemme know if it works!
function nfm_bp_avtar_upload_path_correct($path){
if ( bp_core_is_multisite() ){
$path = ABSPATH . get_blog_option( BP_ROOT_BLOG, ‘upload_path’ );
}
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);Originally found here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/custom-avatars-arent-shown-on-single-blogs-in-wpmu/
It has to do with where Buddypress is looking for your uploaded avatars. By default, it is pointed to the right place. I don’t remember the exact code to fix it, but I’ll look it up right now to help you out. It fixed the issue for me, so hopefully it will for you. Be back soon.
Ah, alright.
Thanks for the help. That’s pretty strange. Considering that the avatars show up on the WordPress admin panel, you’d think they work on sub blogs.
I tried using the bp-custom.php file in the wp-content/plugins/ folder, but I could not get it to work.
Could anyone upload an example version of this that I could tinker with to fit my needs?
My problem is I am running WordPress 3.0 RC1, with WPMU and Buddypress installed. Avatars work on the main blog, but not on sub-blogs, so I need to figure this out. For the sub-blogs only the Mystery Man appears.