Hi, I am running buddypress as a private social networking / education site for K-8 schools. I’ve recently had occasion to view a members activity. I thought activity stream would cover most but it seems if someone deletes an activity from their wall it is deleted from the backend activity stream as well.
For example; a student recently changed their profile photo (or did they?). The last profile photo change I can find is over nine months ago. I want to rule out that it was changed and the activity record deleted.
Is there any way to record, as an archive, all activity?
Thanks,
To create a member only site, I would highly recommend this plugin – https://wordpress.org/plugins/jonradio-private-site/
I’m writing a message limiting plugin so on any given private message thread there can only be one “exchange”. I’ve found that the private messaging hook documentation has yet to be filled out.
Private Messaging
Writing this
function message_limiter_compose() {
return "CUSTOM COMPOSE";
}
add_filter('messages_screen_compose', 'message_limiter_compose');
I don’t see the result anywhere on the compose page or in the send process. Some documentation here would be greatly appreciated.
Thanks!
1.) For invites try: https://wordpress.org/plugins/wordpress-mu-secure-invites/
To keep logged out visitors from accessing BP pages check out: http://bphelpblog.wordpress.com/2014/09/27/private-bp-pages/
Usernames can’t be changed and if you don’t want users changing their password you would need to custom code it unless you can find a code snippet on the forum or on the net.
2.) You can use filters and you can also try this plugin: https://wordpress.org/plugins/bp-profile-search/
3.) Use bbPress: https://wordpress.org/plugins/bbpress/
You will have to search the plugins directory, the forums, and google the rest for your requirements unless someone else would like to take over where I left off. Hope this is at least a start. Good luck!
Thanks danbp
Really sorry to bother you again.
I implemented this but it is not removing anyone from the loop. I looked at the gist you linked too and (with my limited php experience) combined with the text in the top
Filter Members List Based On Profile Field – Female members are served a directory of males and male members are served a directory of females.
then I am wondering if I have not explained myself properly.
I want to hide/remove members from the loop who has chosen “private” in their profile. I don’t want any members to be able to see members who has chosen “private”.
Here’s a snippet to filter members list based on profile field.
Remove your custom members-loop file first and revert to default one.
The example use field ID 62 with value = public
The field is called Privacy in xProfile and use a selectbox field type who shows 2 options: private and public.
You’ll probably also have to remove, or to conditionnally show, the top navbar, search box, etc in the template (childtheme/buddypress/members/index.php)
Add this snippet to bp-cutom.php.
class BP_Custom_User_Ids {
private $custom_ids = array();
public function __construct() {
$this->custom_ids = $this->get_custom_ids();
add_action( 'bp_pre_user_query_construct', array( $this, 'custom_members_query' ), 1, 1 );
add_filter( 'bp_get_total_member_count', array( $this, 'custom_members_count' ), 1, 1 );
}
private function get_custom_ids() {
global $wpdb;
// collection based on an xprofile field
$custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 62 AND value = 'Public'");
return $custom_ids;
}
function custom_members_query( $query_array ) {
$query_array->query_vars['include'] = $this->custom_ids;
}
function custom_members_count ( $count ) {
$new_count = count( $this->custom_ids );
return $count - $new_count;
}
}
function custom_user_ids( ) {
new BP_Custom_User_Ids ();
}
add_action( 'bp_before_directory_members', 'custom_user_ids' );
Props @shanebp (tip on github)
Hi @callumoberholzer
BuddyPress allows you to have:
- member profiles
- an advanced member search (through the BP Profile Search plugin)
- private messaging
So it looks like your requirements are covered. My advice would be to set up a test install and try out all of the features to see if they meet your requirements.
Hi all!
I’m building a site for (SAINE – South African Innovation Network) and one of the requests have been that we create a site that has ‘membership profiling’ and where members can search for other members according to what they’re looking for (i.e a university, incubator or corporate searching for certain people to create a professional relationship with) and then communicate privately with so that intellectual property can be discussed securely.
I have also looked into UserPro, but to be honest i haven’t used either of these platforms.
Am i heading in the right direction here?
Thanks in advance!
Callum
Hi
The home page CSS of my Private Group defaults to the CSS of the home page of my Genesis theme web site. I’ve tried working out how to modify the styling, but the Genesis home page CSS in the #inner element keeps taking precedence.
This doesn’t happen for my public group. The home page url there defaults to forums. The private group url defaults to the groups home page with the wrong CSS.
Would appreciate any help please……
Thanks,
MM
By PM I mean Private Message and when I go to the Private Message screen to send one to a user, username suggestions do not appear in the box as I begin to type letters regardless of whether I start with an @ or not.
So I guess that this feature doesn’t exist and that there are no plugins to make it work?
Ah sorry, by PM I thought you may have been referring to public messaging (also known as @-mentions). Auto-complete should work on the private messaging compose screen too. Have you tested?
I have a large social network that I’ve migrated into BuddyPress. One of the features on the old site was to allow users to “unlock” private photos for certain users.
The new BuddyPress version of the site allows them to mark photos as private in rtMedia but I can’t find a solution / plugin to allow users to share or unlock that privacy restriction for some users.
Any suggestions would be greatly appreciated 😀
Nice, I was actually looking at that a couple of days ago. I had tried a few things out, but to no avail.
Here’s where i’m at: I’ve commented the above edited section of members-loop.php.
In my bp-custom.php i’ve copy/pasted the code from the link you sent, and have applied the following edits to it:
private function get_custom_ids() {
global $wpdb;
// collection based on an xprofile field
// WP_User_Query arguments
$args = array (
'role' => 's2member_level2',
'fields' => array( 'id' ),
);
// The User Query
$user_query = new WP_User_Query( $args );
//The User Loop
if ( ! empty( $user_query->results ) ) {
foreach ( $user_query->results as $user ) {
$custom_ids = $user.",";
}
} else {
// no users found
}
//$custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 8 AND value = 'no'");
return $custom_ids;
}
I also, made the lower two edits you suggested to the $query_array and return $new_count.
currently i’m getting this error:
Catchable fatal error: Object of class stdClass could not be converted to string in /home/collegi8/public_html/wp-content/plugins/bp-custom.php on line 30
line 30 is:
$custom_ids = $user.",";
Thanks for all your help man,
M
Short of giving your users extra hugs and re-assuring them that their WordPress usernames aren’t particularly private bits of data, you’re going to have to get your hands dirty. 🙂
It might be down to how the other plugin creates user accounts. Most plugins that allow sign-in using other services’ authentication systems (such as Facebook) don’t “properly” create WordPress user accounts; they use MySQL statements directly instead of using WordPress’ APIs.
This can cause problems with plugins that expect certain user record fields to be in a particular format (if some other plugin came along and just inserted something in a custom format in place). I am not saying that this is the case with this plugin, as I haven’t looked at its code, but I’ve seen this sort of thing before.
If you can create a test account and then go into your DB’s wp_users table and find your test user, and let us know what the values of the user_login, user_nicename, display_name fields are — and which one of these @mentions is using, and which one you would like it to use.
I built @mentions in the last BuddyPress release and while I’m not sure if it’s possible to get it to change how it behaves like this, understanding what you’d want different with real data from a test account will help us help you, and at worse, give a suggestion for ways we could make advanced customisations possible for this in future BuddyPress releases.
@pfriem
I have a premium plugin Private Community For BP that should do what you need if you are interested. You can ask any questions regarding this plugin you have here:
Submit Comments, Tips or Tricks, or Job Inqueries
@vernontessio,
it depends on how you use bbpress ! As standalone forum or as group forum.
If you use buddypress’s group forums, you create a hidden group which will be only seen by the members who belongs to it and nobody else.
If you use bbpress outside of BP as standalone forum, you can use Private Groups plugin.
Remember also that Everything in a BuddyPress community revolves around its members.
Hello,
I am wondering why there is not an option to delete single photos in the Buddypress system? I can only find an option to make a photo Private so others cannot see the photo. But it would make a lot of sense for someone to be able to delete a photo wouldn’t it?
Thank you in advance for any help or insight that you can lend on this!
Karyn
Hi all,
Hoping that someone may be able to help me 🙂 I am using the latest version of BuddyPress alongside BBP Press.
I have set up a forum with various groups. To view a group you need to register which is done via manually activating users after they have completed the registration process. Some of the groups are required to be hidden from certain users…
e.g. Group 1, can be viewed by any member when logged in. Group 2, can only be viewed by specific members.
I understand that I can set groups to Public, private and hidden but need to hide certain groups to only specific members.
If anyone has any advice on how I would go about achieving this I would greatly appreciate you help.
If you need any further information then please let me know.
Thank you,
Vern
Hello Community,
I’ve been browsing various directory plugins and BuddyPress options, but I am having difficulty determining the best course of action in building my site. I would greatly appreciate any feedback and advice you could lend me in this matter.
I would like to create a directory site in which there are two types of registered users (neither is charged to sign up).
The first user only has the ability to register strictly for privately messaging the second user type through BuddyPress.
The second user type has the ability to register by submitting a listing for their profile to appear in a searchable directory. I would like this user type’s registration to have custom form fields (BuddyPress extended profiles?). Geolocation is optional I suppose, provided that a custom field could substitute this if it is still a searchable option in the directory.
I intend on using X theme with the Ethos stack. I’m also looking for a way to display recently added directory profiles as featured posts (so they appear in the stack above navigation).
Please share your thoughts and suggestions!
Hi @danbp, thanks for answering.
OK, this is embarassing: I checked again and the forum was not set as private.
and voila : A post in a private forum does not show up in public activity stream.
Sorry about that one. 😉
Buddypress 2.1 broke a bunch of things on our wp 4.0 site – how do we downgrade to 2.0 until all those issues are fixed?
– activity plus no longer works
– add friend link no longer works, stays static and returns to start page
– drop down header menu is now dead
– private message no longer works
– adna couple other things.
A “how to” for temporarily downdgrading to 2.0 would be very welcome – Thanks!
thanks for your answer shanebp.
i didn’t understand all you said but it lead me to the solution. so thank you
i am a rookie so i didn’t know the basics on how to use buddy press with bbpress…
so maybe a rookie can find this helpfully
this is what i did.
i went to bbpress.
i created a forum called general public and another called vip section
then i went buddy press group section and i created a group called vip, here is the thing. the group doesn’t make a forum. you must make it firt. in this example i took the vip section forum.
this were my steps
1) in FORUM. i created:
*general public forum (the one everyone must be able to see and participate) has the standard settings
*vip section forum (the one only for the people of the vip group) has this settings: tipe: forum; State: Open; visibility: Private
2) in GROUPS. i created a new group called VIP
this were the settings, Is a Hidden Group. and invitations can only be given by admins and moderators
in this way:
– when people is not logged in they can only see the general public forum.
– when they logging they can participate in the general public forum, they can see the private vip section forum but they cannot participated in it (i wanted that they would see it neither but this is how it works) in other words, they can see the group forum (vip section) but they cannot see what´s inside.
– when a member of the vip group logging they can see and participated in bouth forums.
When sending a private message to someone you are given the option to add recipients to the conversation using the Sent-to field. When typing in that field it will provide a dropdown where you could select the user to populate the field with. This dropdown has stopped working.
I have had no updates. Still using Buddypress 2.1 and WordPress 3.9. I tested with all other plugins disabled, I’ve disabled and reenabled buddypress and tried with Theme TwentyThirteen.
Any suggestions?
So you created a private group call ‘vip’.
And added a forum to that group via ‘[your-site-url]/groups/vip/admin/forum/’
And added some members to the forum via
wp-admin/admin.php?page=bp-groups -> Edit – Add New Members
And those added members cannot see the vip forum listed when visiting
‘[your-site-url]/forums/’ – correct?
i installed bbpress 2.5.4, i also installed buddy press 2.0.2, so i could have a private group forum.
this is what i want.
i want to have 2 forums. one for general public and another to vip public.
in general public forum anyone should be able to participate.
in vip public forum group only members can see and participate here.
so i installed buddy press to have this vip public group.
and i choose some vip members but when going to the forums… this group is not visible, not even to the vip members.
what am i doing wrong? or is my bbpress not compatible with the buddy press?
please help. and thanks