Search Results for 'theme'
-
AuthorSearch Results
-
March 27, 2023 at 5:45 am #328836
Topic: Enforce strong password requirement
in forum How-to & Troubleshootingankitydv
ParticipantI am using Vikinger – BuddyPress and GamiPress Social Community Theme
Minimum Length: 8 characters At-least 1 uppercase, 1 lowercase, 1 numeric and 1 special characters. Restrictions against password reuse.
Restrictions against using common passwords.
Restrictions against using contextual string in the password.If Anyone has a solution please reply.
March 26, 2023 at 12:04 am #328825Omtesla
ParticipantI have begin observing recently that not all content is displaying when “Show Everything” is selected on Activity page, what I mean is when you press the button Load More, it just ends at the one year old posts, but if i look in the backend, it shows all of the activity for 3 years.
I have latest WP and BP versions, not sure when this started to happen.Troubleshooting steps.
-
Enable Default WP theme.
Disabled 2 plugins which extends BP experience.
Repair User Activity.Did not helped, I have searched the internet but can’t find similar issues.
Thank you for any help.March 21, 2023 at 6:16 pm #328761In reply to: Astra Theme Causes 404 for Member Pages
eluyawi
ParticipantHi Mark, I have the some problem, How do you solve this problem with Astra Pro?
Here is my question in the forum https://buddypress.org/support/topic/conflicts-buddypress-and-astra-pro-theme/ but anyone answer.March 21, 2023 at 2:20 pm #328760Topic: Conflicts BuddyPress and Astra PRO Theme
in forum How-to & Troubleshootingeluyawi
ParticipantHi everyone, I have a conflicts problem between BuddyPress and Astra PRO, bucause show a error message if I neet to see the profile (www.example.com/members/{username}, but if I desactive the Astra PRO Theme, and it use Tweny Twenty Theme wors fine. Do you know how can I solve this conflict with Astra PRO?
March 21, 2023 at 11:37 am #328756In reply to: bp_core_catch_no_access no-caching member pages
Steve Taylor
ParticipantI’ve had no luck debugging this. It seems the no-cache response header is being set in two places:
/wp-includes/class-wp.php:760 > nocache_headers()(this seems to be WP core not recognising the member profile URL path (e.g. /community/directory/john-smith/)/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php:613 > bp_do_404() > nocache_headers()(this seems to be BP baulking at$wp_query->queried_objectnot being set)
If either are commented out, the header remains. If both are commented out, the header is no longer there.
So, early in processing, both WP and BP class the request as a 404. Somewhere along the line, clearly, BP recognises it as a member profile request, and includes the right template, and sets the response code as 200 – but doesn’t revert anything else set by the above.
I’ve used my own debugging function to dump the backtrace at the top of the
profile-loop.phptemplate (where, by that point, the status code is 200):[0] => biro_debug_custom_log [1] => require('/themes/bureau-qnetwork/buddypress/members/single/profile/profile-loop.php') [2] => load_template [3] => bp_locate_template [4] => bp_get_template_part [5] => require('/themes/bureau-qnetwork/buddypress/members/single/profile.php') [6] => load_template [7] => bp_locate_template [8] => bp_get_template_part [9] => require('/themes/bureau-qnetwork/buddypress/members/single/home.php') [10] => load_template [11] => bp_locate_template [12] => bp_get_template_part [13] => bp_buffer_template_part [14] => BP_Members_Theme_Compat->single_dummy_content [15] => WP_Hook->apply_filters [16] => apply_filters('bp_replace_the_content') [17] => bp_replace_the_content [18] => WP_Hook->apply_filters [19] => apply_filters('the_content') [20] => the_content [21] => include('/themes/bureau-qnetwork/buddypress/buddypress.php') [22] => require_once('wp-includes/template-loader.php') [23] => require('wp-blog-header.php')Not sure that helps, so I searched for places where the status code is set to 200. It appears to be being set in two places:
/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php:521/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php:654
Again, if either are commented out, the 200 remains. If both are, the response is 404.
I imagine I could hook custom code in to revert the no-cache header (and anything else) set by 404 calls to
nocache_headers(), if the status has since being changed to 200. But we’re keen to understand this properly rather than simply hack it.March 14, 2023 at 11:34 pm #328695presson2022
ParticipantI have the latest version of WP and BP and on a profile view, the Add Friend and Favorites button is not there so members can’t add Friends or Favorites. It this a known bug? Tried different BuddyPress themes and get the same thing. Anyone know of a fix?
March 2, 2023 at 4:36 pm #328591In reply to: Manage signup confusion
Earl_D
ParticipantBTW using WP 6.1 with BP 11.1 Reign theme dedicated server.
March 1, 2023 at 3:08 pm #328571In reply to: Default cover image change
fawp
ParticipantFebruary 28, 2023 at 10:42 am #328551pieheartstudio
ParticipantHello,
I’m working on a site for a charity, it’s in development at the moment. I’m using buddybuilder pro with Elementor to create custom Buddypress pages for Groups and Members listings.
On these listings pages, each member/group should be displayed in lists of 3 columns with space in between. Occasionally it will display properly, but most of the time it ignores my settings and displays all the members/groups squashed up together with no space in between.
I’m using buddypress version 11.1.0, and WordPress 6.1.1
Elementor Hello theme is installed, and the problem persists when I switch to one of the WordPress default themes.
I’ve disabled all plugins one by one except for the necessary ones (Elementor, BuddyPress, Buddybuilder) and the problem persists.
This is a link to the ‘members’ page – usually only logged in members would be able to see the members list but I’ve enabled guests to be able to see it for testing: https://bethr22.sg-host.com/members/
If anyone has any insights I’d be very grateful… I just can’t figure out what’s causing the display issues!
February 26, 2023 at 9:50 am #328533Topic: Default Buddypress avatar type
in forum How-to & TroubleshootingHerveSLT
ParticipantHello,
I would like to change the default Buddypress avatar type.
In bp-core-avatars.php, “bp_core_fetch_avatar” function is set to “thumb”.How to set to “Full” in my theme ?
Thanks for your help !
February 24, 2023 at 8:59 pm #328521In reply to: My Groups link not working
Mathieu Viet
ModeratorHi @mikealan,
When viewing the Groups directory, there’s a dynamic navigation to display all public groups, the groups of the logged in user or create a new group. JavaScript is used by BuddyPress to dynamically load the groups list when one of the first two navigation items are clicked.

Above the All groups tab is active and all public groups are displayed. When I click on the “My Groups” tab, here’s what I get with latest WordPress & BuddyPress (and no other plugins).

If the content is not refreshed for you, try to deactivate all your plugins (except BuddyPress), rename the file
/wp-content/plugins/bp-custom.phpto something else if it exists and activate a default WordPress theme like Twenty Twenty-Two. Once done, test again.If the issue is still there, open your browser console to see if there’s a JavaScript error. If so, could you copy its content here?
February 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 21, 2023 at 1:13 pm #328480Topic: Problems with Thrive Theme
in forum How-to & TroubleshootingMoench87
ParticipantHi, after installing buddypress, Thrive Themebuilder does no longer loading the page template. Can someone help me?
Wordpress 6.1.1.
Buddypress 11.1.0
The site is in maintenance modeDavid
February 14, 2023 at 2:48 pm #328413jeanb11
ParticipantWordPress 6.1.1
BuddyPress 11.0.0
Theme : BuddyX ProHi,
I installed the 11.0.0 today but I have some problem with the groups cover images. In the activities of my groups, the cover images are no longer displayed. They are then replaced by a standard image (placeholder.svg) from my BuddyX Pro theme.
Please note that the cover images are displayed correctly on the group page. My problem happens on the Group Activities block where this cover image does not seem to be displayed correctly, Whereas with version 10.6.0 it is displayed.Any idea of the difference between 10.6.0 and 11.0.0 which could create my bug?
Thanks for any help!February 14, 2023 at 10:48 am #328411In reply to: Say Hi to BuddyPress 11.0.0 “La Scala”
Phill Healey
ParticipantWith the 2023 theme and only BuddyPress active, I am still unable to login to the site.
My setup is this:
Hosting: Siteground
WP Type: Single site
WP Version: 6.1.1
BuddyPress: v11.0.0The issue does not occur when using BP v10.6.
P.s. Adding my logs to a comment here prevents me from posting. Adding my logs to an existing post causes the post to delete. Is there another way I can send the info to you?
February 14, 2023 at 6:56 am #328401In reply to: Say Hi to BuddyPress 11.0.0 “La Scala”
Mathieu Viet
ModeratorHello @munklefish
Have you tried deactivating all plugins except BuddyPress and activating a WordPress default theme like Twenty Twenty-Three to be sure it’s a BuddyPress issue?
If so, what’s your setup?
WordPress Multisite or not? WordPress version?
If Multisite how BuddyPress has been activated? Network wide, on a specific site of the network?
PHP version?
Finally, could you check the error_log file of your server?February 8, 2023 at 5:01 am #328341In reply to: Error After Installing BuddyPress Update 11.0.0
eldamania
ParticipantI have these errors in my site.
Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php:230 Stack trace: #0 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php(230): sprintf(‘%1$s ha escrito…’, ‘apply_filters(‘__construct(Array) #9 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php(17): bp_has_activities(”) #10 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(785): require(‘/customers/5/b/…’) #11
/customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/customers/5/b/…’, false, Array) #12 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array) #13 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php(241): bp_get_template_part(‘activity/activi…’) #14 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(785): require(‘/customers/5/b/…’) #15
/customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/customers/5/b/…’, false, Array) #16 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array) #17 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(407): bp_get_template_part(‘activity/index’, NULL, Array) #18 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-theme-compat.php(118): bp_buffer_template_part(‘activity/index’, NULL, false) #19
/customers/5/b/d/eldamania.com/httpd.www/wp-includes/class-wp-hook.php(308): BP_Activity_Theme_Compat->directory_content(”) #20 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array) #21 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php(767): apply_filters(‘bp_replace_the_…’, ”) #22 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/class-wp-hook.php(308): bp_replace_the_content(”) #23 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array) #24 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/post-template.php(255): apply_filters(‘the_content’, ”) #25 /customers/5/b/d/eldamania.com/httpd.www/wp-content/themes/twentyfourteen/content-page.php(20): the_content() #26 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(785): require(‘/customers/5/b/…’) #27 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(718): load_template(‘/customers/5/b/…’, false, Array) #28 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #29 /customers/5/b/d/eldamania.com/httpd.www/wp-content/themes/twentyfourteen/page.php(33): get_template_part(‘content’, ‘page’) #30 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template-loader.php(106): include(‘/customers/5/b/…’) #31 /customers/5/b/d/eldamania.com/httpd.www/wp-blog-header.php(19): require_once(‘/customers/5/b/…’) #32 /customers/5/b/d/eldamania.com/httpd.www/index.php(17): require(‘/customers/5/b/…’) #33 {main} thrown in /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php on line 230January 29, 2023 at 11:13 pm #328175Topic: My Groups link not working
in forum How-to & TroubleshootingMikeAlan
ParticipantI’ve asked for help on this problem a short while ago but have had no response so I’m trying again.
Hitting the ‘My Groups’ ‘https://elmfieldschoolalumni.uk/build/members/me/groups/ tab in ‘Groups’goes nowhere but after deactivating javascript in Chrome it works ok and goes to the ‘My Groups’ page.
The link is clearly there ‘https://elmfieldschoolalumni.uk/build/members/me/groups/my-groups/ as I can copy and paste it into the address bar, after which it works and displays ‘My Groups’.Please can someone explain why JS would block this and how I can get the link working.
I’m running the latest Buddypress and WordPress and PHP 8.00.
I’ve tried different themes, deactivated all plugins apart from BP and resaved htaccess, all to no avail.Thank you
January 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 6:52 am #328156In reply to: Errors with PHP 8.2 compatibility
crooksal
ParticipantWhile it’s still early in the process, there has been some mixed reception around PHP 8.2 and WordPress core, plugin, and theme compatibility. Mylincoln Portal
January 23, 2023 at 10:12 pm #328120Topic: Save Changes Button not showing on Settings
in forum How-to & Troubleshootingwingflap
ParticipantI’m using the latest WordPress and Buddypress. From the Dashboard, If I click Settings and then Buddypress, there are 3 tabs to change settings: Components, Options, and Pages. When I select Components or Options, I don’t see the “Save Changes” button below the tables with the settings. On the Pages tab, the button apprears.
I’m using the Phlox theme. When I change to the Twenty-Twenty-Three theme, the buttons do show.
When I examine the elements in my browser, I can see that the button is in the HTML for Components and Options, but is wrapped by a <p> tag with a class of Submit and Clear. On the Pages tab, the button is wrapped by a <p>tag with only a class of Submit.
The Phlox Theme is using a class Clear which includes overflow: hidden and visibility: hidden. The Twenty-Twenty-Three theme is using a class Clear without the overflow or visibility attributes.
Is the “Clear” class in the <p> for the Components and Options tabs a mistake or does Phlox need to change the way it defines Clear?
It’s frustrating to have to inspect elements and change the overflow and visibility every time I want to change any of these settings.
Advice on this would be greatly appreciated.
January 22, 2023 at 2:16 pm #328107In reply to: Email Notifications not working
Anonymous User 18187419
InactiveStorml, recently a similar issue was caused by a custom theme, try testing with a default WordPress theme.
January 19, 2023 at 7:32 pm #328083MikeAlan
ParticipantAnyone please.
My Groups page does not display after pressing the My Groups tab in Groups.
Can anyone help please.
Changing themes, deactivating plugins and clearing cache makes no difference.
I’ve even tried co pletely deleting Buddypress from the database and reinstalling but to no avail.
Any help would be appreciated.January 17, 2023 at 3:12 pm #328047terminus
ParticipantHello,
I’m using WordPress 6.1.1 running Twenty Twenty-Three theme, BuddyPress Version 11.0.
I’ve seen similar topics to mine here, which is this:
BuddyPress Forum works fine, but I cannot create any BuddyDocs, linked to a BuddyGroup. When I try to create on the frontend, I end up on a page that says, “Archives: Doc, Create a Doc” but when I click on the Create a Doc link, nothing happens.
I can create BuddyDocs on the Dashboard, but can’t connect them to a group.
I created an open ‘beta’ group if you want to try yourself.
when i drop back to the Twenty Twenty theme, I can create docs, which makes me think that the issue is somewhere with the WordPress editor.
When I revert to the Twenty Twentythree theme, the docs I created when using the TwentyTwenty theme are still there and editable.
What do I need to do with the TwentyTwenty-Three theme to create BuddyDocs?
robert lewis
-
AuthorSearch Results