Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 751 through 775 (of 3,865 total)
  • Author
    Search Results
  • edh890
    Participant

    I’m having this dilemma on the site I’m currently building. I use Paid Membership Pro as my membership plugin to register members, and after registration, members are linked to BP as their profile pages.

    Now I need to add another group of users, advertisers, to the site. And after advertisers register via a differrent plugin, even though they have their own account / profile from the plugin they register through, these members will also automatically show up in BP, since at backend admin, they are just like other members from Paid Membership Pro, they are all Users. What that also means these advertisers can easily go to any member’s BP profile and private message them, just like any other members from Paid Membership Pro.

    Some plugin author suggested I use https://wordpress.org/plugins/user-role-editor/ to use user role to set restriction to a certain role’s access to BP. But I did not see any option there to block these advertisers’ role’s access to buddypress.

    Does anyone know of a way to achieve this? Thank you.

    felix92
    Participant

    Hello,

    I try to activate the private message function from settings-components. When I activate this feature I get following fatal error:

    Fatal error: Uncaught Error: Cannot use object of type Closure as array in /home/ogtpartn/public_html/education/wp-content/themes/boss/buddyboss-inc/theme-functions.php:548 Stack trace: #0 /home/ogtpartn/public_html/education/wp-content/themes/boss/buddyboss-inc/theme-functions.php(570): buddyboss_remove_anonymous_object_filter(‘wp_footer’, ‘BP_Legacy’, ‘sitewide_notice…’) #1 /home/ogtpartn/public_html/education/wp-includes/class-wp-hook.php(298): buddyboss_fix_sitewide_notices(Object(WP)) #2 /home/ogtpartn/public_html/education/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(false, Array) #3 /home/ogtpartn/public_html/education/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #4 /home/ogtpartn/public_html/education/wp-includes/class-wp.php(746): do_action_ref_array(‘wp’, Array) #5 /home/ogtpartn/public_html/education/wp-includes/functions.php(955): WP->main(”) #6 /home/ogtpartn/public_html/education/wp-blog-header.php(16): wp() #7 /home/ogtpartn/public_html/education/index.php(17): require(‘/home/ogtp in /home/ogtpartn/public_html/education/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 548

    Anyone know how to solve this issue?

    Thanks in advance for your support
    Felix

    #267579
    shanebp
    Moderator

    Have you tried BP Simple Private ?

    You can also get it here: PhiloPress

    docdaddy
    Participant

    I’m using OneSocial as a theme, with bbPress and BuddyPress. One thing that keeps me from using other themes: with OneSocial there is an icon next to the current user icon that shows when the user has new Private Mail. I cannot figure out how to get that new PM alert on other themes. I know with BuddyPress I can active PMS and I have those turned on, just not how to add an alert for the user.

    Thanks.

    #267345
    richerma9
    Participant

    Hello!
    I activated BuddyPress and linked components to WordPress Pages (pages that were automatically created by BuddyPress). When I connect to my membership website as a member (on the front end), the BuddyPress pages are empty. I am wondering if this has to do with my theme (https://www.ait-themes.club/wordpress-themes/directory2/). BuddyPress Pages work with Twente Fifteen theme.

    Permalinks are activated to “Post name”.
    Wordpress version: 4.8
    BuddyPress version: 2.9
    Website : https://unicpnl.org (under construction – I can provide test user access in private)

    If this has to do with my theme, can you give me a hint where to begin to find a fix?

    Thanks for your help 🙂

    kleobud
    Participant

    Hi, anyone know how to detect / prevent exchange of phone/email in PM’s?

    Or, is there a way for such messages to be flagged then approved by admin?

    Alternatively, worst case, for admin to have to approve all PM’s?

    Any advice greatly appreciated.

    samnine
    Participant

    How can I do this within BuddyPress – a system , where it automaticallys enable / disable PM feature between vendors and site visitors, to enable / disable site visitors to PM vendors?

    Thanks.

    #267237
    DAM
    Participant

    Hello,

    how can i set a limit of the number of emails notifications sent for private messages for each user?
    Members are receiving a new email on every reply received, I would like to limit it to 1 every hour from the same user or to send it only if current user is not online.

    Thanks

    #267193
    livingflame
    Participant

    Hi

    @r-a-y


    @shanebp

    I have this code (example img. LINK),

    But, bp_loggedin_user_id() not work.
    The Button is visible for all. Like Add Friend Button [ + ] the Message button needs to be visible only for Logged in users.

    function filter_message_button_link( $link ) {
    
        $link =  wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r='. bp_core_get_username( bp_get_member_user_id() ) );
    
    return $link;
    
    }
    
    function display_private_message_button() {
    
        if( bp_get_member_user_id() != bp_loggedin_user_id() ) {
    
            //bp_send_message_button();
            ?>
            <div id="send-private-message" class="generic-button">
    
                <div class="private-message-button generic-button" ><a href="<?php echo filter_message_button_link(); ?>" class="button small secondary radius" rel="add"><i class="icon-envelope"></i></a></div>
            </div>
    
            <?php
            add_filter('bp_get_send_private_message_link', 'filter_message_button_link', 1, 1 );
            }
    }
    add_action( 'bp_directory_members_item_last', 'display_private_message_button',9999 );
    #267093
    kleobud
    Participant

    Does anyone know if it is possible to integrate mailchimp with bp so that mailchimp, rather than wordpress, sends out bp emails such as notifications for private messaging,etc.?

    #267045
    andrew55
    Participant

    Robin W over at bbPress was kind enough to provide this filter for functions.php:

    add_filter( 'bbp_get_topic_subscribers', 'rew_filter_subscrbers' );
    add_filter( 'bbp_get_forum_subscribers', 'rew_filter_subscrbers' );
    
    function rew_filter_subscribers ($users) {
    	$role = 'my_custom_role' ;
    	$filtered_ids = array();
    	foreach ( (array) $users as $user_id ) {
    		$user_info = get_userdata($user_id);
    		$user_roles = $user_info->roles ;
    		if (!in_array ($role, $user_roles)) {
    			array_push($filtered_IDs, $user_id);
    		}
    	
    	}
    return $filtered_ids ;
    }

    Used with a custom role, it works great at preventing emails from going out from bbPress.

    Of course, BuddyPress sends out several emails (friend request, private messages, etc).

    Any ideas on how I can modify the filter above to prevent sending of BuddyPress emails to user if they have a custom role enabled? Even a place to go where I might find some ideas to work with?

    Thanks for any suggestions.

    Shaktimaan
    Participant
    add_filter( 'bp_get_send_message_button', function( $array ) {
        if ( friends_check_friendship( bp_loggedin_user_id(), bp_displayed_user_id() ) ) {
            return $array;
        } else {
            return '';
        }
    } );

    I am using the above filter to hide private message button to non friends. It works but it also hides private message button to site admins and bbpress moderators. I want site admins and bbpress moderatos (bbp_moderator) could send and receive private messages even if they are not friend.

    Any solution?

    andrew55
    Participant

    We use a membership script integrated with WP and BuddyPress. When users unsubscribe from emails in script, they still get email notifications from BuddyPress (private messages notifications, etc). This is bad.

    It’s easy for us to assign these members a custom role. Is there a way to prevent BuddyPress from sending emails to these users who have this custom role?

    I see here that you can create functions for creating new capabilities (for User Role Editor plugin):

    User Role Editor WordPress plugin – Change roles easily

    Is there a function, or another method I can use to prevent BuddyPress from sending of all emails for users who have specific custom role?

    Thanks for any suggestions!

    eitayz
    Participant

    Hello,

    I’m trying to add a button so nonregistered users can contact register users from the profile page via private message.
    Saw this discussion here:
    https://buddypress.org/support/search/private+message+button/

    But nothing worked for me. My website is not in English, should it be a problem? It looks like it bp-custom.php is not recognized, tried inserting the codes to function.php as well. Nothing works…

    I’d be happy for some help here.
    Tnx

    #266914
    slimmyweight
    Participant

    Hi I have just watched a tutorial on setting up buddypress

    I have it working but however I can’t seem to find the answer to this either.

    On my admin profile – settings – profile visibility

    How can I change this so only members can see it for other members accounts and is it possible for me to set my own account (the admin account) to private so no one else can see it.

    Thanks

    #266884
    bambidotexe
    Participant

    Hello,

    I would like to show the members list in private group to users who do not belong to the said group.
    I was thinking i had to change access and visibility of the nav items so i did that:

    function change_access_group_nav_tabs() {
      if(bp_is_group()) {
        buddypress()->groups->nav->edit_nav( array('visibility' => 'public'), 'members', bp_current_item() );
        buddypress()->groups->nav->edit_nav( array('access' => 'anyone'), 'members', bp_current_item() );
      }
    }
    add_action( 'bp_actions', 'change_access_group_nav_tabs' );

    But it didnt work…

    Any suggestion how to proceed?

    Thanks in advance 🙂

    cinto2009
    Participant

    BuddyPress private/public message custom fields – messages not getting outer mails such as gmail.

    #266877
    Julian45123
    Participant

    Hi,
    To choose a group to enter I’ve created a form and depend on what you answer the form choose a group for you. I want to create a link and put it and the end of the form so people of that group can join it. The group must be private.
    Thanks.

    #266776
    kariellen35
    Participant

    Hello. Could an admin please delete this post? This website information is coming up in search engines and I need to keep it private. Thank you so much for your time.

    Take care,
    Kari

    greenhandjack
    Participant

    Hello,i want to add an “star with me” button next to the button”private message””public message””add friend”buttons in member’s profile.now the chat plugin provider has told the Api to star the chat box ,it is a The JS function:
    FlyzooApi.startChat(LocalUserId, SuccessCallback(), FailCallback()) .
    i searched a lot about it but it is too hard for me to solve this question,now i wish to get help.

    #266591
    pimous
    Participant

    Hello,
    Is it possible to send documents through buddypress messaging (attachments) has members?
    thank you for your reply

    #266588
    kariellen35
    Participant

    I did end up installing this plugin and it is exactly what I was looking for so thank you!! I would like to request that this question be taken down, if that is ok. It shows up in a google search when I do a search for my domain and I have set it to private in order for it to not show up in a search. If this isn’t possible, than I understand. I just thought I’d ask. Thank you once again for your time and for all of your help!!

    Take care,
    Kari

    #266587

    In reply to: Remove RSS feed

    kariellen35
    Participant

    Thank you so much for your help!! I would like to request that this question be taken down, if that is ok. It shows up in a google search when I do a search for my domain and I have set it to private in order for it to not show up in a search. If this isn’t possible, than I understand. I just thought I’d ask. Thank you once again for your time and for all of your help!!

    Take care,
    Kari

    #266566
    livingflame
    Participant

    // Restrict Private Message to friends.

    Does not work with the new BuddyPress. ;-/

    #266564
    livingflame
    Participant

    Hi there. I think this code ==> is very userful, but, can be better.
    How can I add options to choice from Profile / Settings:

    [√] Everyone (marked by default)
    [ ] Only friends

    // Restrict Private Message to friends.
    function pp_check_message_recipients( $message_info ) {
    
    	//  Site admins are not restricted
    	if ( is_super_admin() )
    		return $message_info;
    	
    	$recipients = $message_info->recipients;
    
    	$friend_ids = friends_get_friend_user_ids( bp_displayed_user_id() ); 
    
    	$nf = 0; 
    		
    	foreach ( $recipients as $key => $recipient ) {
    
    		if ( ! in_array( $recipient->user_id, $friend_ids ) ) 
    			$nf++;
    
    	}
    
    	// If any recipients are not friends, remove everyone from the recipient's list
    	if (  $nf > 0 ) 
    		unset( $message_info->recipients );
    
    	return $message_info;
    }
    add_action( 'messages_message_before_save', 'pp_check_message_recipients' );


    @r-a-y


    @shanebp

Viewing 25 results - 751 through 775 (of 3,865 total)
Skip to toolbar