Search Results for 'buddypress'
-
AuthorSearch Results
-
March 18, 2019 at 10:51 pm #303678
In reply to: How to REMOVE “This field can be seen by:”
chris19731973
ParticipantIt doesn’t work for me …
What has been changed ? see below :
‘<span class=”current-visibility-level”>’ has been replaced by
<span class=”current-visibility-level” style=”display:none;”>’ .
in the 2 files below :wp-content/themes/your-child-theme/buddypress/members/register.php’wp-content/themes/your-child-theme/buddypress/members/single/profile/edit.php’
March 18, 2019 at 4:10 pm #303674In reply to: How to REMOVE “This field can be seen by:”
chris19731973
ParticipantNow, I can read the message below when visitors choose “Register” :
Create an Account
Parse error: syntax error, unexpected ‘<‘ in C:\xampp\htdocs\buddypressdivi2\wp-content\themes\Divi\buddypress\members\register.php on line 189I removed the “Visibility” codes and the new code of the register.php file is :
Line 183 : */
Line 184 : do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ );
Line 185 :
Line 186 :
Line 187 :
Line 188 : <?php
Line 189 :
Line 190 :
Line 191 : /**March 18, 2019 at 3:40 pm #303673zoleest
ParticipantStill not worked, but I found out a not too elegant solution. As far as I understand there is an order how the hooks run. There is a hook in class-buddypress.php
add_action( 'bp_core_signup_user', array( $this, 'subscribe_from_form' ), 10, 4 );so I added to my hooks 11, 4 so this is my code now:function xprofile_sync_wp_profile2( $user_id = 0 ) { // Bail if profile syncing is disabled if ( bp_disable_profile_sync() ) { return true; } if ( empty( $user_id ) ) { $user_id = bp_loggedin_user_id(); } if ( empty( $user_id ) ) { return false; } global $wpdb; // Get name from x-fields $display_name = xprofile_get_field_data('Név',$user_id ); $wpdb->query( $wpdb->prepare( "UPDATE wphu_users SET display_name = '%s' WHERE ID = %d", $display_name, $user_id ) ); } add_action( 'xprofile_updated_profile', 'xprofile_sync_wp_profile2', 11, 4); add_action( 'bp_core_signup_user', 'xprofile_sync_wp_profile2', 11, 4); add_action( 'bp_core_activated_user', 'xprofile_sync_wp_profile2', 11, 4);And fortunately it works now 🙂 I don’t know if this is a correct way, but work, so I’m okay with it.
March 18, 2019 at 1:04 pm #303669In reply to: How to REMOVE “This field can be seen by:”
Venutius
ModeratorThen you can overload the
edit.phpand ‘register.php` files and remove that attribute.get ftp access to your site and location
wp-content/plugins/buddypress/bp-templates/bp-legacy/members/register.php
wp-content/plugins/buddypress/bp-templates/bp-legacy/members/single/profile/edit.phpin these files locate and remove:
<?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"><span id="<?php bp_the_profile_field_input_name(); ?>-2"> <?php printf( __( 'This field can be seen by: %s', 'buddypress' ), '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' ); ?> </span> <button type="button" class="visibility-toggle-link" aria-describedby="<?php bp_the_profile_field_input_name(); ?>-2" aria-expanded="false"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></button> </p> <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>"> <fieldset> <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend> <?php bp_profile_visibility_radio_buttons() ?> </fieldset> <button type="button" class="field-visibility-settings-close"><?php _e( 'Close', 'buddypress' ) ?></button> </div> <?php else : ?> <div class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: %s', 'buddypress' ), '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' ); ?> </div> <?php endif ?>Then place these modified files in `wp-content/themes/your-child-theme/buddypress/members/register.php’ and
`wp-content/themes/your-child-theme/buddypress/members/single/profile/edit.php’March 18, 2019 at 12:53 pm #303668In reply to: How to REMOVE “This field can be seen by:”
chris19731973
Participantin Settings>>BuddyPress>>Options, I use “BuddyPress Legacy” BP Template …
March 18, 2019 at 12:10 pm #303665In reply to: Groups visibility by role
Venutius
ModeratorI think this is possible to to but would require quite a bit of additional coding on your part, no exisitng plugin would do this.
So for example in the file
buddypress/groups/groups-loop.phpthere is the call tobp_has_members(). It’s possible to add to this theinclude=argument where you can choose which groups will be found. so you could add a function to this file which checks the user role and inputs only the groups that they can see.However you’d need additional function to allow you to add your groups to a groups/role list and keep that updaded when new groups are added. Then you could also create a function that adds new groups to this list on creation based on the member role. I’d be tempted to do this using group types but there’s a few options on exactly how this would be implemented.
So it’s not an easy fix and would require custom coding.
March 18, 2019 at 11:50 am #303663In reply to: How to REMOVE “This field can be seen by:”
Venutius
ModeratorWhich BP Template are you using? Youcan see this in Settings>>BuddyPress>>Options.
March 18, 2019 at 7:28 am #303662In reply to: Is this possible?
Venutius
ModeratorThere’s an old plugin called BuddyPress Links which allows members to add links to a links directory and then other members can vote on those links. I think this would probably serve a similar function to what you want. However, it’s out of date and throws a lot of errors. I’ve been working on updating this and have asked the developer the code can be updated. I think for your requirement it would still need some changes so it recognises videos and embeds the video instead of a static thumbnail for the site. I think this is the closest BP has got to delivering what you want easily.
Alternatively there’s MediaPress which allows video links to be added to video galleries. You can also have a sitewide gallery that everyone can add videos to, this could serve as a basis for what you are looking for.
March 18, 2019 at 5:08 am #303661In reply to: How to REMOVE “This field can be seen by:”
chris19731973
ParticipantFor information, I have installed and activated 2 plugins :
1) BP Profile Search
2) BuddyPress Xprofile Custom Field TypesMarch 17, 2019 at 1:20 pm #303652In reply to: Only Show Certain Members on Front End
shanebp
ModeratorRead about filtering the members loop. And adjust for your criteria.
March 16, 2019 at 4:45 pm #303614In reply to: Wrong template display
beat sk
ParticipantHi. The problem is not upload a clean theme to the internet, the activation code unlocks only an automatic update. I can send a url link to a site with buddypress on the web. I found compatibility instructions, but I don’t know if I must have to edit it. Here’s a link to the web. LINK . Some of elements (buttons on profile missing, when i set of page to another template (It will just add name of page on top) then you can see the search form, but not now when is another template.
March 15, 2019 at 1:07 pm #303588Topic: Regarding Group Emails
in forum How-to & Troubleshootingsitesfromash
ParticipantHi. I am currently running BuddyPress Nouveau Template and would like to know if there is a way for me to disable group leaders from being able to send out emails to the group members when details regarding the group have been updated or the name of the group has changed. I would also like to remove the checkbox which indicated that group leaders are able to do this. Thanks.
March 15, 2019 at 1:05 pm #303586In reply to: Need Help Regarding Notifications and Emails
sitesfromash
ParticipantHi. Thank you for contacting me. I am using BuddyPress Nouveau.
March 14, 2019 at 10:24 pm #303566In reply to: Member Count
shanebp
ModeratorDid you try going to wp-admin > tools > buddypress and select the
Repair total members countoption?March 14, 2019 at 4:15 pm #303551In reply to: Register page keep refreshing
Venutius
ModeratorHi there, that’s not actually your register.php file.
The one for BP Nouveau is located in
plugins/buddypress/bp-templates/bp-nouveau/buddypress/membersHowever that’s not likely to be the issue as I’m using the same file.
Look for a file in
wp-content/themes/your-child-theme/buddypress/membersAlso see if you have custom code in
wp-content/themes/your-child-theme/functions.phpAlso check to see if you have a file called `wp-content/plugins/bp-custom.php’
These are places where custom code could be located, so worth checking.
If these checks find nothing. How about switching to the BP Legacy theme to see if that works?
March 14, 2019 at 3:29 pm #303549In reply to: Register page keep refreshing
airsid
ParticipantHello,
Please find attached my plugins/buddypress/bp-themes/bp-default/registration/register.php content<?php get_header( 'buddypress' ); ?> <div id="content"> <div class="padder"> <?php do_action( 'bp_before_register_page' ); ?> <div class="page" id="register-page"> <form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data"> <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?> <?php do_action( 'template_notices' ); ?> <?php do_action( 'bp_before_registration_disabled' ); ?> <p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p> <?php do_action( 'bp_after_registration_disabled' ); ?> <?php endif; // registration-disabled signup setp ?> <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?> <h2><?php _e( 'Create an Account', 'buddypress' ); ?></h2> <?php do_action( 'template_notices' ); ?> <p><?php _e( 'Registering for this site is easy, just fill in the fields below and we\'ll get a new account set up for you in no time.', 'buddypress' ); ?></p> <?php do_action( 'bp_before_account_details_fields' ); ?> <div class="register-section" id="basic-details-section"> <?php /***** Basic Account Details ******/ ?> <h4><?php _e( 'Account Details', 'buddypress' ); ?></h4> <label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_username_errors' ); ?> <input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" /> <label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_email_errors' ); ?> <input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" /> <label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_password_errors' ); ?> <input type="password" name="signup_password" id="signup_password" value="" /> <label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_password_confirm_errors' ); ?> <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" /> <?php do_action( 'bp_account_details_fields' ); ?> </div><!-- #basic-details-section --> <?php do_action( 'bp_after_account_details_fields' ); ?> <?php /***** Extra Profile Details ******/ ?> <?php if ( bp_is_active( 'xprofile' ) ) : ?> <?php do_action( 'bp_before_signup_profile_fields' ); ?> <div class="register-section" id="profile-details-section"> <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4> <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?> <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?> <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <div class="editfield"> <?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" /> <?php endif; ?> <?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_edit_value(); ?></textarea> <?php endif; ?> <?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>"> <?php bp_the_profile_field_options(); ?> </select> <?php endif; ?> <?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <select name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" multiple="multiple"> <?php bp_the_profile_field_options(); ?> </select> <?php endif; ?> <?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?> <div class="radio"> <span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <?php bp_the_profile_field_options(); ?> <?php if ( !bp_get_the_profile_field_is_required() ) : ?> <a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name(); ?>' );"><?php _e( 'Clear', 'buddypress' ); ?></a> <?php endif; ?> </div> <?php endif; ?> <?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?> <div class="checkbox"> <span class="label"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></span> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <?php bp_the_profile_field_options(); ?> </div> <?php endif; ?> <?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?> <div class="datebox"> <label for="<?php bp_the_profile_field_input_name(); ?>_day"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <?php do_action( bp_get_the_profile_field_errors_action() ); ?> <select name="<?php bp_the_profile_field_input_name(); ?>_day" id="<?php bp_the_profile_field_input_name(); ?>_day"> <?php bp_the_profile_field_options( 'type=day' ); ?> </select> <select name="<?php bp_the_profile_field_input_name(); ?>_month" id="<?php bp_the_profile_field_input_name(); ?>_month"> <?php bp_the_profile_field_options( 'type=month' ); ?> </select> <select name="<?php bp_the_profile_field_input_name(); ?>_year" id="<?php bp_the_profile_field_input_name(); ?>_year"> <?php bp_the_profile_field_options( 'type=year' ); ?> </select> </div> <?php endif; ?> <?php if ( 'url' == bp_get_the_profile_field_type() ) : ?> <label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label> <input type="text" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" value="<?php bp_the_profile_field_edit_value(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>/> <?php endif; ?> <?php do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); ?> <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a> </p> <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>"> <fieldset> <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend> <?php bp_profile_visibility_radio_buttons() ?> </fieldset> <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a> </div> <?php else : ?> <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> </p> <?php endif ?> <?php do_action( 'bp_custom_profile_edit_fields' ); ?> <p class="description"><?php bp_the_profile_field_description(); ?></p> </div> <?php endwhile; ?> <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" /> <?php endwhile; endif; endif; ?> <?php do_action( 'bp_signup_profile_fields' ); ?> </div><!-- #profile-details-section --> <?php do_action( 'bp_after_signup_profile_fields' ); ?> <?php endif; ?> <?php if ( bp_get_blog_signup_allowed() ) : ?> <?php do_action( 'bp_before_blog_details_fields' ); ?> <?php /***** Blog Creation Details ******/ ?> <div class="register-section" id="blog-details-section"> <h4><?php _e( 'Blog Details', 'buddypress' ); ?></h4> <p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ); ?></p> <div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>> <label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_blog_url_errors' ); ?> <?php if ( is_subdomain_install() ) : ?> http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> .<?php bp_blogs_subdomain_base(); ?> <?php else : ?> <?php echo home_url( '/' ); ?> <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> <?php endif; ?> <label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_blog_title_errors' ); ?> <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" /> <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>:</span> <?php do_action( 'bp_signup_blog_privacy_errors' ); ?> <label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label> <label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label> <?php do_action( 'bp_blog_details_fields' ); ?> </div> </div><!-- #blog-details-section --> <?php do_action( 'bp_after_blog_details_fields' ); ?> <?php endif; ?> <?php do_action( 'bp_before_registration_submit_buttons' ); ?> <div class="submit"> <input type="submit" name="signup_submit" id="signup_submit" value="<?php esc_attr_e( 'Complete Sign Up', 'buddypress' ); ?>" /> </div> <?php do_action( 'bp_after_registration_submit_buttons' ); ?> <?php wp_nonce_field( 'bp_new_signup' ); ?> <?php endif; // request-details signup step ?> <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?> <h2><?php _e( 'Check Your Email To Activate Your Account!', 'buddypress' ); ?></h2> <?php do_action( 'template_notices' ); ?> <?php do_action( 'bp_before_registration_confirmed' ); ?> <?php if ( bp_registration_needs_activation() ) : ?> <p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p> <?php else : ?> <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p> <?php endif; ?> <?php do_action( 'bp_after_registration_confirmed' ); ?> <?php endif; // completed-confirmation signup step ?> <?php do_action( 'bp_custom_signup_steps' ); ?> </form> </div> <?php do_action( 'bp_after_register_page' ); ?> </div><!-- .padder --> </div><!-- #content --> <?php get_sidebar( 'buddypress' ); ?> <script type="text/javascript"> jQuery(document).ready( function() { if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') ) jQuery('div#blog-details').toggle(); jQuery( 'input#signup_with_blog' ).click( function() { jQuery('div#blog-details').fadeOut().toggle(); }); }); </script> <?php get_footer( 'buddypress' ); ?>March 14, 2019 at 1:20 pm #303548asknotensions
ParticipantHi,
I have installed BuddyPress for last 5 months and it is functioning excellently since the spam registration took place and interrupting the functioning of some of the tabs in WordPress, like widget, activity, and groups. One of the engineers, delete the spam registration, thus makes the widget section working again, but the activity and group tab on the WordPress, showing a 500 internal server error. Kindly find some solution so I can help those engineers.Best wishes
asknotensionsMarch 13, 2019 at 10:18 pm #303528In reply to: Alphabetize groups?
Venutius
ModeratorYes there is, it involes a minor amount of code wrangling. First of all you need to install a child-theme. You can get plugins for that if you’ve not already got one. This will create a directory on your server called
wp-content/themes/your-child-theme.In that directory create a buddypress/groups directory.
The next step is to work out which BP Theme you are using. You can find that by looking in Settings>>BuddyPress>>Options.
Once you know that, you will be able to find a file called `wp-content/plugins/buddypress/bp-templates/your-bp-theme/buddypress/groups/groups-loop.php.
Take a copy of this file and find this part:
<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?>
Change that to:
<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) . '&order=ASC&orderby=name' ) ) : ?>Next you put this file in the
themes/child-theme/buddypress/groupsdirectory you created earlier.March 13, 2019 at 10:14 pm #303526In reply to: Register page keep refreshing
airsid
ParticipantThank you for helpling me.
I did install the plugin and try to register.
The log file still empty. No PHP errors.I’m using Astra child theme but I activated twentysixteeen theme now to find the problem.
All plugins exept bbpress and buddypress are deactivated.March 13, 2019 at 9:38 pm #303524In reply to: Register page keep refreshing
Venutius
ModeratorThe next step is to take a look at the error log, the easy way is to install an error log viewer such as BWS Error Log Viewer. Once you have that installed try registering then look in the log for entries at the same time as the registration attempt. That should reveal any PHP errors. Which BP Theme are you using? Look in Settings>>BuddyPress>>Options, the theme setting is in there.
March 13, 2019 at 3:06 pm #303521adamgforce
ParticipantHello,
We run a multisite with a primary parent domain (Changecreaetor.com) and our members site which is the sub-domain (changecreator.com/members).
We are using the Boss Theme with Buddy Press running the most up-to-date version of WordPress.
When a new user is created, they automatically show up on the front end. HOWEVER, when we delete a member from the “users” section on the backend of WordPress, the member still shows on the front end in the members listing on the widget or members page.
We test the deactivation of the theme and plugin (boss for learndash) but the problem still persisted.
The Boss theme support team suggested it was a Buddypress Core issue.
We have not modified core files and dont have custom Php.
We are running Buddypress 4.1.0
Our host is WPengine
Any help figuring out how we can make sure that when we delete a user from the backend that it is also removed from the front end would be very helpful.
This is important as we create test accounts and then cannot remove them.
March 13, 2019 at 2:34 pm #303518In reply to: Missing Password Validation
Venutius
ModeratorUnfortunately there’s not a before save hook for this, only after save. I guess what you could do is wait until it’s saved then validate the password but that sounds like it’s not going to give the desired UI experience. Maybe you could ask for a hook to be added?
March 13, 2019 at 2:31 pm #303517In reply to: searching for topics in private group-forums
Venutius
Moderatoryou might be better off asking this question in https://bbpress.org/forums/ BuddyPress does not provide the forums it uses, it just integrates with bbPress. As far as I’m aware any forum labelled as hidden will not show up in a search and you’d probably need to create a custom search to achieve this.
March 13, 2019 at 2:22 pm #303516In reply to: Update avatar image
Venutius
ModeratorHi there,
I don’t know much about REST but I did notice that dealing with the Avatar has only just been added to the BP REST API, is that what you are working with?
March 13, 2019 at 2:07 pm #303514In reply to: Registered/Unregistered
Venutius
ModeratorHi there,
It’s not clear from the text exactly what you are looking for but it sounds like you’d need to do some customisation. For a lot of BP functions you only need to be a site members to perform a task and you’d therefore need to work out exactly what you’d like to restrict and then write the code for it. There are some plugins that do aspects of what you are looking for, for example https://wordpress.org/plugins/buddypress-restrict-group-creation/ will prevent standard users from creating groups and I’m currently working on a plugin to restrict messaging for users. For bbPress forums you could set the new user role to Spectator to prevent the creation of topics and replies but I think what you are looking for is probably ore granular than this and so will probably need custom code to deliver your vision.
-
AuthorSearch Results