• Resolved ramya

    (@ramyasam)


    public function show_chat_box_metabox( $role ) {
    
    	if($role === 'custome_role'){
    
    		$unique_key = 'blog_'.$post->ID.'';
    
    		$thread_id = $this->get_unique_conversation_id_only($unique_key);
    
    		if( $thread_id > 1){
    
    			echo '<div class="custom-content">';
    				echo Better_Messages()->functions->get_conversation_layout($thread_id);
    			echo '</div>';
    
    		}
    	}	
    }
    1. How to enable users with a custom role to invite more participants to private conversations and convert them into group conversations
    2. They can view the conversation even if they have not participated, similar to an admin.
    3. The above Condition For this function Only.
Viewing 1 replies (of 1 total)
  • Plugin Author wordplus

    (@wordplus)

    Hi there!

    Unfortunately there is no such option to allow only some custom role to invite more participants and allow not admin users to view conversations which they are not participate in.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Role Based Admin Access for Conversation’ is closed to new replies.