Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 130 total)

  • Renato Alves
    Participant

    @espellcaste

    I don’t think there is a corelation. Maybe there is but it might be too specific for your theme.


    Renato Alves
    Participant

    @espellcaste

    There is no filter with this name. I think you mean an action:

    add_action( 'bp_core_activated_user' );


    Renato Alves
    Participant

    @espellcaste

    Even with the BuddyPress CLI, this isn’t feasible. The best option I can think of is you creating a custom command or script to iterate the users and add and accept each other’s friendship requests.


    Renato Alves
    Participant

    @espellcaste

    BuddyPress has a CLI command now you can use.

    wp bp tool repair friend-count


    Renato Alves
    Participant

    @espellcaste

    Other option would be: redirect the general tab url to the memberpress account page.


    Renato Alves
    Participant

    @espellcaste

    I agree! The integration will depend a lot on what you are doing, not related to the skeleton per se. So for starters, I think you’ll be all right.


    Renato Alves
    Participant

    @espellcaste

    We just introduced a cli command, wp bp notification delete, that might help you in deleting those notifications.

    https://github.com/buddypress/wp-cli-buddypress/pull/70


    Renato Alves
    Participant

    @espellcaste

    Also, it’s important to check if it is a delivery problem. Try to confirm if other e-mails are being sent via SMTP or PHP.

    I just had a client with a similar problem where the real culprit was SMTP/PHP related.


    Renato Alves
    Participant

    @espellcaste

    There is already a ticket about it: https://buddypress.trac.wordpress.org/ticket/408


    Renato Alves
    Participant

    @espellcaste

    BuddyPress is alive! 🙂


    Renato Alves
    Participant

    @espellcaste

    You can use the BuddyPress REST API for that: https://github.com/buddypress/BP-REST/

    It is still a work in progress. But usable.


    Renato Alves
    Participant

    @espellcaste

    Use the subject filter: bp_get_messages_subject_value


    Renato Alves
    Participant

    @espellcaste

    You can certainly use BuddyPress WP CLI for that: https://github.com/buddypress/wp-cli-buddypress

    It has a wp bp group member command.

    Something like wp bp group member remove --group-id={GROUP_ID} --user-id={MEMBER_ID}


    Renato Alves
    Participant

    @espellcaste

    You can use wp-cli-buddypress to delete the activities from the command line: https://github.com/buddypress/wp-cli-buddypress


    Renato Alves
    Participant

    @espellcaste

    You can try something like this:

    function yousite_filter_class( $class, $item_id, $object, $params ) {
    	if ( current_user_can( 'manage_options' ) ) {
    		$class = 'admin-account';
    	} elseif ( current_user_can( 'edit_published_posts' ) ) {
    		$class = 'Author-account';
    	} else {
    		$class = 'General-account';
    	}
    
    	return $class;
    }
    add_filter( 'bp_core_avatar_class', 'yousite_filter_class', 10, 4 );

    Renato Alves
    Participant

    @espellcaste

    BuddyPress has a API that you can use: https://codex.buddypress.org/component/private-messages/

    You can hook at the WooCommerce actions when sending the emails and send your private messages.

    Hope that helps! 🙂


    Renato Alves
    Participant

    @espellcaste

    I will have to be a custom work. No problem exists so far!


    Renato Alves
    Participant

    @espellcaste

    The BP REST API does not have support for users yet. My guess is that the version you are using if imcomplete, missing support for several components.

    Check the work here for more updates: https://github.com/buddypress/BP-REST


    Renato Alves
    Participant

    @espellcaste

    You can add as much options as you want:

    function more_users( $args ) {
    
    	if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
    		return $args;
    	}
    
    	$args['per_page'] = '50';
    
            $args['type'] = 'random';
    
    	return (array) $args;
    }
    add_filter( 'bp_after_has_members_parse_args', 	'more_users', 10 );

    Renato Alves
    Participant

    @espellcaste

    You can use the ‘bp_after_has_members_parse_args’ hook to filter for random users adding it to the bp-cuscom.php file.

    function random_users( $args ) {
    
    	if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
    		return $args;
    	}
    
    	$args['type'] = 'random';
    
    	return (array) $args;
    }
    add_filter( 'bp_after_has_members_parse_args', 	'random_users', 10 );

    Renato Alves
    Participant

    @espellcaste

    I’m working on something very similar to the scenario you just described. Here is an idea it might work for you:

    You could add/associate the contractors/user IDs with the WooCommerce cart. It would allow severals contractors to be associated with the same WooCommerce order/cart.

    Here is a possible workable model.

    – Add a project as a product;
    – Add BuddyPress profile users IDs to the product in the cart;
    – With the user IDs, you would fetch the users information to show their details;
    – Go to the cart/checkout process as normally you would;
    – Hook in WooCommerce to send the order but not charge it yet;
    – Send the job to the contractor/user;
    – Contractor accepts the job, hook in your payment gateway to perform the charge;
    – Contractor performs the job as suggested/described by you;
    – After job delivered by the contractor and accepted by the customer.

    A friend suggested I should consider using WooCommerce Pre-Orders.


    Renato Alves
    Participant

    @espellcaste

    I’d say the answer to this question lies in the LMS plugins out there… Each one has its own approach to integrate BuddyPress with them.

    Also you will be able to get a look at how the pieces integrate together.


    Renato Alves
    Participant

    @espellcaste

    I understand, but like I said, your requirements are very specific for your network. Good luck! =)


    Renato Alves
    Participant

    @espellcaste

    Those are very specific changes. I hardly think there is a plugin out of the box, able to apply these changes, but they are possible.

    I find it safe enough.


    Renato Alves
    Participant

    @espellcaste

    @julianprice +1

    @jgwolfensberger I disagree, best practice would be testing on a stage/dev site first and then, upgrade your installation when no problem are found.

    Consider for example custom plugins and functions you have in your theme/WP installation, there are not the same as the many other websites with BP out there in the web.

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