Search Results for 'buddypress'
-
Search Results
-
Topic: How to separate groups
I hope somebody can help me.
1. I have a Multisite based on subdomains.
2. I installed Buddypress separately on domain and subdomain.
3. On the main domain, I created Buddy Press groups.
4. Unfortunately, that groups also appear on a subdomain – which is crazy!
5. Why such a situation exists? Why the groups are visible on a subdomain?
Please give me advice on how to separate those groups.
Thank you for help.Hi ,
I’m sure this is a simple fix but I’ve spent too much time on this issue that I’m ready to un install BuddyPress.
When a user logs in and select “View profile”, the page is bank. I does not display the user profile. When the selects edits it displays all fields correctly. Please note that I’ve integrated BuddyPress with s2 members. Basically, the user is allowed to edit profile but not view only…weird.
I can modify the code if only I know when it need to be done.
ThanksHi,
We are working on a new dating site with Themosaurus Theme (Gwangi v1.3.1) and it seems that an issue could be related to buddypress. We contact the support of Themosaurus who tell us to contact BuddyPress support. (no issue with twenty nineteen)
We try to capture the discussion on Themosaurus forum :
Regards.
David
Topic: Unable to Post???
I’m adding a tab in member types list on BuddyPress members directory. I want it to filter by user roles. I already tried but there are two big issues. 1. Not working via AJAX. It’s showing 400 error. 2. ‘members-order-by’ filter not working either. It’s loading all user instead of specific roles.
Generated User IDs specific to
subscriberonly:function getSubscriberIds() { $user_ids = get_transient( 'bp_only_subscriber_ids' ); if ( false === $user_ids ) { $args = array( 'role__in' => 'subscriber', 'fields' => 'ID' ); $user_ids = get_users( $args ); set_transient( 'bp_only_subscriber_ids', $user_ids, 12 * HOUR_IN_SECONDS ); } return $user_ids; }Generated
member_typestab:function onlySubscribersTab() { $button_args = array( 'id' => 'subscribers', 'component' => 'members', 'link_text' => sprintf( __( 'Subscribers %s', 'buddypress' ), '<span>' . count( getSubscriberIds() ) . '</span>' ), 'link_title' => __( 'Subscribers', 'buddypress' ), 'link_class' => 'subscribers no-ajax', 'link_href' => bp_get_members_directory_permalink() . '?show=subscribers', 'wrapper' => false, 'block_self' => false, 'must_be_logged_in' => false ); ?> <li id="subscribers" <?php if ( isset( $_GET['show'] ) && $_GET['show'] == 'subscribers' ) { ?> class="current" <?php } ?>><?php echo bp_get_button( $button_args ); ?></li> <?php } add_action( 'bp_members_directory_member_types', 'onlySubscribersTab' );And then filtered only
subscribers:function filterSubscribers( $r ) { if( isset( $_GET['show'] ) && $_GET['show'] == 'subscribers' ) { $user_ids = $this->getUsersIds(); if( $user_ids ) { $r['include'] = $user_ids; } } return $r; } add_filter( 'bp_after_core_get_users_parse_args', 'filterSubscribers' );Now, it’s working but not as I expected. I want to to work through AJAX. I removed
no-ajaxfrom button class but not working. It’s showing 400 error. Andmembers-order-byfilters not working either. When I change the filter, it’s showing all user instead of subscribers.Can you help me?
Thanks in advance 🙂
Hi,
I know there’s is a article about multi-site menu settings:
But in my case, I need to add menus separately for each sub sites (manually translation purpose). In sub sites ‘Menu’ section doesn’t contains “BuddyPress” menu option. So, I don’t see any option to redirect users from sub-sites to their user profiles or profile settings pages.
WordPress version: 5.2
BuddyPress version: 4.3.0I tried “Multisite Master Shared Menu” (https://tt.wordpress.org/plugins/multisite-shared-menu/) plugin to share WordPress root site menu with other sub sites and it’s working. But still I’m unable to change menu text (if I change root site menu, changes applied into all sites menus).
Is there any additional options available to link menus into sub sites?
Thank you!Hi,
The users i have in buddypress have a very sensitive info and don’t want it to be visible for everybody who access the user url or something like that. Want to set as private and only visible for wordpress admins. Is this possible? Or set buddypress as private? Or any plugin who does this?
If so, what i have to do?
Thanks so much in advance!
Hi,
I want a tab in user profile where the user is able to fill some fields.I used “BuddyPress Xprofile Custom Field Types” to create that fields. But that fields appears in register page, so the registration is with many extra fields (awful).
I don’t want these fields to appear when an user wants to create an account, i want these extra fields i created appearing only in user profile, and then the user can fill there instead registration form.
Is this possible? If so, what i have to do?
Thanks so much in advance!
Topic: Noindex Buddypress users
Hello, I’m using Buddypress at https://juegos.games and I’d like to know how to add noindex tags to the user profiles. Regards.
I am having an issue with BuddyPress public messaging. When users attempt a public message, the activity form (buddypress nouveau) does not appear on the page. It appears that the requisite javascript files are unable to load. I’ve tested this with default wordpress themes ( twentynineteen). I contacted my hosting service provider, wpengine, and they identified the following database error:
[Fri May 17 17:14:48.061122 2019] [php7:notice] [pid 18420] [client 127.0.0.1:27604] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( user_id, blog_id ) VALUES ( 1, 1 ) /* From [menastage.wpengine.com//wp-admin/?’ at line 1 for query INSERT INTO ( user_id, blog_id ) VALUES ( 1, 1 ) /* From [menastage.wpengine.com//wp-admin/?wp-cmd=ensure] in [/nas/content/live/menastage/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-blog.php:127] */ made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WpeCommon->real_ip, WpeCommon->process_internal_command, WpeCommon->ensure_standard_settings, wp_update_user, wp_insert_user, do_action(‘profile_update’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, bp_blogs_add_user_to_blog, bp_blogs_record_blog, BP_Blogs_Blog->save
Can anyone identify a solution to this issue? Or perhaps anything else I should try?
Hi
Is there a way (plugin or code) to limit the length of xprofile fields to a specific amount of characters?
Or better, what’s above + like a left character countdown.Thanks
I read that post before where they posted a link with a possible solution, but now the link it’s down…Anyone pls tell me a solution…
I have been hours searching for a solution…
https://buddypress.org/support/topic/how-to-limit-length-of-a-xprofile-field/
Topic: Multisite issue
Good Morning,
WordPress 5.2
BuddyPress 4.3.0I’m in the process of creating a multisite which will contain an existing BuddyPress site. Right now I’m just setting up the site. I’ve created a simple top site, then enabled BuddyPress. When I upload bp-custom.php the site starts to throw errors:
The plugin generated 3 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
Warning: Cannot modify header information – headers already sent by (output started at /home/navalw5/XXX.XXXXwargaming.com/wp-content/plugins/bp-custom.php:7) in /home/navalw5/test3.navalwargaming.com/wp-includes/option.php on line 948
If I remove the bp-custom.php these errors go away.
This is the code in bp-custom:
<?
add_action( ‘init’, ‘remove_xprofile_links’ );
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 3 );
}
>?
Pretty standard and a direct copy from the production site, I was curious so I just uploaded a blank bp-custom. I still got the errors.I had network activated BuddyPress, so I deactivated and then activated the plugin in the main site.
Still, have the error.
My intention is to have a multisite / BuddyPress installation. where members can be part of several or just one other department of the organization.
site/org1
site/org2
Site/org3each site would have its own groups & forums
All the research seemed to indicate that BuddyPress / bbpress should be network activated.
wp-config. currently looks like:
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘test3.navalwargaming.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
define( ‘BP_ENABLE_MULTIBLOG’, true );I’m confused as to the error, should I be using the child theme’s function.php instead? Any help is greately appreciated.
Thanks
