Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 2,850 total)

  • Henry Wright
    Moderator

    @henrywright

    Hi

    Try asking your question over at bbPress. They handle forum-related questions.


    Henry Wright
    Moderator

    @henrywright

    Further to what @djpaul said, make sure you have DISABLE_WP_CRON set to false in your wp-config.php file.

    define( 'DISABLE_WP_CRON', false );


    Henry Wright
    Moderator

    @henrywright

    This sounds like a permissions issue. Try contacting your hosting company and ask them to check if the directory is writable. For more information see the Changing File Permissions article.


    Henry Wright
    Moderator

    @henrywright

    I’m not sure that specific field will be added to core but I’m sure a plugin will be easy to build


    Henry Wright
    Moderator

    @henrywright

    Glad to see you again on here @mcpeanut. Do share your BuddyPress website and story behind it when it’s ready!


    Henry Wright
    Moderator

    @henrywright

    You might have caching going on. Try asking your host if they are caching your CSS assets.


    Henry Wright
    Moderator

    @henrywright

    You should add custom CSS to your theme’s style.css document.

    For example wp-content/themes/your-child-theme/style.css


    Henry Wright
    Moderator

    @henrywright

    The “Name” field isn’t unique. You can have 2 users with the same name if we are talking about that field.


    Henry Wright
    Moderator

    @henrywright

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


    Henry Wright
    Moderator

    @henrywright

    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 
    }

    Henry Wright
    Moderator

    @henrywright

    “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


    Henry Wright
    Moderator

    @henrywright

    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.


    Henry Wright
    Moderator

    @henrywright

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


    Henry Wright
    Moderator

    @henrywright

    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.


    Henry Wright
    Moderator

    @henrywright

    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.


    Henry Wright
    Moderator

    @henrywright


    Henry Wright
    Moderator

    @henrywright

    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.


    Henry Wright
    Moderator

    @henrywright

    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!


    Henry Wright
    Moderator

    @henrywright

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


    Henry Wright
    Moderator

    @henrywright

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


    Henry Wright
    Moderator

    @henrywright

    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


    Henry Wright
    Moderator

    @henrywright

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

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

    Henry Wright
    Moderator

    @henrywright

    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.


    Henry Wright
    Moderator

    @henrywright

    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()


    Henry Wright
    Moderator

    @henrywright

    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.

Viewing 25 replies - 1 through 25 (of 2,850 total)
Skip to toolbar