I have a really strange avatar issue going on. I’m using the latest BuddyPress trunk (821) and MU 2.7 for reference.
For some strange reason when I upload an Avatar the usermeta field in the database that stores the location of that avatar contains the local path on my web server like this:
bp_core_avatar_v1 =
WebsitesWebsitesPHPCitizenAccess/wp-content/blogs.dir/1/files/avatars/1/aad_logo-avatar1.jpg
bp_core_avatar_v1_path =
WebsitesWebsitesPHPCitizenAccess/wp-content/blogs.dir/1/files/avatars/1/aad_logo-avatar1.jpg
Notice how
Websites….. is listed when it should not be. So of course on the website the img src is broke and displayed like so:
<img class=”avatar photo” height=”150″ width=”150″ alt=”” src=”http://mydomain.com/
WebsitesWebsitesPHPCitizenAccess/wp-content/blogs.dir/1/files/avatars/1/aad_logo-avatar2.jpg”/>
Any ideas on what could be causing this issue? I’ve search the forum and tickets and haven’t seen any mention of this before.
Hi, Just after a bit of advice. Would love to use buddypress to set up our network which is aimed at both learners and educators – and that’s learners of all ages. I know at the moment bp only supports open networks – is it or will it ever be suitable for use in such a way (i.e. with decent security options, like the need to moderate and approve each forum entry, blog entry etc. And if so what is the timescale to this… (This would help us decide whether to go with bp).
And if not, any alternatives which you people would recommend (if that’s ok to ask)
… oh and also with the facility to embed video and .swf files (safely – i keep hearing horror stories of files being hijacked and replaced…)
Many thanks
The only blog that should be using the buddypress-home theme is the main blog. All other blogs can use whatever theme the users usually want if they are installed. I am getting the impression that you deleted the “default” folder out of /wp-content/themes/ and that is what is causing you issues.
Trent
yuParticipant
nope, this is not php error. this is blog creation error. when i create new blog from ‘/wp-admin/wpmu-blogs.php’ – it’s config is not correct. ‘Default theme’ and ‘Default stylesheet’ are set to ‘default’. Dunno what it mean, but when i change this line to ‘buddypress-home’ – new blog works like a charm ) is there anything i can do to make ‘dafault’ theme works for new created blogs? or automate ‘buddypress-home’ adding to this fields? oO
That is a very good question! Never run across anyone that tried it, but I can’t see why it wouldn’t work since the hardcoding for site “1” is all gone now. Short of testing it out, I am not sure if anyone has an answer. I might get a chance to test this out later today though. If you test it out, let us know.
Will Buddypress work with the Multi-Site Manager Plugin:
http://wpmudev.org/project/Multi-Site-Manager
We use WordPress MU as base for our network of blogs as its much easier from an admin point of view than having many seperate wordpress installs.
Is it possible to use multiple domains with Buddy Press and limit the social interaction to each blog/domain?
For now buddypress there is functionality for showing latest blog post (site wide) as widget.
But is there any way to browse site wide blog post with pagination so visitor can see previous blog post too?
cdaniel09 – you need to move up to wpmu 2.7
This topic might get more attention if you post it in the WPMU forums as it isn’t a buddypress related issue.
https://mu.wordpress.org/forum/
My blog logo and other buddy press theme image are not displaying correctly.
You can check it out http://blogcastor.com
I upload my own logo to test and check it on another browser but even there it is showing only a little top portion. Check the image url if you don’t believe
http://blogcastor.com/members/wp-content/themes/buddypress-home/images/bp_logo.gif
I think something is wrong with the theme code there. Can anyone help me?
Guys,
I put together a BP themes site @ http://www.freebuddypressthemes.com/
It is basic at the moment but does the job. It is not finished but thought I would get the ball rolling.
The site will depend on YOU submitting your themes so start designing people!
burtadsit
I’m sorry…i’m new to some of the web jargon. I’m a musician. I understand now what you guys mean re: commenting out. I commented those lines out and its still sending all emails from bluehost (not to mention..its taking about an hour to two to receive them.
I’m sure there is a simple resolution but it seems to be over everyone’s head.
Chris, what lines did you comment out? I’d really appreciate anyones help.
I can’t have buddypress sending emails from a bluehost address to people that sign up on my site …not to mention it taking an hour to get their confirmations etc.
In bp-core-classes.php is BP_Core_User
/**
* BP_Core_User class can be used by any component. It will fetch useful
* details for any user when provided with a user_id.
*
* Example:
* $user = new BP_Core_User( $user_id );
* $user_avatar = $user->avatar;
* $user_email = $user->email;
* $user_status = $user->status;
* etc.
*
* @package BuddyPress Core
*/
Lots of stuff in that class. You need a user id to instantiate one.
I can’t find any tickets in Trac about this issue. Why don’t you start one? Make sure you describe your install environment clearly.
https://trac.buddypress.org/newticket
Mike the idea is that if I want to change the function of a menu item, I have to replace the menu item with something of my own. I want to change “My Account” on the bar and add a new item underneath entitled: “I Owe Mike How Much!?”. I have to replace the entire “My Account” menu item since the granularity of the actions are at the top level menu item only.
I can slide new menu items in between existing items easily but that’s the way it has to happen for drop down items.
I create a plugin that runs in /mu-plugins since I want this to run all the time for all users on all blogs. It’ll get run every page load.
An example is replacing the bp logo image in the bar. Same technique for other menu items. The item gets rendered through the function:
bp_adminbar_logo() in bp-core-adminbar.php
This function gets registered in mu by us telling mu about this function and when to trigger it:
add_action( ‘bp-adminbar-logo’, ‘bp_adminbar_logo’ ) at the bottom of bp-core-adminbar.php
To replace the logo with our own logo or do something completely diff like just use the word ‘Home’, whatever we unregister the existing fn, register our own that replaces the old fn and does something different. Like below:
function oci_adminbar_logo() {
global $bp;
echo '<a href="' . $bp['root_domain'] . '"><img id="admin-bar-logo" src="' . apply_filters( 'bp_admin_bar_logo_src', site_url( MUPLUGINDIR . '/common-interest/images/oci_home.gif' ) ) . '" alt="' . apply_filters( 'bp_admin_bar_logo_alt_text', __( 'BuddyPress', 'buddypress' ) ) . '" /></a>';
}
remove_action('bp-adminbar-logo','bp_adminbar_logo');
add_action('bp-adminbar-logo','oci_adminbar_logo');
The above says “don’t pay any more attention to the function bp_adminbar_logo() when the action ‘bp-adminbar-logo’ occurs, pay attention to my oci_adminbar_logo() fn and do that instead.
You have to replace the *entire* menu item with something of your own. Clearer? No?
Anonymous User 303747Inactive
OK -that’s easy enough
I’ll check if there’s an enhancement request for this and if not, I’ll create one.
UPDATE: there’s a feature request at https://trac.buddypress.org/ticket/192
Hello, I am having the same problem, using Buddypress with directories instead of subdomains. When I create a group I can’t invite any members because my friends list is empty although I do have several friends. I am developing a site at http://www.conexionesbcn.com
All you need to do is link on the developers link for details
http://www.phpvrouwen.nl/
Thanks for the reply, but that’s not what I need… I know what I can use to get the full “<img src=”http://your.site/wp-content/blogs.dir/blog_id_here/files/avatars/user_id_here/user_avatar.jpg” alt=”” class=”avatar photo” width=”50″ height=”50″ />” , but I need something that only gives me the image-url, in this case, “http://your.site/wp-content/blogs.dir/blog_id_here/files/avatars/user_id_here/user_avatar.jpg…”
Is there anything I can do to make Buddypress return only the image url?
If you leave your contact information, I can close this thread as this is a support forum and not a job board.
I will test it for you. Send it to my at the address on my contact page:
http://trentadams.ca/contact/
I see on buddypress codex, you are using wp-super-cache on the TestDrive site.
What is your strategy and configuration of the plugins (cache duration, files exclusion, added files) ?
I make some tests of the plugins and all the members parts is not cached. Do you hack this plugins ?
Thanks
olivier