Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 476 through 500 (of 3,870 total)
  • Author
    Search Results
  • #303924
    happyday1
    Participant

    In order to use PMpro Membership levels names as Site Roles I used the plugin: PMPro Roles. The message control plugin seems to work fine with this! So now I can control if the users should be able to write private messages, but not public messages.
    Would it be possible with an extra dropdown restriction -> Disable public and private messageing??

    happyday1
    Participant

    Is it possible to make a restrictions on the number of private messages a user/member can send each month. Is it also possible for public messages and so on?
    E.g. restrict that a free member e.g. only can send 3 private messages each month to all other member levels and e.g. a gold member can have unlimited messages per month etc.??

    #303760

    In reply to: Bug in private message

    aoiu
    Participant

    No solution ?

    Ifnot, would it be possible to delete the object in private messages from buddypress ?

    #303695
    cdtrue
    Participant

    Thank you! That gets me half way 🙂

    I still get the notification after registration about the activation link – and I do not think that the little old ladies using my site will get that they have to activate and then wait for approval (to much for them to take in).

    So I now are able to stop users with the extra My Private Site-plugin and the messages sent out from BP egistration works as a charm. There is only one (Account Approved Email) that actually is sent though – I can not figure out how to get the other ones to override the BuddyPress – activation-email. And if I de-activate that e-mail no e-mail is sent at all.

    Also when I click on the register-button in the registration form I get redirected to a page that says that my account needs to be activated and I have to check my e-mail to do so. I want to loose it or change the text.

    If they try to log in anyway they get the wordpress opt of re-sending the activation-link. Same thing here – preferably change the text.

    But where do I find the texts? I guess the re-direct page is automated from BP, the other one is from WP.

    Any tips?

    #303659
    halloy
    Participant

    Hello, I’ve 3 custom user role. I created BP groups but for each role, all groups should not be visible by all users.
    For example : 3 roles : role1, role2, role3 – 6 groups : group1, group2, group3, group4, group5, group6
    Each user with role3 can create its private group, not visible for role1 and role2. He can see all others groups. So it’s group could be masked if he can see others groups.
    Users with role2 cannot see groups created by users with role3 and cannot see group3, group4.They can see only groups 1,2 and 5. They are automatically added at group1 thanks the module Member Type Pro
    Users with role 1 are automatically add in group3 and can see oly itzs group and group4.
    Is there a plugin or a function to add that in the admin WP ?
    Like the plugin Menu Nav Role wich allos to display menu items by role.

    Thanks for your reply. I hope my answer is understandable because I’m french 😉

    #303549
    airsid
    Participant

    Hello,
    Please find attached my plugins/buddypress/bp-themes/bp-default/registration/register.php content

    <?php get_header( 'buddypress' ); ?>
    
    	<div id="content">
    		<div class="padder">
    
    		<?php do_action( 'bp_before_register_page' ); ?>
    
    		<div class="page" id="register-page">
    
    			<form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data">
    
    			<?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
    				<?php do_action( 'template_notices' ); ?>
    				<?php do_action( 'bp_before_registration_disabled' ); ?>
    
    					<p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p>
    
    				<?php do_action( 'bp_after_registration_disabled' ); ?>
    			<?php endif; // registration-disabled signup setp ?>
    
    			<?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    
    				<h2><?php _e( 'Create an Account', 'buddypress' ); ?></h2>
    
    				<?php do_action( 'template_notices' ); ?>
    
    				<p><?php _e( 'Registering for this site is easy, just fill in the fields below and we\'ll get a new account set up for you in no time.', 'buddypress' ); ?></p>
    
    				<?php do_action( 'bp_before_account_details_fields' ); ?>
    
    				<div class="register-section" id="basic-details-section">
    
    					<?php /***** Basic Account Details ******/ ?>
    
    					<h4><?php _e( 'Account Details', 'buddypress' ); ?></h4>
    
    					<label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    					<?php do_action( 'bp_signup_username_errors' ); ?>
    					<input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />
    
    					<label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    					<?php do_action( 'bp_signup_email_errors' ); ?>
    					<input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" />
    
    					<label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    					<?php do_action( 'bp_signup_password_errors' ); ?>
    					<input type="password" name="signup_password" id="signup_password" value="" />
    
    					<label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    					<?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    					<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
    
    					<?php do_action( 'bp_account_details_fields' ); ?>
    
    				</div><!-- #basic-details-section -->
    
    				<?php do_action( 'bp_after_account_details_fields' ); ?>
    
    				<?php /***** Extra Profile Details ******/ ?>
    
    				<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
    					<?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
    					<div class="register-section" id="profile-details-section">
    
    						<h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
    						<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    						<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
    						<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    							<div class="editfield">
    
    								<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
    
    									<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" />
    
    								<?php endif; ?>
    
    								<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
    
    									<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_edit_value(); ?></textarea>
    
    								<?php endif; ?>
    
    								<?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?>
    
    									<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>">
    										<?php bp_the_profile_field_options(); ?>
    									</select>
    
    								<?php endif; ?>
    
    								<?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?>
    
    									<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    									<select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" multiple="multiple">
    										<?php bp_the_profile_field_options(); ?>
    									</select>
    
    								<?php endif; ?>
    
    								<?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?>
    
    									<div class="radio">
    										<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    										<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    										<?php bp_the_profile_field_options(); ?>
    
    										<?php if ( !bp_get_the_profile_field_is_required() ) : ?>
    											<a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php _e( 'Clear', 'buddypress' ); ?></a>
    										<?php endif; ?>
    									</div>
    
    								<?php endif; ?>
    
    								<?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?>
    
    									<div class="checkbox">
    										<span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span>
    
    										<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    										<?php bp_the_profile_field_options(); ?>
    									</div>
    
    								<?php endif; ?>
    
    								<?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
    
    									<div class="datebox">
    										<label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    										<?php do_action( bp_get_the_profile_field_errors_action() ); ?>
    
    										<select name="<?php bp_the_profile_field_input_name(); ?>_day" id="<?php bp_the_profile_field_input_name(); ?>_day">
    											<?php bp_the_profile_field_options( 'type=day' ); ?>
    										</select>
    
    										<select name="<?php bp_the_profile_field_input_name(); ?>_month" id="<?php bp_the_profile_field_input_name(); ?>_month">
    											<?php bp_the_profile_field_options( 'type=month' ); ?>
    										</select>
    
    										<select name="<?php bp_the_profile_field_input_name(); ?>_year" id="<?php bp_the_profile_field_input_name(); ?>_year">
    											<?php bp_the_profile_field_options( 'type=year' ); ?>
    										</select>
    									</div>
    
    								<?php endif; ?>
    
    								<?php if ( 'url' == bp_get_the_profile_field_type() ) : ?>
    
    									<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
    									<input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>/>
    
    								<?php endif; ?>
    
    								<?php do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); ?>
    
    								<?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
    									<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    										<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
    									</p>
    
    									<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
    										<fieldset>
    											<legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
    											<?php bp_profile_visibility_radio_buttons() ?>
    
    										</fieldset>
    										<a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    
    									</div>
    								<?php else : ?>
    									<p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    										<?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
    									</p>
    								<?php endif ?>
    
    								<?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
    								<p class="description"><?php bp_the_profile_field_description(); ?></p>
    
    							</div>
    
    						<?php endwhile; ?>
    
    						<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
    						<?php endwhile; endif; endif; ?>
    
    						<?php do_action( 'bp_signup_profile_fields' ); ?>
    
    					</div><!-- #profile-details-section -->
    
    					<?php do_action( 'bp_after_signup_profile_fields' ); ?>
    
    				<?php endif; ?>
    
    				<?php if ( bp_get_blog_signup_allowed() ) : ?>
    
    					<?php do_action( 'bp_before_blog_details_fields' ); ?>
    
    					<?php /***** Blog Creation Details ******/ ?>
    
    					<div class="register-section" id="blog-details-section">
    
    						<h4><?php _e( 'Blog Details', 'buddypress' ); ?></h4>
    
    						<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ); ?></p>
    
    						<div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
    
    							<label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    							<?php do_action( 'bp_signup_blog_url_errors' ); ?>
    
    							<?php if ( is_subdomain_install() ) : ?>
    								http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> .<?php bp_blogs_subdomain_base(); ?>
    							<?php else : ?>
    								<?php echo home_url( '/' ); ?> <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" />
    							<?php endif; ?>
    
    							<label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    							<?php do_action( 'bp_signup_blog_title_errors' ); ?>
    							<input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" />
    
    							<span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>:</span>
    							<?php do_action( 'bp_signup_blog_privacy_errors' ); ?>
    
    							<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label>
    							<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
    
    							<?php do_action( 'bp_blog_details_fields' ); ?>
    
    						</div>
    
    					</div><!-- #blog-details-section -->
    
    					<?php do_action( 'bp_after_blog_details_fields' ); ?>
    
    				<?php endif; ?>
    
    				<?php do_action( 'bp_before_registration_submit_buttons' ); ?>
    
    				<div class="submit">
    					<input type="submit" name="signup_submit" id="signup_submit" value="<?php esc_attr_e( 'Complete Sign Up', 'buddypress' ); ?>" />
    				</div>
    
    				<?php do_action( 'bp_after_registration_submit_buttons' ); ?>
    
    				<?php wp_nonce_field( 'bp_new_signup' ); ?>
    
    			<?php endif; // request-details signup step ?>
    
    			<?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
    
    				<h2><?php _e( 'Check Your Email To Activate Your Account!', 'buddypress' ); ?></h2>
    
    				<?php do_action( 'template_notices' ); ?>
    				<?php do_action( 'bp_before_registration_confirmed' ); ?>
    
    				<?php if ( bp_registration_needs_activation() ) : ?>
    					<p><?php _e( 'You 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.', 'buddypress' ); ?></p>
    				<?php else : ?>
    					<p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
    				<?php endif; ?>
    
    				<?php do_action( 'bp_after_registration_confirmed' ); ?>
    
    			<?php endif; // completed-confirmation signup step ?>
    
    			<?php do_action( 'bp_custom_signup_steps' ); ?>
    
    			</form>
    
    		</div>
    
    		<?php do_action( 'bp_after_register_page' ); ?>
    
    		</div><!-- .padder -->
    	</div><!-- #content -->
    
    	<?php get_sidebar( 'buddypress' ); ?>
    
    	<script type="text/javascript">
    		jQuery(document).ready( function() {
    			if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
    				jQuery('div#blog-details').toggle();
    
    			jQuery( 'input#signup_with_blog' ).click( function() {
    				jQuery('div#blog-details').fadeOut().toggle();
    			});
    		});
    	</script>
    
    <?php get_footer( 'buddypress' ); ?>
    melodynest
    Participant

    First time poster! Hello everyone 🙂

    I am using: Marketplace One Social theme, WC Vendors, Woocommerce, BP Better messages (websocket upgrade).

    Is there a way to make the ability to start conversations only for admin? I am designing a freelancer type website where I only want the Admin to be able to connect buyers and sellers into a private conversation after the purchase has been made (to avoid circumvention). I want vendors and subscribers to have access to their messages, just not the ability to start a new one.

    I am thinking maybe CSS to hide compose features? Could that be the easiest solution?

    Thanks in advance for any ideas!

    robgrahamsydney
    Participant

    How can I limited the activity feed to only display activities in the groups the user belongs to?

    Our site groups need to be very private. Being able to view a friend’s activity is a great but not if the friend’s activity is a private group that the user does not belong to.

    For example, a friend belongs to a private group named ‘secrets’ but the user does not belong to the group.

    Now the friend creates a topic (bbPress) in the ‘secrets’ group forum discussing a ‘new formula’. The user will now see the topic posted in their activity feed. The new secret formula is now revealed outside the ‘secrets’ group.

    I hope this makes sense.

    franzpilz
    Participant

    Hello to all.

    i seem to do not understand how this one should work:
    wp 4.9
    bbpress 4.1.0

    We are using Woffice Theme with buddypress.

    User ist member of private group, group has forum, role ist participant. when the user searches for Topics or Replies he does not get any results. Neither with Woffice search bar on top nor with forum search. results show only topics/replies from public group forums.

    Admnistrator/keymaster gets the right results, so it`s technically working. probably a rights problem.

    What am i missing? Shouldn`t that work?

    Thanks in advance

    Franz

    #303439

    In reply to: Bug in private message

    aoiu
    Participant
    #303438

    In reply to: Bug in private message

    shanebp
    Moderator

    Again, that is not the default BP behaviour.
    Are you running some other code or plugin that affects private messaging?
    Share a screenshot of the screen that you use to send a private message.

    #303422

    In reply to: Bug in private message

    shanebp
    Moderator

    afaik, by default BP private messages do not have a Title field.
    They do have a Subject field.

    Are you using another plugin or a special theme that uses a Title field ?

    On a standard BP install, if you forget to fill in the Subject field, the message will not be sent and an error will be displayed.

    #303419
    aoiu
    Participant

    Hello,

    I noticed a bug. When you write a private message to a member and forget to fill in the Title by pressing Send. This automatically removes the recipient from the message.

    Do you have a solution ?

    Thank you.

    #303397
    Venutius
    Moderator

    Hi there, are you using the Nouveau template at all? If so I reckon a better way to do this would be to remove the private message button from the buttons array using the bp_nouveau_get_members_buttons filter.

    So something like:

    add_filter( 'bp_nouveau_get_members_buttons', 'venutius_check_private_message_button' );
    
    function venutius_check_private_message_button( $buttons ) {
        if ( ! pmpro_hasMembershipLevel('Premium') ) {
            unset( $buttons['private_message'] );
        }
        return $buttons;
    }
    janjalanie
    Participant

    Hi everyone! does anyone here experience the same thing when you compose a message then you view the thread you will notice the text above the subject like this (Conversation between you and Deleted User and you.) it has a redundant (you) how to fix this? does anyone experience the same thing? i am using buddypress Version: 4.2.0 and wordpress 5.1 thank you guys..

    #303287
    devbad
    Participant

    I am looking for some help with restricting private messages.

    I have Paid Memberships Pro – BuddyPress Add On Version 1.2.1 and BP Better Messages (Premium) Version 1.9.7.9 with WordPress 5.1
    BuddyPress Version 4.2.0

    I am looking for a way to restrict the private message option for certain type of users. I am trying to have this modification multiple ways, with and without PMPro but none of them working so far.

    With PMPro I supposed to restrict easily, still I can only totally restrict all BuddyPress functions or enable all of them, customization looks like broken.

    I looked into the codes of all the mentioned plugins, tried to restrict access by using below code that I found in another topic:

    add_filter( 'bp_get_send_message_button', function( $array ) {
        if ( pmpro_hasMembershipLevel('Premium') ) {
            return $array;
        } else {
            return '';
        }
    } );

    Maybe I am just trying to make it too complicated and there is an easier way to do it with shortcodes under the Members page that currently contains only [bps_directory] shortcode.

    Any suggestion and help would be welcome.

    #303241
    jamesmct
    Participant

    So I just wanted to update this in case anyone else was looking for something along these lines.
    I found some code on The Buddypress Codex page that spelled out how to actually add the column. From there I added some custom coding to it to allow it to link to the membership page and accept the requests:

    <?php
    
    /* BuddyPress Custom Code */
    
    // add the column
    function groups_admin_add_custom_column( $columns ) {
         
        $columns["pending_group_members"] = "Join Requests";
         
        return $columns;
     
    }
    add_filter( "bp_groups_list_table_get_columns", "groups_admin_add_custom_column" );
     
     
    // add the column data for each row
    function groups_admin_custom_column_content( $retval = "", $column_name, $item ) {
         
        if ( "pending_group_members" !== $column_name ) {
            return $retval;
        }
         
         
        if ( "private" == $item["status"] ) {
             
            $user_ids = BP_Groups_Member::get_all_membership_request_user_ids( $item["id"] );
             
            return "<a href='". site_url(). "/groups/". $item["slug"] ."/admin/membership-requests/'>" . count( $user_ids) . "</a>";
        }
         
        return "-";
         
    }
    add_filter( "bp_groups_admin_get_group_custom_column", "groups_admin_custom_column_content", 10, 3 );
    
    ?>
    chrisleighh
    Participant

    I have a membership site that has several private groups for paying members. Their access is restricted by their membership role. So for example, only people with the “approved” role can access “Group 1”.
    The challenge is that if the customer no longer pays for membership and we change their role to “not approved” they still have access to, and receive email updates, from that group because their group access ignores the roles if they are already a member.

    So I need a way to easily scan the email addresses (our paying members are by company so the email domain is the easiest way to ID and verify who should be in the group) when looking at group members.

    Is there a way to do this? Or is there an update that I can make so that group Admins can see the user email address next to their name when viewing the member list? I’d only want the group admin to see this, of course.

    #303171
    shanebp
    Moderator

    Please do not post code for premium plugins on these forums.
    While I appreciate the clarity of your question and the draft solution – it is not appropriate in this setting.
    You should contact the plugin creator directly.
    Closing this and will contact you privately.

    #303075

    Topic: Avatar filter

    in group forum Installing BuddyPress
    凱寧
    Participant

    Hi

    I want to let the members must upload the avatar,otherwise they can`t send the private message.

    How can I do ???

    Can I do it from function.pnp ?

    #303038
    matwin23
    Participant

    Hi guys,
    I have mentioned this previously and was hoping a few of the past WP and plugin updates may have resolved this, however it still persists.
    I am running a multivendor site with WC Vendors, Woocommerce, BuddyPress plus other plugins.

    When a member goes to send a private message to a member/vendor from either the members profile ‘private message’ button or from the contact vendor link in a woocommerce product listing, the message fails to send (please see video link below).

    However if i go to my own BP profile, messages, compose and send a message that way it does send.

    Not sure what is happening here. It used to work fine prior to BP4.0

    Video of issue;
    https://www.dropbox.com/s/kkxl2b2bm5vicy4/BP%20Private%20message%20issue.mkv?dl=0

    thanks
    matt

    ridowsky
    Participant

    Hello, is there anyway, code or settings that can restrict private messages to just user to admin alone. i will like to avoid user to user conversation on my site.
    Thanks!

    drzoiberg
    Participant

    Hi

    I make member profile page private for everyone with this snippets in my child theme functions.php file:

    
    function remove_xprofile_links() {
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 3 );
    }
    add_action( 'bp_init', 'remove_xprofile_links' );
    
    function my_private_profiles() {
        if ( ! bp_is_user_profile() )
            return;
        if ( current_user_can( 'manage_options' ) )
            return;
        if ( bp_loggedin_user_id() == bp_displayed_user_id() )
            return;
        bp_core_redirect( home_url() );
    }
    add_action( 'init', 'my_private_profiles' );
    

    But I need to disable the members access to a single user front page. Can you help me?

    Thanks in advance!

    #302643

    In reply to: Paid help!

    Varun Dubey
    Participant

    @whoam7i7 your request is more specific to 3rd party plugins
    for point 1 check with rtMedia as you need to save members avatar inside rtMedia private album and point 2 Capability Manager Enhanced plugin support

Viewing 25 results - 476 through 500 (of 3,870 total)
Skip to toolbar