Good morning shanebp,
yes, of course I did it exactly the way you described. In the end I also found the reason why it did not work: It does work for public groups, but not for private groups. Is this also the same on your side? And if yes, do you know if there is something to get the same result for private groups?
Today, I tried to install BuddyPress the first time. But I still too stupid to get to running.
First, I tried the actual stable version 5.2.0 without luck. After this, I tried it with 6.0.0RC2 with the same result.
My problem is: I don’t find out, how to create new topics or manage groups.
Is there any special URL doing this?
WordPress: 4.9.13
PHP: 7.3.x
Database: MariaDB 10.4.11
Theme: Hueman 3.5.3
In BuddyPress 5.2, the pages for Members, Activity, Activation and Registering were created automatically. In BP 6 not and the Repair Tool does not create them automatically.
All of these pages are empty for me.
But inside the AdminBar, I see the “0” and I can use the several private pages.
How can I configure the groups, where I can open topics and how do I do this?
Sorry, but it seems I’m too stupid for BP… đ
We’re trying to only allow group messaging via CometChat so that only members of a group can message each other. All our groups are private.
Does anyone know if this is possible?
Hello, I have a healthcare site in which I would like to make it a “pro” feature for users to be able to colaborators (contributors).
My default user will be a subscriber
However I would only like clients and collaborators to be able to message each other (also admins and superadmins ofcourse).
I saw a simlillar thread about hiding the private message button but it was ID specific, not role specific. I would appreciate specific information as for my request. Also, where should I paste the code? I am not very experienced. Thanks!
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.
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 đ
@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
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!!!
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.
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 );
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
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
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?
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 );
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 );
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.
Hello, Buddypress has video/audio calling options for Members registering in? Also advice me good Buddypress themes for just groups, private messaging, paid membership.
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!!
Thanks mercine, it’s work fine, private navigate equal all other users non admin. cool ! đ
And, under Activate page, what is the Key ??
>> 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.
>>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.
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?
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.
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!!
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.