And wordpresschina, BuddyPress works on single WP installs right now.
not sure, but this can help you perhaps
http://maisonbisson.com/blog/post/14028/wordpress-hacks-managing-multiple-sub-domains/
or maybe, a simple hardcoded link on your main page to the bp register/login page, huh ?
@DJPaul: tks! weird… my search terms seemed to have been slightly off.
I installed the “Bulk Import Members (Users)” ( https://wordpress.org/extend/plugins/bulk-import-members-users/ ) but it triggered an install error:
Warning: require_once(bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/my_site_name/wp-content/plugins/user-import-for-buddypress-all-fields/bp-user-import-adv.php on line 29
I searched more and found an alternative version of this (version 1.0.1) the the developer’s own site and it installs fine:
http://manojkumar.org/bulk-import-members-users-plugin-for-buddypress-site/
The other 2 seem fine too but not as comprehensive and new as the one above. I also have used dagondesign in the past and I like their plugins, but because it it not in the repository I fear about using these types of plugins sometimes.
It adds navigation links to blog ID #1 because… that’s how it works. Are you on WPMU, and /community is a sub-blog?
If so, you can change which blog BuddyPress runs on by using the following (e.g. blog ID 2) in your wp-config.php:
define ( 'BP_ROOT_BLOG', 2 );
https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/
A quick google reveals several bulk-import scripts and plugins for WordPress/MU. Have a look at http://www.dagondesign.com/articles/import-users-plugin-for-wordpress/.
Regarding bulk import of xprofile data: Manjor Kumar had done some BuddyPress-specific import plugins for a very early version, but I can’t vouch for if they still work:
https://wordpress.org/extend/plugins/bulk-import-members-users/
and
https://wordpress.org/extend/plugins/user-import-for-buddypress-all-fields/
@armandmorin
WP 3.0 merges the functionality of WPMU into standard WP.
BP 1.3 will support WP 3.0:
https://buddypress.org/about/roadmap/
@wordpresschina
With WPMU, you can use some nifty BP plugins like BP Group Wiki, BP Group Blog and BP Classifieds. These plugins do not work with the standard WP version of BP.
@gregfielding I had the same error (even though my aim was to use it in single wp), and found the following wordpress trac ticket https://core.trac.wordpress.org/ticket/12078
That corrects the first error….
V
Brajesh Singh’s plugin:
add_filter("login_redirect","bpdev_redirect_to_profile",10,3);
function bpdev_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user)
{
if(empty($redirect_to_calculated))
$redirect_to_calculated=admin_url();
/*if the user is not site admin,redirect to his/her profile*/
if(!is_site_admin($user->user_login))
return bp_core_get_user_domain($user->ID );
else
return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/
}
I put it in bp-custom.php. Probably also works in functions.php.
He also has this essential logout redirect to homepage plugin. Both should have been default wp/bp behavior imho.
I looked throughout the forums for a solution to this and tried a number of things, but have given up and added my wail to the wall.
I added buddypress (1.2.3) as a fresh install (original buddypress theme) in a /community subdirectory of http://www.venture4change.com. (2.9.1 I think) Everything works just fine.
However, buddypress seems to take over the nav links of the root site. I tried changing the blog address, and also moving off the original bp theme. No luck.
In addition to suggesting a fix, could you explain to me why this is happening?
Thanks,
Copywryter
Redirect to User’s Profile Page on Login
Place the following snippet in either wp-content/plugins/bp-custom.php or in your child theme’s functions.php file.
function oci_login_redirect($redirect_to, $set_for, $user){
$redirect_to = bp_core_get_userurl($user->id);
return $redirect_to;
}
add_filter('login_redirect', 'oci_login_redirect', 10, 3);
From https://buddypress.org/forums/topic/two-questions-about-the-login-process#post-8380
(alternate method)
Use Brajesh’s plugin (which does basically the same thing as above):
https://wordpress.org/extend/plugins/bp-redirect-to-profile/
This is nothing to do with BuddyPress; this should go on the WordPress forums.
If you are using IIS, you might have to follow the directions suggested here:
https://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite
I don’t think IIS supports mod_rewrite which is what WP uses (and BP).
Does your site work with BP installed?
@cpentleton & @xiv-studios: Sorry if I offended either of you.
BuddyPress has the unfortunate (and fortunate) ability to be installed via the plugin installer built into WordPress. Out of the box it is fantastic and very complex. This can create a very confusing and quite steep learning curve for anyone starting out.
@cpentleton: I look forward to your new topic. Hopefully it’s something I can give you a hand with. If not, I’m sure there will be a BP community member who can.
Hi Ron –
Hey thanks very much for your work on porting over Thematic for the BuddyPress platform.
General Question: Now that Themeshaper and Thematic are part of the WordPress core effort, do you look to see “great assimiliation” with WP3/MU, BuddyPress, and Thematic/Buddymatic?
TESTING 1.2 NOTES:
I am testing Buddymatic version 1.2, using the “Coffee with Friends” 1.0 child theme — on WordPress 2.9.2
* Yellow notice at top in admin to “activate a BuddyPress compatible theme” remains present, even after child theme activation. Notice disappears when default BuddyPress theme is used.
* Cannot add a new forum topic even though one group has been created
* GROUPS/FORUMS Functionality: Using Buddymatic with the “Coffee with Friends” child theme there are several problems that occur when attempting to set up forums and topics:
– Topic accepted under a new group, but does not appear in topic list
– Under forums link (http://SITE.com/forums/) no topics appear
– Attempts to create a new topic at the forums page does not happen — no group appears in the pop-down list
Thanks –
Scott
bbPress and Gravatar are Automattic projects, as is WordPress, BuddyPress and many others. Check the full list at http://automattic.com/.
jQuery is native to WordPress. In my custom theme I try to leverage what’s built-in as much as possible and jQuery is very flexible. This looks like the standard jQuery library conveniently packaged with some popular applications. I’m not sure what if anything it adds to what’s already in WP.
I want to add one or two fields on an event registration form in a plugin to update the xprofile data of that user. I have no clue where to start with this.
The query would presumably look something like this:
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->bp_xprofile_data} SET value = %s WHERE ID = %d AND field_id=2", $companyname, $user_id ) );
Lets say I want to create a form from scratch to update one field ‘companyname’ in xprofile. If there’s already data in that field it should echo that on the form as value.
How do I echo the value? What do I need to get the data from the form to the query? How do I make sure the update is made in the records of the logged-in user?
Is there an example anywhere of a basic xprofile update form? Built-in examples in BP all use arrays and loops, they’re not for specific single fields in xprofile. It’s very hard to figure out what’s going on if you’re not a php programmer.
There are plugins that allow WP users to write posts without going into the backend. I think TDO Mini Forms (https://wordpress.org/extend/plugins/tdo-mini-forms/) allows this. I’m not that familiar with the plugin though.
I think there is also a “quickpress” type plugin to allow the same as what the “quickpress” function does on the main dashboard in WP.
there is a new version of this plugin that a bunch of us are working on that might supersede the one listed above:
https://wordpress.org/extend/plugins/buddypress-group-email-subscription/
Hello,
I’m creating a sort ot blog farm, around 5 or 6, using WordPress MU… They are working like a charm.
Now I would like to install BP in the main blog and allowing the users of all other blogs to sign up seamlessly in BP right from the blog they are visiting.
So, the picture is more or less as follows:
Blog1, main MU blog with BP.
Blog 2… BlogN.
A user visiting Blog 2 wants to sign up to the BP installation and so he does right from Blog2.
Another user visiting Blog 3, wants to do the same and he does it right from Blog 3.
Is it possible?
Thanks in advance,
Will
Try using is_user_logged_in() and/or bp_loggedin_user_avatar()
I’m trying to detect a users logged in state and display their gravatar / username at the top of my theme,
I tried this so far which works in regular wordpress:
if($current_user->user_login){
echo ‘Hi, user_login . ‘”>’ . $current_user->display_name;
echo ‘‘;
}
But it’s not working in WPMU / BuddyPress?
Loving Buddypress so far, it’s an awesome piece of software.
Why don’t you just use the default oEmbed class in WordPress?
https://codex.wordpress.org/Embeds
http://www.viper007bond.com/2009/10/13/easy-embeds-for-wordpress-2-point-9/
Shortcodes work like this:
[embed]youtube link[/embed]
You can enable oEmbed support across all blogs with the New Blog Defaults plugin:
https://wordpress.org/extend/plugins/wpmu-new-blog-defaults/