-
Renato Alves replied to the topic How to use hooks when registering users in the forum How-to & Troubleshooting 3 weeks ago
There is no filter with this name. I think you mean an action:
add_action( 'bp_core_activated_user' );
-
Renato Alves replied to the topic Make everyone friends automatically in the forum Creating & Extending 3 weeks ago
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 replied to the topic Friends module not working after clicking on "Buddypress Repair Tools" in the forum How-to & Troubleshooting 3 weeks, 2 days ago
BuddyPress has a CLI command now you can use.
wp bp tool repair friend-count
-
Renato Alves replied to the topic Remove the "General" tab in profile settings in the forum Installing BuddyPress 1 month ago
Other option would be: redirect the general tab url to the memberpress account page.
-
Renato Alves replied to the topic Buddypress skeleton component in the forum Creating & Extending 2 months, 1 week ago
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 replied to the topic deleting records in wp_bp_notifications in the forum How-to & Troubleshooting 5 months, 3 weeks ago
We just introduced a cli command,
wp bp notification delete
, that might help you in deleting those notifications. -
Renato Alves replied to the topic confirmation emails are not sent for new users in the forum Requests & Feedback 8 months ago
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 commented on the post, BuddyPress 3.0.0 “Apollo”, on the site BuddyPress.org 9 months, 1 week ago
Congratulations to everyone for the work on this version! o/ 😀
-
Renato Alves replied to the topic exporting data, users, and whole bp in the forum Requests & Feedback 1 year ago
There is already a ticket about it: https://buddypress.trac.wordpress.org/ticket/408
-
Renato Alves replied to the topic Alternative to Xprofile in the forum Creating & Extending 1 year ago
BuddyPress is alive! 🙂
-
Renato Alves replied to the topic How do i get all the xprofile data from only userid? in the forum Requests & Feedback 1 year ago
You can use the REST API for that: https://github.com/buddypress/BP-REST/
It is still a work in progress. But usable.
-
Renato Alves replied to the topic Is it possible to add sender username to beginning of BP message subject? in the forum How-to & Troubleshooting 1 year, 1 month ago
Use the subject filter:
bp_get_messages_subject_value
-
Renato Alves replied to the topic Quick Links to remove user from All groups or individual groups in the forum Miscellaneous 1 year, 1 month ago
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 --group-id={GROUP_ID} --user-id={MEMBER_ID}
-
Renato Alves replied to the topic Rebooting Activity Stream? in the forum Installing BuddyPress 1 year, 3 months ago
You can use wp-cli-buddypress to delete the activities from the command line: https://github.com/buddypress/wp-cli-buddypress
Unfortunately, as of right now, you can’t select a specific date.
-
Renato Alves replied to the topic How to add extra class to Avatars in the forum How-to & Troubleshooting 1 year, 4 months ago
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(…[Read more] -
Renato Alves replied to the topic Integrate Private Message and WooCommerce email notification in the forum How-to & Troubleshooting 1 year, 8 months ago
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 replied to the topic Is it possible to verify members? in the forum Creating & Extending 1 year, 8 months ago
I will have to be a custom work. No problem exists so far!
-
Renato Alves replied to the topic WP Rest APi + Oauth + Bp Rest in the forum Creating & Extending 1 year, 8 months ago
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 replied to the topic Random User when /Members is loaded? in the forum How-to & Troubleshooting 1 year, 12 months ago
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 replied to the topic Random User when /Members is loaded? in the forum How-to & Troubleshooting 1 year, 12 months ago
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… - Load More
@espellcaste
active 1 day, 16 hours ago