Forum Replies Created
-
In reply to: Registration Activation not working with php 7.1
Hi,
Please enable wp_debug to test what’s the error there.
Thanks
In reply to: When creating a Group, cannot see All MembersHi,
Please see: https://screencast-o-matic.com/watch/cF63bMYzAs
It is working fine with the default theme.
Thanks
In reply to: No “Create Group” button is visibleGreat 🙂
In reply to: exclude users from member listingHi,
You need to disable activation mail and then those users will not be able to activate their account themselves and then you can go and do it manually from users screen.
Thanks
In reply to: Registration activation page takes too long to loadHi,
Please open this plugin files and go to includes folder and in the core.php file try removing this code
add_filter( 'bp_after_activate_content', 'bp_registration_options_bp_after_activate_content' );If this removes the content then certainly this should
remove_filter( 'bp_after_activate_content', 'bp_registration_options_bp_after_activate_content',9999 );work with some priority changes like we can change priority 9999 to 9.Thanks
In reply to: WordPress addHi,
Please write your full question.
Thanks
In reply to: Hide some users from members directoryHi
Please try this code:
function ps_exclude_current_user( $qs = false, $object = false ) { if( !is_user_logged_in() ) return $qs; $user_ids = array('1','2'); $excluded_user= join(',', $user_ids); if( $object !='members' ) return $qs; $args=wp_parse_args($qs); if( !empty( $args[ 'user_id' ] ) ) return $qs; if( !empty( $args['exclude'] ) ) $args['exclude'] = $args['exclude'] .','. $excluded_user; else $args['exclude'] = $excluded_user; $qs = build_query( $args ); return $qs; } add_action('bp_ajax_querystring','ps_exclude_current_user', 21, 2 );In place of ‘1’, ‘2’ you have to write your user’s ids and you can add as many of them there like, I have added two for example.
Hopefully, this will help you.
Thanks
In reply to: How to call【profile-loop.php】in【edit.php】Hi,
Please try this
bp_get_template_part( 'members/single/profile/profile-loop' )Thanks
In reply to: Buddypress not loadingHi,
Please check in the browser console if there is any javascript bug with your theme that was previously activated.
Thanks
In reply to: Registration activation page takes too long to loadOk got it.
remove_filter( 'bp_after_activate_content', 'bp_registration_options_bp_after_activate_content',9999 );Please try this code.
Thanks
In reply to: Registration activation page takes too long to loadPlease do same thing just remove the message and hit a space there in the box and save the settings.
In reply to: No “Create Group” button is visibleHi,
If you will try group creation with the default theme it works perfectly. So, this might be an issue with the theme or any third party plugin.
Thanks
In reply to: Registration activation page takes too long to loadThere will be a message on the profile already that your profile is held for moderation, isn’t it?
In reply to: How to display the FollowingUser’s activityOk 🙂
In reply to: Wrong count showsWelcome 🙂 Happy to to know that it helped 🙂
In reply to: Create/add forum from frontendGlad to know that it helped you 🙂
In reply to: exclude users from member listingHi,
BuddyPress never lists pending and denied members. Are you using any other system to verify them?
Thanks
Hi,
I have tried the same code
<?php if(current_user_can('manage_options')){?> <a class="delete" href="<?php bp_message_thread_delete_link( bp_displayed_user_id() ); ?>"><span class="dashicons dashicons-trash"></span></a> <?php }and
<?php if(current_user_can('manage_options')){?> <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>"><i class="fas fa-trash-alt"></i><?php _e( 'Delete', 'youzer' ); ?></a> <?php }?>Both are working super fine. If I am logged in as an admin user then only I have the capability otherwise not.
Thanks
In reply to: Registration activation page takes too long to loadYou have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.
You can remove this message easily. Just install the plugin loco translate and find this message there and in translation just hit a space or you can easily write ‘Account is held for moderation’
Thanks
In reply to: Registration problemHi,
There will be a table called bp_xprofile_data in the database. Please check there once. IT is the table where all the profile field values get stored.
Thanks
I always focus on the updated plugin so try to Use the latest “BuddyPress(3.2.0)” with “legacy”. And also please recommend to devs to make it compatible with nouveau.
Thanks
In reply to: Registration activation page takes too long to loadPlease put this code https://pastebin.com/h6hCidML in child theme’s functions.php or use code snippets plugin to add new snippet and then there add this code.
Thanks
Hi,
You can check this https://buddypress.org/support/topic/hiding-profile-tabs-i-e-messages-based-on-user-role/ and use bp_core_remove_subnav_item.
Thanks
Please try this code:
add_action('wp_footer','ps_remove_delete_button'); function ps_remove_delete_button(){ if(!current_user_can('manage_options')){ ?> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery('.notifications .delete').hide(); jQuery('.notifications .confirm').each(function() { if (jQuery(this).text() == 'Delete') jQuery(this).hide(); }); }); </script> <?php } }Please check if body tag has class ‘notifications’.
Thanks
In reply to: who clicked on my linkWelcome 🙂
Glad to know that it helped you 🙂