Hi is any way we can limit the private message to friends only?
I had my first spam message today!
Update.
– The group list private/hidden can now be seen in the edit mode of the topic. Although the group stops access to actually posting the topic onto the group the users doesn’t have access to. So as far as I can tell, although direct url access I haven’t tested, the user cannot read the private forums, topics from a group.
things that eed to be resolved
– removing the groups list forums from the edit mode as showing all the private and hidden group on the site isn’t ideal.
– the user can now see and view any private forums that are in non-group forums.
– possible direct url access to the group forums.
Hello,
I was experiencing the same issue, although this is quite an old topic now, I thought I would add my bit.
– So site admin gets to see all the topics, and forums from all groups types without issue
– normal user just see’s the public groups on their profile. – fine for someone that is viewing their profile but not for the user, who would like to see all relevant stuff from the site on one place.
– I have found adding the capability to read private topics, and hiddden topics to the subscriber role sorts out the problem. Using the “members” plugin to scope the roles out.
This is after building a clean site and going through all these setups to ensure it was not custom development that has caused any issues.
– So now I need to now if the user can now see all private forums/topics from all hidden groups / private groups at any point. This would obviously be a major problem for users with private content.
I will look into this further, but it is frustrating that these points are not covered in bbpress setup as a few lines of information on this would have cleared up this issue straight away. I do value the fact everyone is doing this in their spare time though.
Do you have the private messages component activated?
Okay I managed to create a add friend button using some code found on this website.. but im still a little stuck on creating a send private message button? any help would be great! thank you!
Hello does anyone know how to display links on wordpress post pages for the author of the posts buddypress profile link, send the author a private message and add friend with an if statement to check that the user isnt the author and if so echo nothing?
Would be extremely helpful!
Thank you!
WordPress Version 4.4.3
BuddPress Version 2.4.3
link – http://dev.inclusivetech.net/hammydowns/
Although you need to be logged in to see the button on the listings page.
Ok so obviously I have researched this matter on these forums before and have found useful
advice that i have used to make the button work. The one issue I am having trouble with
is pre-filling the messages subject field with the title of the item they wish to
message the user about.
The link works well and the user(Send To) field that the message is being sent to is correctly filled in after clicking on the button to message that person, similar to visiting a members profile page and then clicking private message.
I created the bp-custom.php file to achieve putting the link on the listings page. The code in there is as follows:
function bp_custom_get_send_private_message_link($to_id,$subject=false,$message=false) {
//if user is not logged, do not prepare the link
if ( !is_user_logged_in() )
return false;
$compose_url=bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?';
if($to_id)
$compose_url.=('r=' . bp_core_get_username( $to_id ));
if($subject)
$compose_url.=('&subject='.$subject);
/*if($message)
$compose_url.=("&content=".$message);*/
return wp_nonce_url( $compose_url ) ;
}
//for auto populating message content
add_filter(‘bp_get_messages_content_value’,’bp_custom_message_content_value’);
function bp_custom_message_content_value($content){
if(!empty ($content))
return $content;
$content=$_REQUEST[‘content’];
return $content;
}
Again this works well but for some reason this line of code does not seem to be effecting my messages
subject field at all. $compose_url.=(‘&subject=’.$subject);
I am calling the function correctly and the resulting http address is http://dev.inclusivetech.net/hammydowns/members/admin/messages/compose/?r=tvolmari&subject=Leather+Wallet&_wpnonce=181a9404ae
so I can see the subject title is being passed but it won’t populate my messages subject field.
Does anyone have any possible advice on how to solve this??? Or maybe a least a new direction
I should start to look at to figure it out? I’m starting to run out of idea’s.. haha
Any help would be appreciated thx
I was using the code example at https://codex.buddypress.org/developer/bp_user_query/#code-examples and found it works great for removing users from the Member’s Directory list based on an xprofile field.
However, when I change the order using the default Order By dropdown it seems the user that is removed comes back. I’m using the 2014 theme and default BP templates. Is there something else that needs to be done to get that to persist?
Debug wise, I’ve tried add
The POST source from Firebug below mentions a couple things about scope and filter but I’m not sure if that’s the place to look and why the action bp_before_directory_members doesn’t seem to fire on the Order By update:
action=members_filter&cookie=bp-activity-oldestpage=1&bp-members-scope=all&bp-members-filter
=active&object=members&filter=active&search_terms=&scope=all&page=1&template=
Thanks!
function bp_custom_get_send_private_message_link($to_id,$subject=false,$message=false) {
//if user is not logged, do not prepare the link
if ( !is_user_logged_in() )
return false;
$compose_url=bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?';
if($to_id)
$compose_url.=('r=' . bp_core_get_username( $to_id ));
if($subject)
$compose_url.=('&subject='.$subject);
/*if($message)
$compose_url.=("&content=".$message);*/
return wp_nonce_url( $compose_url ) ;
}
//for auto populating message content
add_filter(‘bp_get_messages_content_value’,’bp_custom_message_content_value’);
function bp_custom_message_content_value($content){
if(!empty ($content))
return $content;
$content=$_REQUEST[‘content’];
return $content;
}
WordPress Version 4.4.3
BuddPress Version 2.4.3
link – http://dev.inclusivetech.net/hammydowns/
Although you need to be logged in to see the button on the listings page.
Ok so obviously I have researched this matter on these forums before and have found useful
advice that i have used to make the button work. The one issue I am having trouble with
is pre-filling the messages subject field with the title of the item they wish to
message the user about.
The link works well and the user(Send To) field that the message is being sent to is correctly filled in after clicking on the button to message that person, similar to visiting a members profile page and then clicking private message.
I created the bp-custom.php file to achieve putting the link on the listings page. The code in there is as follows:
function bp_custom_get_send_private_message_link($to_id,$subject=false,$message=false) {
//if user is not logged, do not prepare the link
if ( !is_user_logged_in() )
return false;
$compose_url=bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?';
if($to_id)
$compose_url.=('r=' . bp_core_get_username( $to_id ));
if($subject)
$compose_url.=('&subject='.$subject);
/*if($message)
$compose_url.=("&content=".$message);*/
return wp_nonce_url( $compose_url ) ;
}
//for auto populating message content
add_filter(‘bp_get_messages_content_value’,’bp_custom_message_content_value’);
function bp_custom_message_content_value($content){
if(!empty ($content))
return $content;
$content=$_REQUEST[‘content’];
return $content;
}
Again this works well but for some reason this line of code does not seem to be effecting my messages
subject field at all. $compose_url.=('&subject='.$subject);
I am calling the function correctly and the resulting http address is http://dev.inclusivetech.net/hammydowns/members/admin/messages/compose/?r=tvolmari&subject=Leather+Wallet&_wpnonce=181a9404ae
so I can see the subject title is being passed but it won’t populate my messages subject field.
Does anyone have any possible advice on how to solve this??? Or maybe a least a new direction
I should start to look at to figure it out? I’m starting to run out of idea’s.. haha
Any help would be appreciated thx 🙂
Yes, just doubled checked, it’s in the correct place and the private and hidden groups are still there.
Thanks @shanebp. Yes, I contacted LearnDash over night and they suggested we look BuddyPress.
They said:
“I would look into BuddyPress. This has private groups and you can associate courses with different groups as well as allow each group have a private forum. You can find our add-on for BuddyPress here:
http://support.learndash.com/buddypress/”
I had a question about associating courses with different groups. I could only associate a course with 1 group. Is it possible to associate a course with multiple groups?
We would have the course Creative Writing
And multiple groups that we’d like to associate with it. Is that possible?
What does the association actually do? Do we need to associate the group with a course?
Thanks for your help!
Have you tried making the groups Private?
Have you asked LearnDash?
They have a BP extension, afaik.
And may be able to make suggestions.
I’ve tried doing that and removing everything related to the Private and Hidden options, but it hasn’t changed on the group creation page, still exactly the same.
Hi,
I’m looking for something like this too. So far, the closest thing is attached an audio file to the private message. Speakpipe is good but only directly to the owner of the site. It will be nice if there is a plugin to exchange private voice message.
Anyone?
Further testing:
– I’ve changed to TwentyFifteen theme
– deactivated all plugins except for BuddyPress and bbPress
I still can’t see topics that the user should be able to see. And they can access a private forum they aren’t a member of.
Where do I even begin to figure out what is going wrong with this site?
I just ran 2 forum repairs:
– Recalculate private and hidden forums
– Repair BuddyPress Group Forum relationships
and now I have a different problem. I’ve actually been experiencing this problem on and off now for about 2 weeks and I’m starting to pull my hair out!
So now if I go to the forum list (at the category level) I can see that there are topics in the child forums. But when I click through to the child forum it tells me “Oh bother! No topics were found here!” This is for a group that the user is a member of. There are definitely topics in that forum.
If I change the user from a Participant to a Moderator they can see the topics.
If I change them back to a Participant and then toggle the forum from private to public to private they can see the topics again. I have done this toggling of forum visibility several times over the past week and it only lasts for a day or two, then I’m back at this problem.
Create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\create.php
Then, in your template overload, remove the html for the Private and Hidden options.
HI. I have the following structure:
– Private Group
– – Private Forum Category
– – – Private Forum
– – – Private Forum
– – – Private Forum
So, a private group that has a forum. The top level forum is of type category, then the child forums are all private forums.
If a user that is not a member visits the Group or Forum Category they cannot see anything and are shown the option to request membership.
But if they go directly to the child forum they can access it and post. Even though they are not a member of the group.
I have the latest versions of WordPress, BuddyPress and bbPress as at today.
Obviously it’s an issue if non-members can access a private forum so I’d really appreciate any help to resolve this issue, thanks!
Hi,
In the privacy options on the group creation page, I’d like to have the private and hidden group options taken out, as I only want users to have their posts public. How would I go about doing this?
http://thenetwork.cavcaventures.org
I’m on WordPress version 4.5.1 and BuddyPress version 2.5.2
Hi there – we’re using BuddyPress to display a list of our members (using WP Members). I have 2 questions
1. To change the default view of members:
The page here http://criticalphysio.net/for-members/find-a-network-member/members/ (it’s private so you wont see it) displays our members by default by last active.
– is there a way to change this to alphabetical by last name?
perhaps this is by changing the default search filter that displays?
Currently it displays in this order
– last active
– newest registered
– alphabetical
see screenshot here
http://www.awesomescreenshot.com/image/1213436/090403f0cffa15368948681d9db0f375
2. To display members by first name, last name and country
Currently the default view for displaying members in the list is by just their username.
Is there a way to display the following fields instead?
First Name/Last Name
Country
See screenshot here
http://www.awesomescreenshot.com/image/1213439/9305ae37f2e5943e9de49001537a25ff
we’re running a child theme of Genesis called Utility Pro – so can edit theme or plugin files and add them to the directory.
Cheers
You can try BuddyPress Private Messages for Friends Only
Note:This plugin hasn’t been updated in over 5 years
I agree that there should be some indication or disabling when the button is clicked.
You can open an enhancement ticket here – use the same user & pw you use for these forums.
There is a plugin that will disable the button when sending public and private messages.
You can get it here:
https://wordpress.org/plugins/bp-profile-message-ux/
Or here:
http://www.philopress.com/products/buddymessageux-free/
I am running WP 4.5 with up to date BuddyPress with Private Message enabled. I have noticed that when replying to a message, the send button doesn’t change, nor is there any indication that the message is actually being sent. This often results in double messages since the users are hitting “send reply” multiple times.
I have tested this with 2016 and the same thing occurs. Any way to notify the user that their message is being sent before it loads on the screen?
So I’d like to be able to view my profile page as the administrator just like all of my other members. I have the site set to redirect to the user’s profile page and it works for all members except the administrator. Is there a way to overcome this? Instead of redirecting me to my profile, it just sends me to a membership page showing all active members. I am using the most current version of wordpress and buddy press and Kleo Buddypress theme. My site is private so I’d rather not share here. I have bbpress installed as well as a few other plugins. It has done this since I installed Buddypress before any other plugins were active.