Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 2,756 total)
  • @henrywright

    Moderator

    This shouldn’t be possible. BuddyPress checks if a username exists before registering the user.

    @henrywright

    Moderator

    You could filter body_class and add a logged-in and logged-out class. Then style in your child theme’s style.css document. For example:

    body.logged-out {
        // Do some blurring 
    }

    @henrywright

    Moderator

    “bp_loaded” will also get the job done. You just need to find a hook that’s appropriate. A function needs to be defined before you call it so it’s always worth keeping track of the load order in both WordPress and BuddyPress.

    Feel free to edit the documentation if you find an error. BuddyPress welcomes contributions

    @henrywright

    Moderator

    Try wrapping your call to bp_is_active() in a function hooked to something like wp.

    For example:

    add_action( 'wp', function() {
        // Call bp_is_active() here
    } );

    You need to do this because it’s likely your plugin is loaded before BuddyPress, hence the bp_is_active() function isn’t defined at that point.

    @henrywright

    Moderator

    You could report the issue to the WP Mail SMTP plugin author. They usually appreciate the bug report and often fix.

    @henrywright

    Moderator

    Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization

    This is likely because you’re hooking to a hook fired at profile update. You’ll need to hook your code to something that gets fired at another point in time.

    @henrywright

    Moderator

    I wonder why Members page is not part of the BuddyPress menu?

    Good question! This is something you can change at the theme level. Nearly all areas of BuddyPress can be customised. If you need help feel free to post questions and open new topics.

    @henrywright

    Moderator

    @henrywright

    Moderator

    I’m not sure why I would need to hook to something?

    Imagine a scenario where your functions.php file is loaded before something else. That something else won’t be available to you in functions.php.

    @henrywright

    Moderator

    Check out the plugins here https://wordpress.org/plugins/tags/buddypress/

    These plugin authors have used the “buddypress” tag which indicates a compatibility with BuddyPress.

    Hope it helps!

    @henrywright

    Moderator

    BuddyPress should be compatible with PHP 7.0 and 7.1. What conflict are you seeing?

    @henrywright

    Moderator

    Try asking at bbPress. They handle all forum related questions.

    @henrywright

    Moderator

    I just noticed you want to schedule your callback. You will need to use the method described here https://codex.wordpress.org/Function_Reference/wp_cron

    @henrywright

    Moderator

    You need to hook to something like wp. Try adding this in your functions.php file:

    add_action( 'wp', function() {
        // Add your code here
    } );

    @henrywright

    Moderator

    You’re using the class method properly. This should output an array containing an array of groups and a count.

    $group_ids = BP_Groups_Member::get_group_ids( $user_id );
    var_dump( $group_ids );

    Make sure the $user_id argument you are passing to the class method is valid. It should be an integer but I don’t think type is enforced in this case so a string might also work.

    @henrywright

    Moderator

    If your question relates to your bbPress forum then try asking at bbPress. Alternatively see here for information on the bp_activity_add() function:

    bp_activity_add()

    @henrywright

    Moderator

    Try creating the pages manually by going to the WordPress admin area. You should then be able to associate each of the pages you have created with your BuddyPress components.

    @henrywright

    Moderator

    members/username/ is generated by BuddyPress and author/username/ is generated by WordPress. You don’t have to merge them, they can live peacefully together without problems.

    @henrywright

    Moderator

    TinyMCE has justify, underline and text size buttons. You would need to integrate it with the activity post form. See these resources for more info:

    https://codex.wordpress.org/TinyMCE

    https://www.tinymce.com/docs-3x/reference/buttons/

    @henrywright

    Moderator

    wordpress.org uses Subversion for version control and GitHub uses Git. Some developers just prefer to develop using Git and then post releases to wordpress.org

    @henrywright

    Moderator

    The plugin hasn’t been abandoned. It’s still maintained by @r-a-y. See https://github.com/r-a-y/buddypress-usernames-only

    @henrywright

    Moderator

    messages_new_message() accepts an array argument. “recipients” can be an array of user IDs. Try this:

    $args = array(
        'sender_id'  => bp_loggedin_user_id(),
        'recipients' => array( 76, 77, 81, 82, 118, 120, 122, 123, 124, 131, 132, 133 ),
        'subject'    => 'Test subject',
        'content'    => 'Test content'
    );
    messages_new_message( $args );

    @henrywright

    Moderator

    Post Formats is a WordPress theme feature. See https://codex.wordpress.org/Post_Formats. Try asking your question at https://wordpress.org/support/

    @henrywright

    Moderator

    Check with the users that the email isn’t in the junk folder. This often happens so I usually recommend checking that first.

    @henrywright

    Moderator

    I tried BP Reactions after activating it, it does not show up

    You could try opening an issue on the plugin’s forum: https://wordpress.org/support/plugin/bp-reactions

Viewing 25 replies - 26 through 50 (of 2,756 total)
Skip to toolbar