Skip to:

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 107 total)
  • Hi, you have to enable WP registration at Settings > General > Anyone Can Register:

    How to Allow User Registration on Your WordPress Site

    Hi r083r7-

    Within the same site, you could write a short code that would render the profile. Outputting profile data is pretty straightforward:

    One another site, I’m less sure. You’d need BP API or similar, which we’re just now writing.

    Check our Bowe Codes for some other useful short codes and examples for your own:

    I really have no idea, but checking the code base, that error is thrown when a field type supports options (like a dropdown or checkbox set) and the data posted at save is unpopulated or is not an array. If you’re familiar with the developer tools in Firefox or Chrome, visit that page and submit the form, then see what the $_POST payload looks like.

    Code reference:

    I can’t see what moving hosts would change here, but the internet is a fragile thing. 🙂

    Hi isavarg-

    You’ll have to be logged out to see the registration or activation page, otherwise they redirect to the home page. Have you tried it while logged out?

    Since it’s theme specific, your best choice is to create a child theme and override that template part when you don’t want to see the image. (There are lots of conditional you can use, like is_buddypress() which returns true on a BP page.)

    It’s extremely unlikely that there will be a plugin that changes one aspect of a specific theme.

    Child themes:

    Hi Kineta-

    Your best bet is to start a new topic for support with your issue. In that topic, it would be helpful to know which version of bbPress you’re using, what version of BuddyPress you upgraded from (to 2.6.2) as well as the usual stuff.



    Visit a forum, like and scroll to the bottom of the topic list. The new topic form should be down there.

    wadece1979- You should start a new topic for your support request. In that topic, describe your WP setup (single site, multisite) and whether the problem persists if you use a different theme. Thanks!

    That’s the default behavior. If you’re not getting a list of matches, open your browser console to see what’s going wrong with the AJAX request that fetches the list of matches.

    Note that if you type the @ symbol, you won’t find matches, so just start typing the username or display name.

    Hi there-

    Yes, 2.6.1 (and have a conflict with BP Group Hierarchy. The problem is caused by the addition of the autoloader check in bp-loader.php because BPGH instantiates its class before BP knows if the groups component is active or not. The short term fix is, unhappily, to change bp-loader.php. Comment out the line that reads return (add a // before return) here:

    @logicsystems & @houser: If you have any idea of what might be behind those errors, please let us know.

    @hamzacoding: Thanks for your report. I’ll look into it.

    To add your own create group button output function, unhook the current ones:

    remove_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999 );
    remove_action( 'bp_groups_directory_group_filter', 'bp_group_backcompat_create_nav_item', 1000 );

    and add your own to bp-custom.php:

    add_action( 'bp_groups_directory_group_filter', 'my_dolla_bill_group_create_button', 82 );
    function my_dolla_bill_group_create_button() {
    	if ( dolla_bill_has_dollas ) { 

    Your other issues can probably be solved in the similar way. Read up on hooks and actions in WP:

    Menus aren’t very php-friendly, usually, but you could do something like this:

    if ( groups_is_user_member( bp_loggedin_user_id(), $group_id_of_group_A ) ) {
    	$group = groups_get_group( array( 'group_id' => $group_id_of_group_A ) );
    	<li><a href="<?php echo bp_get_group_permalink( $group ) . 'forum/'; ?>"><?php bp_group_name( $group ) ?> Forum</a></li>

    You may have to hook onto wp_nav_menu_items or similar to inject the link. It depends on your theme. That would look like:

    add_filter( 'wp_nav_menu_items', 'my_inject_group_forum_link_into_menu' );
    my_inject_group_forum_link_into_menu( $items ) {
    	if ( groups_is_user_member( bp_loggedin_user_id(), $group_id_of_group_A ) ) {
    		$group = groups_get_group( array( 'group_id' => $group_id_of_group_A ) );
    		$items .= '<li><a href="' . bp_get_group_permalink( $group ) . 'forum/">' . bp_get_group_name( $group ) . 'Forum</a></li>';
    	return $items;

    I’m not sure what behavior you’re aiming for, but this snippet will disable the confirmation email and log the user in automatically upon successful registration.

    add_action( 'bp_core_signup_user', array( $this, 'disable_validation_of_new_users' ) );
    add_filter( 'bp_registration_needs_activation', '__return_false' );
    add_filter( 'bp_core_signup_send_activation_key', '__return_false' );
    function disable_validation_of_new_users( $user_id ) {
    	// Get the user's activation key for BP. This is the activation_key in user_meta, not the key in the user table.
    	$user_key = get_user_meta( $user_id, 'activation_key', TRUE );
    	// Activate the signup
    	$awuser = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $user_key ) );
    	// Automatically log the user in.
    	// Thanks to Justin Klein's  wp-fb-autoconnect plugin for the basic code to login automatically
    	$user_info = get_userdata($user_id);
    	do_action( 'wp_signon', $user_info->user_login );
    	bp_core_add_message( __( 'Your account is now active!', 'my-plugin-slug' ) );
    	buddypress()->activation_complete = true;

    @earl_d: No. The above snippets are added to a custom version of the buddypress/members/single/messages/compose.php file. Basically, if you add this file to your theme (following the structure buddypress/members/single/messages/), it will be used in preference to the one BuddyPress ships with. Read more about adding custom template parts:

    Hi Ben,

    You are correct that it’s best to leave the bp stylesheet in place so that you get updates to that file. You can add a custom stylesheet, though, and increase the selector power of the rule, so that it overrides the bp.css rule, like .site #buddypress #item-body { border-left: none; }

    Here’s the basic concept.

    Adding a stylesheet:

    Including CSS & JavaScript

    Hi pckelly123: WP Better Emails works well for applying a template to all mail sent via the function wp_mail(), which is what the group email subscription plugin uses.

    Correct. My answer only disables rich text for specific fields; the other answer disables rich text for all fields. Pick your poison. 🙂

    I suspect that BP is trying to use the new cover-header-specific member and group header template files. You can disable them until you have a chance to retheme for cover headers by visiting wp-admin > Settings > BuddyPress > Settings and unchecking the check boxes for group and user cover images:
    Allow registered members to upload cover images
    Allow customizable cover images for groups

    Hi Johnywhy-

    You can disable the rich text editor on a per-field basis using the filter bp_xprofile_is_richtext_enabled_for_field which was added when the wp_editor was added.

    You might do

    add_filter( 'bp_xprofile_is_richtext_enabled_for_field', 'my_disable_rt_function', 10, 2 );
    function my_disable_rt_function( $enabled, $field_id ) {
      // 14 is the id of the field I want to be plain text.
      if ( 14 == $field_id ) {
        $enabled = false;
      return $enabled;

    This plugin automatically activates new user accounts:

    I sure hope that you’re weeding out spammers on the way in, or this site isn’t open to the world.

    It sounds like you need to update your permalink structure:

    You could add a page-load listener and look for the action using bp_is_current_action(). To learn more about what action or action_variables are set as you browse your site, I recommend adding r-a-y’s BP Footer Debug plugin:

    Page loads are often caught on the action bp_actions.

    You’d have to do some more work to make sure that your filters can’t collide with group names.

    Your best best is to create a new language file, then you can customize nearly all of the strings:

Viewing 25 replies - 1 through 25 (of 107 total)
Skip to toolbar