Search Results for 'theme'
-
AuthorSearch Results
-
March 18, 2019 at 11:04 pm #303680
In reply to: How to REMOVE “This field can be seen by:”
chris19731973
ParticipantFrom another site, they add the code below to CSS files (but I don’t know the names of these files) :
https://alkaweb.ticksy.com/ticket/1389627/
That’s coming from BuddyPress, CSS will do the job:
.field-visibility-settings-toggle{display:none!important;}
Please do you know the files (in buddypress or in the Theme folder?) ?
March 18, 2019 at 10:51 pm #303678In 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 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 16, 2019 at 8:54 pm #303644In reply to: Wrong template display
Venutius
ModeratorYou’ll need to report this to your theme developer, they are the ones to fix this.
March 16, 2019 at 8:51 pm #303643In reply to: Wrong template display
beat sk
ParticipantYes, when i change theme to “Twnty Ninteen” then there is a search form.
March 16, 2019 at 8:26 pm #303642In reply to: Wrong template display
Venutius
ModeratorSo let me check, this is definitely a theme problem – you use a different theme and you see the search?
March 16, 2019 at 8:19 pm #303641In reply to: Member Count
shanebp
ModeratorTry switching momentarily to a WP theme like 2017.
If the issue does not persist then you know it is specific to your preferred theme.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 16, 2019 at 3:57 pm #303610In reply to: Wrong template display
Venutius
ModeratorIt’s going to be a bit difficult supporting you with a premium theme as it’s unlikely any of us has got a copy. What are you trying to do, overload some of the BP template files?
March 15, 2019 at 3:12 pm #303595In reply to: Editar visualizacion respuestas
Venutius
ModeratorIt’s probably possible, but would require custom coding, which for activity is not so easy these days as with the Nuveau theme it heavily depends on JavaScript so overloading it is a lot more complex. There’s not an easy option that I’m aware of.
March 15, 2019 at 1:30 pm #303590In reply to: Regarding Group Emails
Venutius
ModeratorYou can add the following code to your child themes functions.php:
function venutius_remove_notify_group_members() { remove_action( 'groups_custom_group_fields_editable', 'bp_nouveau_add_notify_group_members_checkbox', 20 ); } add_action( 'groups_custom_group_fields_editable', 'venutius_remove_notify_group_members', 10 );March 15, 2019 at 7:38 am #303576In reply to: Need Help Regarding Notifications and Emails
Venutius
ModeratorIt’s unclear which unsubscribe link you are talking about, also, which BP theme are you using – BP Legacy or BP Nouveau?
March 14, 2019 at 11:24 pm #303568In reply to: Items missing in profile tab
shanebp
ModeratorTry switching momentarily to a WP theme like 2019 and see if the issue persists.
If not, then the issue is in your custom theme and beyond the scope of these forums.March 14, 2019 at 7:27 pm #303560Topic: Items missing in profile tab
in forum How-to & TroubleshootingPixel Komando
ParticipantHello, i’m using WP 5.0.3 / BP 2.5.14 with a custom theme.
The tab menu in my profile page dont show up all buttons/links. For example, i see Profile / Activities / Settings… But have not button/link to ” edit profile “. COuld it be a bug or maybe there’s an option to solve that?
Thanks for your help.
VferoMarch 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 7:23 am #303541In reply to: Register page keep refreshing
Venutius
ModeratorMorning,
I can confirm on your site hitting the register button takes me to the login page and no activation email is sent. However on my test system that’s not what happens, hitting registration takes you to the activation message. So something is different. You say it’s not a plugin or a theme, could it be you’ve overloaded the register.php file or added some custom code?
March 13, 2019 at 10:33 pm #303532In reply to: Register page keep refreshing
airsid
ParticipantNB: now we know the problem is not from plugins or theme, i just reactivated all pluings and Astra theme so visitor don’t see an ugly website 😉
Hope is not a problem for you?March 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 9:17 pm #303523Topic: Register page keep refreshing
in forum How-to & Troubleshootingairsid
ParticipantHello,
I run a free non-profit website that helps thousands of parents to help each other.
When a new user tries to register the registration page is not submitted and is only refreshed. The boxes are all green except those of the password.
I put the sweetsixteen theme and uninstalled all the plugins. I also allowed define (‘WP_DEBUG_LOG’, true);
Can you please help me? I can give access rights if needed.You can try to register here.
Thank you.
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 12:29 pm #303510Venutius
ModeratorWhat you could do is check if there is a thread_id for the new message, if it’s not set it’s a new message and you can remove the recipients so that sending fails.
function venutius_check_recipients( $message_info ) { $recipients = $message_info->recipients; $u = 0; foreach ( $recipients as $key => $recipient ) { // if site admin, skip check if( $GLOBALS['bp']->loggedin_user->is_site_admin == 1 ) { continue; } // make sure sender is not trying to send to themselves if ( $recipient->user_id == bp_loggedin_user_id() ) { unset( $message_info->recipients[$key] ); continue; } /* * Check if the the message has a thread_id, if not it's new and not allowed. * * If we get a match, remove person from recipient list. If there are no * recipients, BP_Messages_Message:send() will bail out of sending. * */ if ( ! isset( $message_info-thread_id ) ) { unset( $message_info->recipients[$key] ); $u++; } } /* * If there are multiple recipients and if one of the recipients is not a * allowed, remove everyone from the recipient's list. * */ if ( count( $recipients ) > 1 && $u > 0 ) { unset( $message_info->recipients ); } } add_action( 'messages_message_before_save', 'venutius_check_recipients' );You coud put this in your child themes functions.php or if you want it to apply to any theme, add it to your bp-custom.php in the plugins directory.
-
AuthorSearch Results