Fondeli
Expert
Gunning for gold!
Member Likes (0)
Hi,
I have installed the buddypress sliding panel on my main site and some sub domains. It works great, except on the sites that are using the dixi theme, the panel seems to be aligned to the right instead of the middle.
Here you can see it on the main site: http://fondelifair.com
And on a sub site using the dixi theme: http://beading.fondelifair.com
It also seems to have taken on the css from the theme and not the plugin.
I am also having a problem displaying avatars on my sub sites. I have automatically upgraded wordpress for the last upgrade, completely forgetting about changes that maybe made, so I think this problem may relate to the .htaccess file. Here is a copy of my .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{SERVER_PORT} =80
RewriteCond %{HTTP_HOST} ^mail(\.[^.]+)+$
RewriteRule .* http://%{HTTP_HOST}:2096 [R=301,L]
# uploaded files
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
RewriteRule ^(.*/)?avatar/(.*) wp-content/avatar.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]
RewriteRule . index.php [L]
RewriteCond %{HTTP_HOST} ^craftblog.eu$ [OR]
RewriteCond %{HTTP_HOST} ^www.craftblog.eu$
RewriteRule ^/?$ "http\:\/\/fondelifair\.com" [R=301,L]
RewriteCond %{HTTP_HOST} ^craftblog.ie$ [OR]
RewriteCond %{HTTP_HOST} ^www.craftblog.ie$
RewriteRule ^/?$ "http\:\/\/fondelifair\.com" [R=301,L]
It would be great if you could have a solution to these!
Thanks!

Responses (11)
Member (joined April 2009) Likes (0)
Hiya Fondeli,
Let's take a look:
For me, both the sites you linked to are showing the panel slider on the right-hand side of the page. I'm using firefox on the mac, what browser are you seeing this happen in?
First of all, our Avatars plugin is not compatible with BuddyPress (BP has it's own avatar system). Also, we have an updated version of the avatars plugin that requires no htaccess rules at all:
http://premium.wpmudev.org/forums/topic/avatars-plugin-enhancements
Hope this helps.
If you need further troubleshooting with the dixi theme let us know and we'll take a look with you.
Thanks!
Member (joined July 2010) Likes (0)
Hi MasonJames,
Thanks for taking a look. I don't think I explained myself well. I should have said that the writing on the sliding panel in the sub domain using the dixi theme is aligned to the left, while on the main theme, the writing is aligned in the center, don't know why I said right at all!
And the avatars I am trying to display are the buddypress avatars. I have "friends", and "users I'm following" widgets that should display buddypress avatars, but they don't seem to display now, though I am sure that they did display before, that's why I thought it was an issue with the .htaccess file. Also the sliding panel is not displaying the avatars.
Thanks.
Member (joined April 2009) Likes (0)
Hiya Fondeli,
Ahh! Now that I can see! ;D
For some reason, the plugin's divs are being loaded before the 'site-wrapper' div on dixi. On the main site they're being loaded after site-wrapper and thus are staying inside the guidelines of that div. I haven't played around with this particular plugin yet to know why this would happen.
I'll ask Sarah to comment further on it and see if she has a suggestion.
Re: avatars
Let's remove this line then:
RewriteRule ^(.*/)?avatar/(.*) wp-content/avatar.php?file=$2 [L]
It was part of the install instructions for our old avatar plugin here on the site. You don't need it anymore for sure. I don't see anything else in your .htaccess that would have a negative affect here.
As to the images, I'm seeing a couple show up in the widget at the bottom of your main page. Can you point me specifically to the areas you're seeing this happen?
Thanks!
Member (joined July 2010) Likes (0)
That would be great.
About the avatars, I've had a look and it seems the mysterious man is appearing, but once I upload a new picture its broken. It's happening only on subdomains, in the sliding panel, and in some widgets friends etc. but seems you have to login to see these, but it you go back to that one http://beading.fondelifair.com and on the left side the "Guild Moderator" widget should show an avatar. This is what appearing instead of the avatars, though the default ones are showing.
Member (joined July 2010) Likes (0)
Hi,
I'm actually using both the buddypress avatars, and the wpmudev avatars plugin. I am using the avatars plugin to display blog avatars in http://fondelifair.com/guilds and also on these sites to display the members. It hasn't been a problem so far, and I don't think this is the reason for the buddypress avatars not displaying on sub sites. I have tried a solution you posted here:http://premium.wpmudev.org/forums/topic/sub-site-profile-images-not
Afraid it didn't work!
Member (joined July 2010) Likes (0)
Just to post an update, I deleted the avatars plugin, still no joy on the sub sites and tried the above fix again. Now all avatars are the mystery man, and when I tried to upload a new avatar, when it comes to cropping the avatar, I can just see two small rectangles. So any suggestions welcome!
Thanks.
Member (joined April 2009) Likes (0)
Hiya Fondeli,
Just to be clear, are you using the latest version of the avatars plugin from here:
http://premium.wpmudev.org/forums/topic/avatars-plugin-enhancements
I can see using the WPMU DEV version for Blog avatars, but I would think the old version may have overwritten the BuddyPress avatars and now the newer version defers to the buddypress avatars. Not sure as I've not seen anyone run this setup.
The avatar cropping issue sounds like a javascript issue. Try a different browser and/or disabling a few of the other plugins. I'll see if Ulrich can respond here has well, but we've never offered any sort of compatibility with our avatar plugin and buddypress and I'm not sure how to go about helping you in this instance.
Anyway, sorry I can't be of more help. I'm still gonna play with it on my install and see what I can find and perhpas Ulrich will have some thoughts on this.
Thanks!
Member (joined July 2010) Likes (0)
Hi MasonJames,
I was using the older version on the avatars plugin. I removed it, and changed
$upload_dir['baseurl'] = str_replace( get_blog_option( $current_blog->blog_id, 'home' ) , get_blog_option( BP_ROOT_BLOG, 'home' ), $upload_dir['baseurl'] );
to:
$upload_dir['baseurl'] = get_blog_option( BP_ROOT_BLOG, 'home' ) . '/wp-content/uploads/';
in bp-core-avatars.php. This seems to have fixed the problem of showing the avatars on sub sites. You were right that version of avatars was overwriting the buddypress avatars.
So now I think I will just stick with the buddypress avatars and wait for them to introduce the blog avatars. I just have to change get_blog_avatar() in my featured blog list, for displaying my list of guilds. I tried installing the new version of avatars, but I couldn't find the option to upload a blog avatar so I suppose this is the incompatibility.
Would you happen to know what I should change this to? Or would there be a way to have my folder of blog avatars and call it with this function? Thanks.
Member (joined July 2010) Likes (0)
Hi, just another update. I have managed to link an image to my list of blogs, so avatar problems solved!
But still have no solution to my sliding panel issues on the dixi theme. Thanks for your help!
WPMU.org Writer (joined October 2009) Likes (0)
Hello Fondeli - You're having a CSS conflict. I poorly named the class in plugin to be .content and that is conflicting with you theme. You'll need to rename the .content class to something else in the plugin files - change it in the php file for the content and also in the CSS file:
or another way is to just add in !important; to margin: 0 auto;
Hope that helps!
Member (joined July 2010) Likes (0)
Hi Sarah,
It works, thank you! I just also had to change the name of border, to remove the grey border around the logo. Now it's perfect. Brilliant plugin. Thank you!
Become a member