Search Results for 'private'
-
AuthorSearch Results
-
August 28, 2023 at 10:32 am #331012
In reply to: Public messaging precision
Philippe Roussel
ParticipantHi,
Indeed, messaging someone “publicly” does not make much sense if everyone and their mother can see the message, not just the specific group of people you intended it to.
Now, how do you send a private message to several people at once? I guess I have to be “Friend” with each of them. From there is it enough to click on the username of one of them, then on the Private Message button and simply add in the Send @Username field all the other usernames?
That’s a bit convoluted. Why the Messages/Compose tabs do not offer a Private/Public message option?
Thanks again for your help.
August 25, 2023 at 3:36 pm #330966Topic: Private and public messaging
in forum How-to & TroubleshootingPhilippe Roussel
ParticipantHi,
I am unable to explain in a clear and succinct way to my website’s future members how to send private or public messages and how to do it individually or in bulk (addressing group members, for instance). One reason for my incapacity is that there is a little bit of information everywhere about these topics, which is often contradictory. The other is that the info is generally obsolete; for instance, I have never seen a “Public Message” button or an “Add Friend” one, though this is still given as true in the tutorials. I have looked around a lot, to no avail.
Can you point me to an up-to-date and thorough tutorial outside of the official BP documentation?
Thanks for your help,
Philippe
August 16, 2023 at 1:14 pm #330837lmstearn
ParticipantWP Ver: 6.3; BuddyPress Ver: 11.2.0; BBPress Ver: 2.6.9
Hi, as creating a group and applying it to an existing private forum A is not possible, a new, empty, private forum B is created by default instead. Once the existing forum A is added to the group, will it break anything to remove the newly created empty forum B?
The two forums appeared to be linked in some way.
Thanks.August 1, 2023 at 11:30 am #330632Topic: I am not able to update the group status
in forum How-to & TroubleshootingKahnu Charan Swain
ParticipantI have created a new group with the below code.
// Define the group details. $group_args = array( 'creator_id' => get_current_user_id(), // The ID of the user who creates the group. 'name' => 'My New Group', // Replace this with the desired group name. 'description' => 'This is a sample group created by code.', // Replace this with the group description. 'status' => 'public', // You can set the status to 'public', 'private', or 'hidden'. ); // Create the group. $group_id = groups_create_group( $group_args ); if ( ! is_wp_error( $group_id ) ) { echo 'Group created successfully. Group ID: ' . $group_id; } else { echo 'Failed to create group: ' . $group_id->get_error_message(); }I want to update the created group status from “public” to “hidden” but I cannot find the proper hook/function.
July 13, 2023 at 3:20 pm #330398Topic: Table in User profile
in forum How-to & Troubleshootingmyfineweb
ParticipantHello everyone, I have a question that I’m looking for an answer for days, I have to create a site with private area that allows to display a table in the user’s page, this table deals with a workout sheet that must be editable only by the administrator, I wonder such a thing is possible with some plugin extensions? if not how can I move according to you?
July 6, 2023 at 5:10 am #330322In reply to: Buddypress profile pic to wordpress avatar
kindabisu
ParticipantTo use your BP (BuddyPress) profile picture as the WordPress avatar, you can follow these steps:
Install and activate the “BuddyPress” plugin: Ensure that you have the BuddyPress plugin installed and activated on your WordPress site. This plugin adds social networking functionality, including user profiles, to your WordPress site.
Upload a profile picture in BuddyPress: Go to your BuddyPress profile and upload the desired profile picture. BuddyPress allows users to customize their profile information, including the profile picture. Typically, you can find the profile settings in the user dashboard or by navigating to your profile page on the front-end of your website.
Enable BuddyPress avatar syncing: By default, BuddyPress doesn’t automatically sync the profile picture with the WordPress avatar. You can enable this functionality by adding custom code to your theme’s functions.php file or by using a plugin specifically designed for this purpose.
Option 1: Custom code:
Open your theme’s functions.php file (Appearance > Theme Editor > functions.php) and add the following code snippet:php
Copy code
function bp_sync_profile_picture_with_avatar( $avatar, $id_or_email, $size, $default, $alt ) {
if ( function_exists( ‘bp_core_fetch_avatar’ ) ) {
$avatar = bp_core_fetch_avatar( array(
‘item_id’ => $id_or_email->user_id,
‘type’ => ‘full’,
‘html’ => false
) );
}
return $avatar;
}
add_filter( ‘get_avatar’, ‘bp_sync_profile_picture_with_avatar’, 10, 5 );
Option 2: Use a plugin:
Install and activate a plugin like “BuddyPress Default Avatar” or “BuddyPress Avatar Sync.” These plugins simplify the process by automatically syncing the BuddyPress profile picture with the WordPress avatar.Verify the avatar sync: Log out of your WordPress account and visit your website as a guest or open an incognito/private browsing window. Leave a comment or view your author bio to see if the BuddyPress profile picture is now being used as the WordPress avatar.
By following these steps, your BuddyPress profile picture should now be synced with your WordPress avatar.
June 1, 2023 at 3:52 pm #329951In reply to: Hide pages/content
shanebp
ModeratorMay 15, 2023 at 12:12 pm #329635In reply to: private messaging with bbpress
oliveranthony
ParticipantBBPress is a WordPress plugin that allows you to add a forum or discussion board to your WordPress website. While it doesn’t come with a built-in private messaging feature, there are a few ways you can add this functionality to your forum:
Use a plugin: There are several plugins available that allow you to add private messaging to BBPress. One popular option is the “Private Messages For BBPress” plugin, which adds a private messaging system to your forum. You can also check out other plugins that are available in the WordPress repository.
Use a third-party service: Another option is to integrate a third-party service that offers private messaging. For example, you could use a service like BuddyPress, which offers a range of social networking features, including private messaging. You can integrate BuddyPress with BBPress to add private messaging to your forum.
Custom development: If you have the technical skills or can hire a developer, you could also develop a custom solution to add private messaging to your forum. This would involve creating a plugin or customizing the BBPress code to add the functionality you need.
Whichever method you choose, it’s important to consider the security and privacy implications of adding private messaging to your forum. Make sure to implement appropriate security measures to protect user data and prevent spam or abuse.
April 4, 2023 at 9:15 pm #328963Topic: Can’t delete folders
in forum How-to & Troubleshootingbcreativeaus
Participant​I can’t delete folders within buddy press.
Each time I try, the page just refreshes with the fact same message:
Delete Folder
You are about to delete the folder delete.
WARNING: Deleting a folder will also delete all Docs and subfolders in the folder. This action cannot be undone. To preserve your content, remove everything from this folder before deleting it.
I understand the consequences and wish to continue deleting this folder.
(Cannot offer any links as it is all private access.)
Have screenshots if required, or can offer links privately.Please help
Thanks
BMarch 28, 2023 at 12:53 pm #328851Topic: BP attachments
in forum How-to & TroubleshootingLars Henriksen
ParticipantThank you for developing BP attachments ! I would like to test it compared to the plugin Activity Plus Reloaded.
1) Will there be any issues if this add-on moves into BP core? Would it be better to wait for that?
2) “Please make sure the /nas/content/live/buddypress-private exists and is writeable for the server’s user.” – should i create this folder via ftp – if so, which folder ?
Thanks,
LarsMarch 15, 2023 at 6:04 pm #328706Topic: Is there a way to block invites?
in forum How-to & TroubleshootingPhilippe Roussel
ParticipantHi,
I will need to create private or hidden groups where I am the only one able to invite people.
Thanks for your help,
PhilippeFebruary 25, 2023 at 4:06 am #328524In reply to: message reply bug in v11.0.0
christy359
ParticipantHello gm
we are waiting for updates please reply me privately Nexus Iceland AppFebruary 22, 2023 at 2:28 pm #328495Topic: HTML entities in the private message title
in forum How-to & Troubleshootingm1000
ParticipantWhen I use special characters like &&& then it displays html entities, it happens to all default WP themes
February 15, 2023 at 3:04 pm #328428In reply to: Say Hi to BuddyPress 11.0.0 “La Scala”
ito
ParticipantHaving issues with the new update as well.
Unable to read messages – I can see how many are there – when I press on them it takes me to ‘page not found’. Same for all other tabs – ie notifications, etc.If I have a member page – it is not private – everyone can see everyone else’s.
Help?
February 14, 2023 at 12:26 am #328396Topic: Private Messages Send Reply Error
in forum How-to & Troubleshootingglennizen
ParticipantWordPress Version 6.1.1
BuddyPress Version 11.0.0I’m having a problem implementing BuddyPress on my site. Everything works fine except for Reply to Private Message. When click on Send Reply btn, it errors out: “Your reply was not sent. Please enter some content.” There is content. Please advise. Thank you.
February 2, 2023 at 11:22 am #328221In reply to: Say Hi to BuddyPress 11.0.0 “La Scala”
adhamahmed
Participantwelcome everybody
After greeting
I want to know a problem. When I select a private forum, the word is repeated twice: private: private:
Template support told me not by us
Is there any helper?
RegardsJanuary 29, 2023 at 5:07 pm #328174In reply to: remove group privacy
edensan
Participantokay here is the php code for every privacy set to public:
<?php /** * BP Nouveau Group's edit settings template. * * This template can be overridden by copying it to yourtheme/buddypress/groups/single/admin/group-settings.php. * * @since BuddyPress 3.0.0 * @version 1.0.0 */ ?> <?php if ( bp_is_group_create() ) : ?> <h3 class="bp-screen-title creation-step-name"> <?php esc_html_e( 'Select Group Settings', 'buddyboss' ); ?> </h3> <?php else : ?> <h2 class="bp-screen-title"> <?php esc_html_e( 'Change Group Settings', 'buddyboss' ); ?> </h2> <?php endif; ?> <div class="group-settings-selections"> <fieldset class="radio group-status-type"> <legend><?php esc_html_e( 'Privacy Options', 'buddyboss' ); ?></legend> <div class="bp-radio-wrap"> <input type="radio" name="group-status" id="group-status-public" class="bs-styled-radio" value="public" <?php if ( 'public' === bp_get_new_group_status() || ! bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="public-group-description" /> <label for="group-status-public"><?php esc_html_e( 'This is a public group', 'buddyboss' ); ?></label> </div> <ul id="public-group-description"> <li><?php esc_html_e( 'Any site member can join this group.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'This group will be listed in the groups directory and in search results.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'Group content and activity will be visible to any site member.', 'buddyboss' ); ?></li> </ul> <?php /** DIT UITGEVINKT DOOR EDWIN <div class="bp-radio-wrap"> <input type="radio" name="group-status" id="group-status-private" class="bs-styled-radio" value="private" <?php if ( 'private' === bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="private-group-description" /> <label for="group-status-private"><?php esc_html_e( 'This is a private group', 'buddyboss' ); ?></label> </div> <ul id="private-group-description"> <li><?php esc_html_e( 'Only people who request membership and are accepted can join the group.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'This group will be listed in the groups directory and in search results.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'Group content and activity will only be visible to members of the group.', 'buddyboss' ); ?></li> </ul> <div class="bp-radio-wrap"> <input type="radio" name="group-status" id="group-status-hidden" class="bs-styled-radio" value="hidden" <?php if ( 'hidden' === bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="hidden-group-description" /> <label for="group-status-hidden"><?php esc_html_e( 'This is a hidden group', 'buddyboss' ); ?></label> </div> <ul id="hidden-group-description"> <li><?php esc_html_e( 'Only people who are invited can join the group.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'This group will not be listed in the groups directory or search results.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'Group content and activity will only be visible to members of the group.', 'buddyboss' ); ?></li> </ul> DIT UITGEVINKT DOOR EDWIN */ ?> </fieldset> <fieldset class="radio group-invitations"> <legend><?php esc_html_e( 'Group Invitations', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to invite others?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-invite-status" id="group-invite-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> <label for="group-invite-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-invite-status" id="group-invite-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> <label for="group-invite-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-invite-status" id="group-invite-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> <label for="group-invite-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <fieldset class="radio group-post-form"> <legend><?php esc_html_e( 'Activity Feeds', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to post into the activity feed?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-activity-feed-status" id="group-activity-feed-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_activity_feed_status_setting( 'members' ); ?> /> <label for="group-activity-feed-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-activity-feed-status" id="group-activity-feed-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_activity_feed_status_setting( 'mods' ); ?> /> <label for="group-activity-feed-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-activity-feed-status" id="group-activity-feed-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_activity_feed_status_setting( 'admins' ); ?> /> <label for="group-activity-feed-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php if ( bp_is_active( 'media' ) && bp_is_group_media_support_enabled() ) : ?> <fieldset class="radio group-media"> <legend><?php esc_html_e( 'Group Photos', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to upload photos?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-media-status" id="group-media-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_media_status_setting( 'members' ); ?> /> <label for="group-media-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-media-status" id="group-media-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_media_status_setting( 'mods' ); ?> /> <label for="group-media-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-media-status" id="group-media-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_media_status_setting( 'admins' ); ?> /> <label for="group-media-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'media' ) && bp_is_group_albums_support_enabled() ) : ?> <fieldset class="radio group-albums"> <legend><?php esc_html_e( 'Group Albums', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to create albums?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-album-status" id="group-albums-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_albums_status_setting( 'members' ); ?> /> <label for="group-albums-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-album-status" id="group-albums-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_albums_status_setting( 'mods' ); ?> /> <label for="group-albums-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-album-status" id="group-albums-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_albums_status_setting( 'admins' ); ?> /> <label for="group-albums-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'media' ) && bp_is_group_document_support_enabled() ) : ?> <fieldset class="radio group-document"> <legend><?php esc_html_e( 'Group Documents', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to upload documents?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-document-status" id="group-document-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_document_status_setting( 'members' ); ?> /> <label for="group-document-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-document-status" id="group-document-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_document_status_setting( 'mods' ); ?> /> <label for="group-document-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-document-status" id="group-document-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_document_status_setting( 'admins' ); ?> /> <label for="group-document-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'video' ) && bp_is_group_video_support_enabled() ) : ?> <fieldset class="radio group-video"> <legend><?php esc_html_e( 'Group Videos', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to upload videos?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-video-status" id="group-video-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_video_status_setting( 'members' ); ?> /> <label for="group-video-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-video-status" id="group-video-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_video_status_setting( 'mods' ); ?> /> <label for="group-video-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-video-status" id="group-video-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_video_status_setting( 'admins' ); ?> /> <label for="group-video-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'messages' ) && true === bp_disable_group_messages() ) : ?> <fieldset class="radio group-messages"> <legend><?php esc_html_e( 'Group Messages', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to send group messages?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input checked type="radio" name="group-message-status" id="group-messages-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_messages_status_setting( 'members' ); ?> /> <label for="group-messages-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-message-status" id="group-messages-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_messages_status_setting( 'mods' ); ?> /> <label for="group-messages-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-message-status" id="group-messages-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_messages_status_setting( 'admins' ); ?> /> <label for="group-messages-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ); // Hide Group Types if none is selected in Users > Profile Type > E.g. (Students) > Allowed Group Types meta box. if ( false === bp_restrict_group_creation() && true === bp_member_type_enable_disable() ) { $get_all_registered_member_types = bp_get_active_member_types(); if ( isset( $get_all_registered_member_types ) && ! empty( $get_all_registered_member_types ) ) { $current_user_member_type = bp_get_member_type( bp_loggedin_user_id() ); if ( '' !== $current_user_member_type ) { $member_type_post_id = bp_member_type_post_by_type( $current_user_member_type ); $include_group_type = get_post_meta( $member_type_post_id, '_bp_member_type_enabled_group_type_create', true ); if ( isset( $include_group_type ) && ! empty( $include_group_type ) && 'none' === $include_group_type[0] ) { $group_types = ''; } } } } // Group type selection if ( $group_types ) : ?> <fieldset class="group-create-types"> <legend><?php esc_html_e( 'Group Type', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'What type of group is this? (optional)', 'buddyboss' ); ?></p> <select id="bp-groups-type" name="group-types[]" autocomplete="off"> <option value="" <?php selected( '', '' ); ?>><?php _e( 'Select Group Type', 'buddyboss' ); ?></option> <?php foreach ( $group_types as $type ) : ?> <?php if ( false === bp_restrict_group_creation() && true === bp_member_type_enable_disable() ) { $get_all_registered_member_types = bp_get_active_member_types(); if ( isset( $get_all_registered_member_types ) && ! empty( $get_all_registered_member_types ) ) { $current_user_member_type = bp_get_member_type( bp_loggedin_user_id() ); if ( '' !== $current_user_member_type ) { $member_type_post_id = bp_member_type_post_by_type( $current_user_member_type ); $include_group_type = get_post_meta( $member_type_post_id, '_bp_member_type_enabled_group_type_create', true ); if ( isset( $include_group_type ) && ! empty( $include_group_type ) ) { if ( in_array( $type->name, $include_group_type ) ) { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } ?> <?php endforeach; ?> </select> </fieldset> <?php endif; ?> <?php if ( bp_enable_group_hierarchies() ) : $current_parent_group_id = bp_get_parent_group_id(); $possible_parent_groups = bp_get_possible_parent_groups(); ?> <fieldset class="select group-parent"> <legend><?php esc_html_e( 'Group Parent', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which group should be the parent of this group? (optional)', 'buddyboss' ); ?></p> <select id="bp-groups-parent" name="bp-groups-parent" autocomplete="off"> <option value="0" <?php selected( 0, $current_parent_group_id ); ?>><?php _e( 'Select Parent', 'buddyboss' ); ?></option> <?php if ( $possible_parent_groups ) { foreach ( $possible_parent_groups as $possible_parent_group ) { ?> <option value="<?php echo $possible_parent_group->id; ?>" <?php selected( $current_parent_group_id, $possible_parent_group->id ); ?>><?php echo esc_html( $possible_parent_group->name ); ?></option> <?php } } ?> </select> </fieldset> <?php endif; ?> </div><!-- // .group-settings-selections -->greetz Edwin
January 29, 2023 at 2:36 pm #328170In reply to: remove group privacy
edensan
Participantokay i find this setting in:
\bp-nouveau\buddypress\groups\single\admin\group-settings.php<?php /** * BP Nouveau Group's edit settings template. * * This template can be overridden by copying it to yourtheme/buddypress/groups/single/admin/group-settings.php. * * @since BuddyPress 3.0.0 * @version 1.0.0 */ ?> <?php if ( bp_is_group_create() ) : ?> <h3 class="bp-screen-title creation-step-name"> <?php esc_html_e( 'Select Group Settings', 'buddyboss' ); ?> </h3> <?php else : ?> <h2 class="bp-screen-title"> <?php esc_html_e( 'Change Group Settings', 'buddyboss' ); ?> </h2> <?php endif; ?> <div class="group-settings-selections"> <fieldset class="radio group-status-type"> <legend><?php esc_html_e( 'Privacy Options', 'buddyboss' ); ?></legend> <div class="bp-radio-wrap"> <input type="radio" name="group-status" id="group-status-public" class="bs-styled-radio" value="public" <?php if ( 'public' === bp_get_new_group_status() || ! bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="public-group-description" /> <label for="group-status-public"><?php esc_html_e( 'This is a public group', 'buddyboss' ); ?></label> </div> <ul id="public-group-description"> <li><?php esc_html_e( 'Any site member can join this group.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'This group will be listed in the groups directory and in search results.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'Group content and activity will be visible to any site member.', 'buddyboss' ); ?></li> </ul> <?php /** DIT UITGEVINKT DOOR EDWIN <div class="bp-radio-wrap"> <input type="radio" name="group-status" id="group-status-private" class="bs-styled-radio" value="private" <?php if ( 'private' === bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="private-group-description" /> <label for="group-status-private"><?php esc_html_e( 'This is a private group', 'buddyboss' ); ?></label> </div> <ul id="private-group-description"> <li><?php esc_html_e( 'Only people who request membership and are accepted can join the group.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'This group will be listed in the groups directory and in search results.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'Group content and activity will only be visible to members of the group.', 'buddyboss' ); ?></li> </ul> <div class="bp-radio-wrap"> <input type="radio" name="group-status" id="group-status-hidden" class="bs-styled-radio" value="hidden" <?php if ( 'hidden' === bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="hidden-group-description" /> <label for="group-status-hidden"><?php esc_html_e( 'This is a hidden group', 'buddyboss' ); ?></label> </div> <ul id="hidden-group-description"> <li><?php esc_html_e( 'Only people who are invited can join the group.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'This group will not be listed in the groups directory or search results.', 'buddyboss' ); ?></li> <li><?php esc_html_e( 'Group content and activity will only be visible to members of the group.', 'buddyboss' ); ?></li> </ul> DIT UITGEVINKT DOOR EDWIN */ ?> </fieldset> <fieldset class="radio group-invitations"> <legend><?php esc_html_e( 'Group Invitations', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to invite others?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-invite-status" id="group-invite-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> <label for="group-invite-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-invite-status" id="group-invite-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> <label for="group-invite-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-invite-status" id="group-invite-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> <label for="group-invite-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <fieldset class="radio group-post-form"> <legend><?php esc_html_e( 'Activity Feeds', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to post into the activity feed?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-activity-feed-status" id="group-activity-feed-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_activity_feed_status_setting( 'members' ); ?> /> <label for="group-activity-feed-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-activity-feed-status" id="group-activity-feed-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_activity_feed_status_setting( 'mods' ); ?> /> <label for="group-activity-feed-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-activity-feed-status" id="group-activity-feed-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_activity_feed_status_setting( 'admins' ); ?> /> <label for="group-activity-feed-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php if ( bp_is_active( 'media' ) && bp_is_group_media_support_enabled() ) : ?> <fieldset class="radio group-media"> <legend><?php esc_html_e( 'Group Photos', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to upload photos?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-media-status" id="group-media-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_media_status_setting( 'members' ); ?> /> <label for="group-media-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-media-status" id="group-media-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_media_status_setting( 'mods' ); ?> /> <label for="group-media-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-media-status" id="group-media-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_media_status_setting( 'admins' ); ?> /> <label for="group-media-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'media' ) && bp_is_group_albums_support_enabled() ) : ?> <fieldset class="radio group-albums"> <legend><?php esc_html_e( 'Group Albums', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to create albums?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-album-status" id="group-albums-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_albums_status_setting( 'members' ); ?> /> <label for="group-albums-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-album-status" id="group-albums-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_albums_status_setting( 'mods' ); ?> /> <label for="group-albums-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-album-status" id="group-albums-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_albums_status_setting( 'admins' ); ?> /> <label for="group-albums-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'media' ) && bp_is_group_document_support_enabled() ) : ?> <fieldset class="radio group-document"> <legend><?php esc_html_e( 'Group Documents', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to upload documents?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-document-status" id="group-document-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_document_status_setting( 'members' ); ?> /> <label for="group-document-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-document-status" id="group-document-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_document_status_setting( 'mods' ); ?> /> <label for="group-document-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-document-status" id="group-document-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_document_status_setting( 'admins' ); ?> /> <label for="group-document-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'video' ) && bp_is_group_video_support_enabled() ) : ?> <fieldset class="radio group-video"> <legend><?php esc_html_e( 'Group Videos', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to upload videos?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-video-status" id="group-video-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_video_status_setting( 'members' ); ?> /> <label for="group-video-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-video-status" id="group-video-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_video_status_setting( 'mods' ); ?> /> <label for="group-video-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-video-status" id="group-video-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_video_status_setting( 'admins' ); ?> /> <label for="group-video-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php if ( bp_is_active( 'messages' ) && true === bp_disable_group_messages() ) : ?> <fieldset class="radio group-messages"> <legend><?php esc_html_e( 'Group Messages', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which members of this group are allowed to send group messages?', 'buddyboss' ); ?></p> <div class="bp-radio-wrap"> <input type="radio" name="group-message-status" id="group-messages-status-members" class="bs-styled-radio" value="members"<?php bp_group_show_messages_status_setting( 'members' ); ?> /> <label for="group-messages-status-members"><?php esc_html_e( 'All group members', 'buddyboss' ); ?></label> </div> <?php /** <div class="bp-radio-wrap"> <input type="radio" name="group-message-status" id="group-messages-status-mods" class="bs-styled-radio" value="mods"<?php bp_group_show_messages_status_setting( 'mods' ); ?> /> <label for="group-messages-status-mods"><?php esc_html_e( 'Organizers and Moderators only', 'buddyboss' ); ?></label> </div> <div class="bp-radio-wrap"> <input type="radio" name="group-message-status" id="group-messages-status-admins" class="bs-styled-radio" value="admins"<?php bp_group_show_messages_status_setting( 'admins' ); ?> /> <label for="group-messages-status-admins"><?php esc_html_e( 'Organizers only', 'buddyboss' ); ?></label> </div> */ ?> </fieldset> <?php endif; ?> <?php $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ); // Hide Group Types if none is selected in Users > Profile Type > E.g. (Students) > Allowed Group Types meta box. if ( false === bp_restrict_group_creation() && true === bp_member_type_enable_disable() ) { $get_all_registered_member_types = bp_get_active_member_types(); if ( isset( $get_all_registered_member_types ) && ! empty( $get_all_registered_member_types ) ) { $current_user_member_type = bp_get_member_type( bp_loggedin_user_id() ); if ( '' !== $current_user_member_type ) { $member_type_post_id = bp_member_type_post_by_type( $current_user_member_type ); $include_group_type = get_post_meta( $member_type_post_id, '_bp_member_type_enabled_group_type_create', true ); if ( isset( $include_group_type ) && ! empty( $include_group_type ) && 'none' === $include_group_type[0] ) { $group_types = ''; } } } } // Group type selection if ( $group_types ) : ?> <fieldset class="group-create-types"> <legend><?php esc_html_e( 'Group Type', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'What type of group is this? (optional)', 'buddyboss' ); ?></p> <select id="bp-groups-type" name="group-types[]" autocomplete="off"> <option value="" <?php selected( '', '' ); ?>><?php _e( 'Select Group Type', 'buddyboss' ); ?></option> <?php foreach ( $group_types as $type ) : ?> <?php if ( false === bp_restrict_group_creation() && true === bp_member_type_enable_disable() ) { $get_all_registered_member_types = bp_get_active_member_types(); if ( isset( $get_all_registered_member_types ) && ! empty( $get_all_registered_member_types ) ) { $current_user_member_type = bp_get_member_type( bp_loggedin_user_id() ); if ( '' !== $current_user_member_type ) { $member_type_post_id = bp_member_type_post_by_type( $current_user_member_type ); $include_group_type = get_post_meta( $member_type_post_id, '_bp_member_type_enabled_group_type_create', true ); if ( isset( $include_group_type ) && ! empty( $include_group_type ) ) { if ( in_array( $type->name, $include_group_type ) ) { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } } else { ?> <option for="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php selected( ( true === bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ) ? $type->name : '', $type->name ); ?>><?php echo esc_html( $type->labels['singular_name'] ); ?></option> <?php } ?> <?php endforeach; ?> </select> </fieldset> <?php endif; ?> <?php if ( bp_enable_group_hierarchies() ) : $current_parent_group_id = bp_get_parent_group_id(); $possible_parent_groups = bp_get_possible_parent_groups(); ?> <fieldset class="select group-parent"> <legend><?php esc_html_e( 'Group Parent', 'buddyboss' ); ?></legend> <p class="group-setting-label" tabindex="0"><?php esc_html_e( 'Which group should be the parent of this group? (optional)', 'buddyboss' ); ?></p> <select id="bp-groups-parent" name="bp-groups-parent" autocomplete="off"> <option value="0" <?php selected( 0, $current_parent_group_id ); ?>><?php _e( 'Select Parent', 'buddyboss' ); ?></option> <?php if ( $possible_parent_groups ) { foreach ( $possible_parent_groups as $possible_parent_group ) { ?> <option value="<?php echo $possible_parent_group->id; ?>" <?php selected( $current_parent_group_id, $possible_parent_group->id ); ?>><?php echo esc_html( $possible_parent_group->name ); ?></option> <?php } } ?> </select> </fieldset> <?php endif; ?> </div><!-- // .group-settings-selections -->so i commented everything out what i dont want.
only thing is how can i select by default the last option?
mabe someone can help me point in right direction?greetz Edwin
January 28, 2023 at 9:23 am #328157Topic: remove group privacy
in forum How-to & Troubleshootingedensan
Participanthello i want all groups created be public ( so remove private and hidden) and every member can join
how can i do that?greetz Edwin
January 21, 2023 at 11:37 am #328103In reply to: Say Hi to BuddyPress 11.0.0 “La Scala”
Mathieu Viet
ModeratorHi @fantamily
Thanks a lot for your feedback. The issue is actually caused by some custom code wrongly using the
bp_get_send_message_button_argsfilter. Instead of returning an empty array to disable the private button on members profile header, this custom code retunsfalse.That being said. We should be more cautious about this potential wrong usage, so we’ll have it fixed asap (next minor version 11.1.0).
See https://buddypress.trac.wordpress.org/ticket/8800 to follow our progress about it.
January 13, 2023 at 10:00 pm #328006Anonymous User 18187419
InactiveHi, site is 3 years old, 13,000 members, approx. 1100 active daily, but not a single instance of multiple-user spam-messaging, forum spamming, blog comment spamming, etc.
The site is a (very mild) NSFW dating site, niche interest, so is a prime target for bots, but so far no big issues.
If you want to compare ideas/methods then please provide some form of contact, happy to provide info in private.
January 8, 2023 at 9:07 am #327939In reply to: Core function groups_join_group is not working
meestergijs
ParticipantIt worked. I found out that in the new theme environment students no longer see their own classes when I set the group as hidden, but when I set it to private they DO see it. So it was a very easy fix for a strange choice made by the theme.
Thanks for your reply. I will keep this in mind (add it to trello)
We can close this ticket.
November 29, 2022 at 7:15 am #327333Topic: Private Messages Somehow Activated
in forum How-to & Troubleshootingtsart
ParticipantI am running WordPress 6.0.3 and am on BuddyPress 10.6.0.
I turned off the Private Messaging component in BuddyPress Settings over 2 years ago. Now all of the sudden my users are getting email notifications of Private Messages. I know these are legit because they include text I wrote before I shut Messaging down due to rampant spamming.
I checked BuddyPress Settings and the Private Messaging Component is still unchecked. Is there something else I need to do to ensure Private Messaging is off?
November 22, 2022 at 5:42 am #327265Topic: Request Group Membership Form
in forum How-to & TroubleshootingJenni
ParticipantHello,
I would like to have users complete a form when they request membership to a private group.
These responses to the group access request form should be displayed against the user profile.
The responses will be used to importing into another system for creating email marketing.
Thank you for your attention.
JenniNovember 18, 2022 at 7:45 am #327236Topic: Default member profile instead of activity
in forum How-to & Troubleshootingjavigandia
ParticipantIs it possible to default to member’s profile instead of activity?
It would be very useful for the work I am doing, it is an intranet of a corporation and the most important thing is to be able to access the contact information.
I would also like to know if it is possible to make a private group where the activity does not appear but the members that compose it can be seen.
Many thanks. -
AuthorSearch Results