Forum Replies Created
-
In reply to: BuddyPress and BuddyBoss
BuddyBoss is a company. They sell products. Their BuddyBoss Platform is free and started as a fork of BuddyPress.
BuddyPress was created and is maintained by volunteers in an ongoing effort.
You can switch to BuddyBoss but it works best with their commercial theme.
In reply to: Getresponse Buddypress integration (custom fields)use WP_Http_Curl.
In reply to: Create private groups not working perfectly“I have not done this customization.“.
Remove the customization and see if the issue persists.
Or contact the person who made the customization.
Or use gist to share the customization.
Otherwise, nobody can help you.Please do not double post. And to this thread instead.
In reply to: Allowing my subscribers to “Create a group”In wp-admin, go to Settings > BuddyPress > Options and scroll down to Groups Settings and make sure Group Creation is checked. If not, check the box and save.
In reply to: Registration Page button gone and cant edit the pageAsk Bakery Builder if they support editing BuddyPress pages.
Please use the support forums for BP Profile Search.
In reply to: How to display only members of a specific group?To get members of a specific group, use
groups_get_group_members.
Found inbuddypress\bp-groups\bp-groups-functions.php
Review the function to get all the parameters.
Example:$args = array( 'group_id' => 99 ); $group_members = groups_get_group_members( $args ); var_dump( $group_members );In reply to: Create custom profile field with multiple parametersHave you considered using a separate screen on profiles?
It would be more work but would give you more control.
You’d need to create your own form and handlers. And probably store the data in the usermeta db table instead of xprofile table.
Example of creating the nav and placeholder screens.In reply to: customizing buddypress pagesYou need an extension for Elementor.
Perhaps: https://wordpress.org/plugins/stax-buddy-builder/In reply to: Enable shortcode in BuddyPress activity feedIf you have the shortcode set up properly, you should be able to run it anywhere on the site.
To confirm, try running it on a non-BP page.
If it works there, it should work in the activity > entry templateIn reply to: Enable shortcode in BuddyPress activity feedThat is not how shortcodes work.
I suggest you read the WP docs re shortcodes.And maybe try the generator so you have an example.
In reply to: Nothing visible on SitePerhaps it is a theme issue?
To confirm, switch momentarily to a WP theme, like 2020.In reply to: Enable shortcode in BuddyPress activity feedThen use the do_action hook to call a function that has a do_shortcode in it.
Or put the shortcode call in the template.In reply to: Enable shortcode in BuddyPress activity feedThat solution was for the old templates – 6 years ago!
You could use this hook:
do_action( 'bp_activity_entry_content' );
Found in:buddypress\bp-templates\bp-nouveau\includes\activity\template-tags.php
Again – no need to use a shortcode.In reply to: Nothing visible on SiteDid you assign the components to those pages?
In reply to: Enable shortcode in BuddyPress activity feedThat is not how shortcodes work.
You need to put it in the template:
buddypress\bp-templates\bp-nouveau\buddypress\activity\entry.php
Overload that template in your child theme and then make your change.
Since you are in the template, just make a call to a custom function – no need for a shortcode.In reply to: Add hidden filters to members directoryPlease use their support forums.
In reply to: Deleting 53000 Spam inactive usersYes, that plugin will help, but afaik it does not touch BP tables.
This plugin may be helpful in that regard.You probably know this already:
-setup a dev site
-run your function against that db
-you could also try running delete queries directly in phpmyadmin, if availableIn reply to: Deleting 53000 Spam inactive usersI’m not aware of anything.
Your report is maybe the second time I’ve heard of the issue with such a large number.
If you write a custom function, create github gist. Perhaps it will help others or people will comment with optimize suggestions.In reply to: Deleting 53000 Spam inactive usersDeleting users from wp-admin > Users will remove the user and postmeta, and entries in any BP tables that exist.
But deleting 53000 users that way is not feasible.
I suggest writing a function that gathers all or some of the user ids and then run deletes for each ID, targeting the appropriate tables.
You’ll probably need to run batches in order to avoid time-outs.In reply to: Custom sidebar for different user typesTry simplifying first.
$member_type = bp_get_member_type( bp_displayed_user_id() ); if ( $member_type == 'Member' ) { dynamic_sidebar( 'widget name for Member'); } elseif // etcIn reply to: Member Loop only MemberPress members// do not exclude in admin. if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { return $args; }It means do NOT run the rest of the function if viewing a screen in wp-admin.
So ajax calls do not qualify for that condition.Also – in the query, you can avoid the use of dot notation:
$member_ids = $wpdb->get_col("SELECT DISTINCT user_id FROM {$wpdb->prefix}mepr_transactionsetcYou need to send your report to the creators of the super-socializer plugin.
In reply to: About ProfileUse this url to send any logged-in user to their profile page:
https://yoursite.com/members/me/
Important! – replace yoursite.com with the actual name of your site.
Then add that url to the link or button that you have created.