Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 326 through 350 (of 3,857 total)
  • Author
    Search Results
  • #311407
    samhaddad85
    Participant

    Hi guys.
    So I want to build and educational material site. I want to upload lectures, videos and setup live video chat for questions and answers.

    I have few questions and i was hoping that you can help me figure out some answers.

    1- I want to be able to setup a video chat room for all my students as well as private chat room to be able to talk 1 on 1. is there any plugin that does that or is it supported by buddypress.

    2- I want to charge fee from students to be able to see content.
    for example i want to make packages (limited & unlimited) for unlimited you get to use all features of the website: msges, chat rooms, video content. and for limited users i want them to use basic features.

    I hope you can help me.

    honoluluman
    Participant

    Hello ,

    I am running a small blog site with mainly 3 roles on it . Subscriber, Contributor, Admin.
    I don’t have enabled the friends bp component, so in order for a user to have autocomplete in private messages i am using the define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true ); from here

    The problem is that the query give all users as a result. Is there a way to allow only contributor+admins in the results? Maybe by messages_autocomplete_init_jsblock function?

    Thank you all in advance 🙂

    #311285
    Varun Dubey
    Participant

    @onfleekresources

    It can be done with some custom code, or you can also checkout follow plugins.

    1- BuddyPress Private Community Pro plugin that adds a couple of features for admin and it allows admin to select based on user role or member type who can post on activity stream and you can also apply same limits on other BuddyPress features.

    2- You can set some specific members as auto friends to all members, and any activity admin members are going to make will be displayed to all member’s activity page

    #311277
    jmorilla
    Participant

    Hi everyone!
    I have this problem.
    When they write me a private message within my intranet, then an email arrives to my email as I have a message and this is the approximate url
    (https: //…/messages/view/113/)
    Clicking takes me to the page (http: //…../login/)
    And when I login, I will not be redirected to the previous url, but will stay in the home.

    Is there any solution?
    Thanks!!!

    simonlepamplemousse
    Participant

    Hello,

    The site to troubleshoot is: planetanim.fr

    I have had an error for a long time and I apologize if it has already been exposed and corrected. And I apologize for my bad English.

    I use buddyPress and bbPress for forums. For private forums, the bbP Private Groups plugin manages them for many reasons.

    The activity of private forums is displayed in BuddyPress activity streams whether users are connected or not, whether they are members of private forums or not. And it’s problematic. I even had to wait until I could solve the problem to suspend the display of the activity stream. Which is a shame.

    If you have an idea, please share it with me.

    shanebp
    Moderator

    You cannot get roles from just the user id.
    Try:

    function remove_private_message_button( $button ) {
    
    	$user_id = bp_loggedin_user_id();
    	$user = get_userdata( $user_id );
            $user_roles = $user->roles;
    	$allowed_ids = array( 23, 6, 25 );
    
    	if ( !empty( $user_roles ) && is_array( $user_roles ) ) {
    
    		if ( in_array( 'subscriber', $user_roles, true ) ) {
    
    			$button = '';
    			
    		} elseif ( in_array( 'contributor', $user_roles, true ) ) {
    				
    			if ( in_array( $user_id, $allowed_ids, true ) ) {
    				return $button;	
    			}
    
    		} 
    
    	}
    
    	return $button;
    
    }
    add_filter( 'bp_get_send_message_button', 'remove_private_message_button', 1 , 1 );
    honoluluman
    Participant

    Hello,

    I am running a small blog site with mainly 3 roles on it . Subscriber, Contributor, Admin
    I have been trying to remove the private message button under those conditions:

    – Hide message button from any users profile when Subscriber is logged in and viewing.
    – Hide message bytton from all subscribers profile when Contributor & admin is logged in and viewing, BUT allow contributor & admin to view other contributors & admins msg buttons.

    I have tried something like this but didnt work:

    function remove_private_message_button( $button ) {
    $user = bp_loggedin_user_id();
    
        if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
    
    		if ( $role == 'subscriber') {
    			$button = '';
    		}
    	
            else if( $role == 'contributor') {
    				
    		if ( $user == 23 || $user == 6 || $user == 25  ) { // the allowed user ID's, lets say that the contributors & admins are few and i could add them manually by ID's
    	     return $button;}	
    			
    		}
    	}
    
    }
    add_filter( 'bp_get_send_message_button', 'remove_private_message_button', 1 , 1 );

    any ideas would be appriciated

    simmidhaliwal
    Participant

    I created an action that uses the messages_new_message function (any time a user gets a tag, they automatically receive a private message.)

    Would it be possible to put a border around the message or make the font different? I would like to make these messages stand out a little from the other messages in a users inbox/thread by adding some styling. Below is the code I am using:

    function send_message_to_student_113( $user_id, $tags_applied ) {
    
    $tag_id = wp_fusion()->user->get_tag_id( ‘course tag 1.1.1’ );
    
    if ( in_array( $tag_id, $tags_applied ) ) {
    
    $args = array(
    ‘sender_id’ => 1,
    ‘thread_id’ => false,
    ‘recipients’ => $user_id,
    ‘subject’ => ‘Hello there’,
    ‘content’ => ‘You got a new tag! Congratulations. Please let me know if you need any help!’,
    ‘date_sent’ => bp_core_current_time()
    );
    
    $result = messages_new_message( $args );
    
    }
    }
    add_action( ‘wpf_tags_applied’, ‘send_message_to_student_113’, 10, 2 );

    I am using WordPress 5.3 and I am actually using BuddyBoss which is a fork of Buddypress.

    Thank you! Simmi

    rsandilands
    Participant

    We want our members to only be able to invite other members to private groups if they know their full name or maybe their email address. We don’t want them to be able to just search by a first name for example.

    Any thoughts on how to go about achieving this?

    #310972
    simmidhaliwal
    Participant

    Sorry for not listening to the rules! Here is a better version of my previous post –
    I am using WordPress 5.3 and I am actually using a theme called BuddyBoss to implement Buddyboss but that shouldn’t matter for my question.

    So I created a custom function where any time a user gets a tag, they automatically receive a private message. I would like to make these messages stand out a little from the other messages in a users inbox/thread by adding special styling. Would it be possible to put a border around this message? Below is the code I am using:

    Thank you! Simmi

    function send_message_to_student_113( $user_id, $tags_applied ) {
    
    $tag_id = wp_fusion()->user->get_tag_id( ‘course tag 1.1.1’ );
    
    if ( in_array( $tag_id, $tags_applied ) ) {
    
    $args = array(
    ‘sender_id’ => 1,
    ‘thread_id’ => false,
    ‘recipients’ => $user_id,
    ‘subject’ => ‘Hello there’,
    ‘content’ => ‘You got a new tag! Congratulations. Please let me know if you need any help!’,
    ‘date_sent’ => bp_core_current_time()
    );
    
    $result = messages_new_message( $args );
    
    }
    }
    add_action( ‘wpf_tags_applied’, ‘send_message_to_student_113’, 10, 2 );
    simmidhaliwal
    Participant

    So I created a custom function where any time a user gets a tag, they automatically receive a private message. I would like to make these messages stand out a little from the other messages in a users inbox/thread by adding special styling. Would it be possible to put a border around this message? Below is the code I am using:

    Thank you! Simmi

    function send_message_to_student_113( $user_id, $tags_applied ) {

    $tag_id = wp_fusion()->user->get_tag_id( ‘course tag 1.1.1’ );

    if ( in_array( $tag_id, $tags_applied ) ) {

    $args = array(
    ‘sender_id’ => 1,
    ‘thread_id’ => false,
    ‘recipients’ => $user_id,
    ‘subject’ => ‘Hello there’,
    ‘content’ => ‘You got a new tag! Congratulations. Please let me know if you need any help!’,
    ‘date_sent’ => bp_core_current_time()
    );

    $result = messages_new_message( $args );

    }
    }
    add_action( ‘wpf_tags_applied’, ‘send_message_to_student_113’, 10, 2 );

    #310935
    shanebp
    Moderator

    Another lock-down option is: https://wordpress.org/plugins/bp-simple-private/

    However, if you just need some private pages & categories, then you don’t need BuddyPress at all unless there is some interface aspect that requires profiles.

    If you aren’t using profiles, then there are probably some WP plugins that do what you want.
    Or, the custom WP code to accomplish is quite simple – if you are a WP dev.

    #310931
    hazmart2018
    Participant

    Hello, Buddypress has video/audio calling options for Members registering in? Also advice me good Buddypress themes for just groups, private messaging, paid membership.

    bmotion
    Participant

    Hi there!!
    What would be the best way to create a private (no-index), area not for customers but for our team.

    We need to create a no-index series of pages or categories in order to have some resources as pictures, videos an pdf files.

    Would be BuddyPress enough to give permissions create different WP roles/users in this matter?

    I would appreciate any lead in to this requirement

    Thanks to all!!

    #310859
    alama32
    Participant

    Thanks mercine, it’s work fine, private navigate equal all other users non admin. cool ! 😉
    And, under Activate page, what is the Key ??

    #310858
    @mercime
    Participant

    >> I have the menus “Activate and” register “which point to my home page .. ?? how it is done?


    @alama32
    That’s the default behavior for the register page when you’re logged in. You can see your register page even when you’re logged in by opening a private window. So if you’re using Chrome, open up “New incognito window”; or on Firefox, open up “New Private Window”; or Edge, open up “New InPrivate Window”, etc.

    #310857
    @mercime
    Participant

    >>Yes, I can choose the “Register & Activate pages” that have been created by buddypress, but if I want to view those pages then I will come to both of them on the Homepage …


    @robproce
    That’s the default behavior when you’re logged in. You can see your register page even when you’re logged in by opening a private window. So if you’re using Chrome, open up “New incognito window”; or on Firefox, open up “New Private Window”; or Edge, open up “New InPrivate Window”, etc.

    jbrandsma
    Participant

    I have wordpress version 5.4 and buddypress version 5.1.2. I am using bbpress, youzer, and buddypress to wordpress full sync.

    I had gathered from research that users can private message to other users from the compose screen if they’re not friends, by simply inputting in their username in the input field. But currently the user is only able to send a private message to a friend, rather than any member. How do I open up this functionality so users can find any member in the directory to send a private message?

    #310783
    iamthewebb
    Participant

    I normally open a private browser window when I need to see the site as a logged out user and stay logged in using another tab.

    How does the page look when you have the twentytwenty theme active? Unfortunately as BeTheme is a premium theme I may not be able to help much.

    #310752

    Topic: Private area

    in group forum Installing BuddyPress
    bmotion
    Participant

    Hi there community!

    I’m trying to find the best way to create a private resources area for our website, not for customers but for our team. Looking arround I found this wonderful plugging that I didn’t know about.

    We need to create a no-index series of pages or categories in order to have some resources as pictures, videos an pdf files four our team.
    Is BuddyPress capable to do it? It would be great to have all these extra community features that we can use too.

    I would appreciate any lead in to this requirement

    Thanks to all!!

    #310740

    In reply to: Group Photo Upload

    iamthewebb
    Participant

    I just use standard BP on my sites and using the normal wordpress groups users can upload images although when uploading for posts etc they are not private if this is something you are looking for.

    #310706
    webcomon
    Participant

    For each group the data below is shown
    Private Group / 14 members
    active 1 day, 13 hours ago

    How to hide this data?

    PS:
    WordPress 5.3.2 running sinatra child theme theme.
    BuddyPress Version 5.1.2

    #310687
    peppo90
    Participant

    Hi, how can I disable upload image in private or public messages? Because I don’t have a lot of space available in my site and if the users send a lot of images in a little time I finish my space.
    Thanks

    #310679
    fra88
    Participant

    Hi!
    How can I create a button on member’s profile that redirects to sending an automatic private message to their inbox. For example: a button : “I’m interested” sends the automatic private message: “I’m interested” to that member.
    Thanks!

    matwin23
    Participant

    yes, i use this code…

    // ADD SHORTCODE TO SINGLE PRODUCT – PM link
    add_action( ‘woocommerce_share’, ‘enfold_customization_extra_product_content’, 15 );
    function enfold_customization_extra_product_content() {
    echo do_shortcode(“[bp-pm-button]”);
    }

    //////////////////////////////////////////////////////////////////
    // BuddyPress send private message button
    //////////////////////////////////////////////////////////////////

    /**
    * Get a link to send PM to the given User.
    *
    * @param int $user_id user id.
    *
    * @return string
    */
    function buddydev_get_send_private_message_to_user_url( $user_id ) {
    return wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/compose/?r=’ . bp_core_get_username( $user_id ) );
    }

    /**
    * Shortcode [bp-pm-button username=optional_some_user_name]
    *
    * @param array $atts shortcode attributes.
    * @param string $content content.
    *
    * @return string
    */
    function buddydev_private_message_button_shortcode( $atts, $content = ” ) {
    // User is not logged in.
    if ( ! is_user_logged_in() ) {
    return ”;
    }

    $atts = shortcode_atts( array(
    ‘user_id’ => ”,
    ‘username’ => ”,
    ‘label’ => ‘Send this Member a Message’,
    ), $atts );

    $user_id = absint( $atts[‘user_id’] );
    $user_login = $atts[‘username’];

    // if the username is given, override the user id.
    if ( $user_login ) {
    $user = get_user_by( ‘login’, $user_login );
    if ( ! $user ) {
    return ”;
    }
    $user_id = $user->ID;
    }

    if ( ! $user_id ) {
    if ( ! in_the_loop() ) {
    return ”;
    }

    $user_id = get_the_author_meta(‘ID’ );
    }
    // do not show the PM button for the user, if it is aimed at them.
    if ( bp_loggedin_user_id() === $user_id ) {
    return ”;
    }

    // if we are here, generate the button.
    $button = sprintf(‘%2$s‘, buddydev_get_send_private_message_to_user_url( $user_id ), $atts[‘label’] );

    return $button . $content;
    }

    add_shortcode( ‘bp-pm-button’, ‘buddydev_private_message_button_shortcode’ );

Viewing 25 results - 326 through 350 (of 3,857 total)
Skip to toolbar