Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,451 through 7,475 (of 32,686 total)
  • Author
    Search Results
  • #247012
    r-a-y
    Keymaster

    We do not store avatar data in the database.

    We do a look up at the files level instead.

    If you want to show an avatar based on a custom avatar stored in the database, you’ll need to use the 'bp_core_fetch_avatar' filter to override how BuddyPress shows avatars:
    https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-core/bp-core-avatars.php?marks=531-546,660-664#L531

    If you just want to display a user avatar, use the bp_core_fetch_avatar() function:

    echo bp_core_fetch_avatar( array(
        'item_id' => USER_ID_TO_GRAB_AVATAR_FOR
    ) );
    #246994
    bchristy
    Participant

    First, I would like to say that I am new to using the Buddypress plugin. I downloaded version 2.4.0 and I am using WordPress 4.3.1. On my blog I wanted to add a register page, but when I created a dummy page titled Register and linked it to Register below Registration in Buddypress settings it does not work. I made sure that anyone can register to my blog under the settings tab is enabled. Can anyone tell me if you know of a solution to this annoying problem?

    http://blog.furnishmyway.com/

    #246983
    ShaneValiant
    Participant

    @doublef

    Here is the latest error log:

    PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query SELECT DISTINCT g.id FROM wp_16_bp_xprofile_groups g WHERE g.id = 0 ORDER BY g.group_order ASC made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_social_fields, xprofile_insert_field_group, BP_XProfile_Group->__construct, BP_XProfile_Group->populate, BP_XProfile_Group::get
    PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query INSERT INTO wp_16_bp_xprofile_groups (name, description, can_delete) VALUES (‘Social’, ”, 1) made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_social_fields, xprofile_insert_field_group, BP_XProfile_Group->save
    PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query SELECT * FROM wp_16_bp_xprofile_groups WHERE name = ‘CoverOptions’; made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_cover_add_field
    PHP message: WordPress database error Table ‘mysitename

    #246977
    tonydjukic
    Participant

    Thanks @henrywright. I installed it and tested it out, doesn’t seem to be even slightest issue with it. @jjj should just push incremental updates that update compatibility so WordPress removes that ‘warning’ message – the plugin works great so it’s a shame that people new to BuddyPress (like myself) are scared away from it for no reason.

    #246971
    shanebp
    Moderator

    Tricky task… I don’t envy your use case testing!

    BP uses the WP user – but stores profile data separately. But some fields are duplicated – like name.

    You may have to write profile data to both user meta and xprofile tables.
    And then use a conditional re whether the BP Extended Profiles component is enabled.
    If it isn’t, then pull from user meta, etc.

    More info:

    xprofile_sync_wp_profile() syncs Xprofile data (nickname, first name and last name) to the standard built in WordPress profile data.

    xprofile_sync_bp_profile() syncs the standard built in WordPress profile data to XProfile.

    #246963
    George Notaras
    Participant

    Hi all,

    I develop a metadata plugin for WordPress and was thinking about adding support for BuddyPress profiles, which basically boils down to:

    1. generating Profile metadata objects for the member pages and,
    2. use the member page URL as the post author’s URL in the metadata on WP blog posts.

    However, I’m a little puzzled with some concepts which have to do with how I should retrieve the user information in the following cases:

    1. BP Extended Profiles component deactivated.

    In this case, the member page displays information from the WP user profile.

    2. BP Extended Profiles component enabled.

    In this case, the member page displays information *only* from the BP Extended Profile.

    Questions:

    Is there a common API that can be used in both cases to retrieve user info? Are the BP users different users or, when used as a plugin, WP users and BP users are the same?

    Can the ‘Profile Sync’ setting complicate the retrieval of the user information?

    Thanks in advance,
    George

    Henry Wright
    Moderator

    Hey @alessandrat

    Welcome to the BuddyPress forum!

    1. Have two separate front ends for different user types (with differently configured profiles), appearances, and accesses.

    Yes. This can be done with either a plugin (try searching the Plugin Directory) or coded through the Member Types feature introduced in version 2.2.

    2. Have a place where shortcode could be put in so that users can take a questionnaire containing likert questions on their profile and/or while creating their profile.

    Either a post, page or perhaps even an activity update all spring to mind as possible places to add it.

    3. One but not both kinds of users can create their own group (public, semiprivate or private) or forum and browse/ join existing ones

    The ability for all members to create new groups comes as standard.

    4. One kind of user but not the other needs to be able to set up ways for the other type of user to purchase products (I assume I can use another plugin but will need a place to put the shortcode)

    This will need to be either custom coded, or you may find a plugin with the functionality you need.

    Hope this info helps!

    #246921
    shanebp
    Moderator

    I don’t know why your function isn’t working, but since you only want subscribers, there are more efficient ways to approach the task.

    Here is one:
    Review this: https://codex.wordpress.org/Function_Reference/get_users

    Try something like:

    function subscribers_only() {
       $subscribers = get_users( array( 'role' => 'subscriber', 'fields' => array( 'ID' ) ) );
       $subscribers = implode(",",$subscribers);
       return $subscribers;
    }

    And

    $subscribers = subscribers_only();
    bp_has_members( bp_ajax_querystring( 'members' ) . '&include=' . $subscribers )
    #246918
    tonydjukic
    Participant

    I found an old plugin (https://wordpress.org/plugins/bp-edit-group-slug/… over 5 years since last update though) that allows for easy updating of group slugs… …was wondering if there was a more recent option and also wondering why this isn’t an existing option in BP the way it is in WP?

    I’m about to hand a site over to a client that, according to the people on my team that have worked with them before, are prone to errors… …so I’m fairly certain their going to name groups incorrectly when they create them and then end up calling me every time they notice the slug doesn’t match the name. I know I can do it in phpMyAdmin (already did earlier today) but would really just rather be able to include a “How to change the url of your group” in the documentation we’re providing them.

    #246912

    In reply to: How to fix Activations

    r-a-y
    Keymaster

    – Make sure email is working from WordPress.
    – Tell users to check their spam folder.

    If that doesn’t work, some have had success with the following plugin(s):
    – Mail From: https://wordpress.org/plugins/search.php?type=term&q=mail+from
    – A plugin that sends email via SMTP instead of PHP: https://wordpress.org/plugins/tags/smtp

    #246908
    froster2
    Participant

    This is a quick fix until https://buddypress.trac.wordpress.org/ticket/5373 is resolved and should only be used with caution as it edits core files. Future updates should be changed file by file. Not recommended for everyone!

    Remove following code from buddypress/bp-members/bp-members-screens.php Line 129 – 154

    		// Now we've checked account details, we can check profile information.
    		if ( bp_is_active( 'xprofile' ) ) {
    
    			// Make sure hidden field is passed and populated.
    			if ( isset( $_POST['signup_profile_field_ids'] ) && !empty( $_POST['signup_profile_field_ids'] ) ) {
    
    				// Let's compact any profile field info into an array.
    				$profile_field_ids = explode( ',', $_POST['signup_profile_field_ids'] );
    
    				// Loop through the posted fields formatting any datebox values then validate the field.
    				foreach ( (array) $profile_field_ids as $field_id ) {
    					if ( !isset( $_POST['field_' . $field_id] ) ) {
    						if ( !empty( $_POST['field_' . $field_id . '_day'] ) && !empty( $_POST['field_' . $field_id . '_month'] ) && !empty( $_POST['field_' . $field_id . '_year'] ) )
    							$_POST['field_' . $field_id] = date( 'Y-m-d H:i:s', strtotime( $_POST['field_' . $field_id . '_day'] . $_POST['field_' . $field_id . '_month'] . $_POST['field_' . $field_id . '_year'] ) );
    					}
    
    					// Create errors for required fields without values.
    					if ( xprofile_check_is_required_field( $field_id ) && empty( $_POST[ 'field_' . $field_id ] ) && ! bp_current_user_can( 'bp_moderate' ) )
    						$bp->signup->errors['field_' . $field_id] = __( 'This is a required field', 'buddypress' );
    				}
    
    			// This situation doesn't naturally occur so bounce to website root.
    			} else {
    				bp_core_redirect( bp_get_root_domain() );
    			}
    		}

    Remove following code from buddypress/bp-members/bp-members-screens.php Line 204 – 231

    				// Make sure the extended profiles module is enabled.
    				if ( bp_is_active( 'xprofile' ) ) {
    					// Let's compact any profile field info into usermeta.
    					$profile_field_ids = explode( ',', $_POST['signup_profile_field_ids'] );
    
    					// Loop through the posted fields formatting any datebox values then add to usermeta - @todo This logic should be shared with the same in xprofile_screen_edit_profile().
    					foreach ( (array) $profile_field_ids as $field_id ) {
    						if ( ! isset( $_POST['field_' . $field_id] ) ) {
    
    							if ( ! empty( $_POST['field_' . $field_id . '_day'] ) && ! empty( $_POST['field_' . $field_id . '_month'] ) && ! empty( $_POST['field_' . $field_id . '_year'] ) ) {
    								// Concatenate the values.
    								$date_value = $_POST['field_' . $field_id . '_day'] . ' ' . $_POST['field_' . $field_id . '_month'] . ' ' . $_POST['field_' . $field_id . '_year'];
    
    								// Turn the concatenated value into a timestamp.
    								$_POST['field_' . $field_id] = date( 'Y-m-d H:i:s', strtotime( $date_value ) );
    							}
    						}
    
    						if ( !empty( $_POST['field_' . $field_id] ) )
    							$usermeta['field_' . $field_id] = $_POST['field_' . $field_id];
    
    						if ( !empty( $_POST['field_' . $field_id . '_visibility'] ) )
    							$usermeta['field_' . $field_id . '_visibility'] = $_POST['field_' . $field_id . '_visibility'];
    					}
    
    					// Store the profile field ID's in usermeta.
    					$usermeta['profile_field_ids'] = $_POST['signup_profile_field_ids'];
    				}

    Remove following code from buddypress/bp-templates/bp-legacy/buddypress/members/register.php Line 143 – 247

    			<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
    				<?php
    
    				/**
    				 * Fires before the display of member registration xprofile fields.
    				 *
    				 * @since 1.2.4
    				 */
    				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<?php bp_field_css_class( 'editfield' ); ?>>
    
    							<?php
    							$field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    							$field_type->edit_field_html();
    
    							/**
    							 * Fires before the display of the visibility options for xprofile fields.
    							 *
    							 * @since 1.7.0
    							 */
    							do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    
    							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: %s', 'buddypress' ),
    										'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
    									);
    									?>
    									<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: %s', 'buddypress' ),
    										'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
    									);
    									?>
    								</p>
    							<?php endif ?>
    
    							<?php
    
    							/**
    							 * Fires after the display of the visibility options for xprofile fields.
    							 *
    							 * @since 1.1.0
    							 */
    							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_field_ids(); ?>" />
    
    					<?php endwhile; endif; endif; ?>
    
    					<?php
    
    					/**
    					 * Fires and displays any extra member registration xprofile fields.
    					 *
    					 * @since 1.9.0
    					 */
    					do_action( 'bp_signup_profile_fields' ); ?>
    
    				</div><!-- #profile-details-section -->
    
    				<?php
    
    				/**
    				 * Fires after the display of member registration xprofile fields.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_after_signup_profile_fields' ); ?>
    
    			<?php endif; ?>

    Remove following code from buddypress/bp-themes/bp-default/registration/register.php Line 61 – 207

    				<?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; ?>
    #246905
    asabetyyy
    Participant

    So I installed Buddypress through the use of theme BlackFyre for wordpress. The issue I’m having is that after installing Buddypress, I had to create a blank Registration and Activate pages for Buddypress to associate those pages and work.

    But now, when I test it, when a user creates an account, they do not receive an email with the information to log in, and they cannot activate their accounts. How do I fix this?

    #246899
    danbp
    Participant
    #246881
    Juljan.By
    Participant

    Hello. Im using default wp theme (Twenty Fifteen) and default BuddyPress plugin.

    I got a warning:

    "Notice: bp_setup_current_user was called incorrectly. The current user is being initialised without using $wp->init().
    Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in public_html\wp-includes\functions.php on line 3622"

    Yep. I have “WP_DEBUG” constant as TRUE (it’s my dev environment).
    What is wrong here? Is it bug?

    The warning disappears when i remove the 36 line from the file “bp-core-actions.php”
    add_action( 'set_current_user', 'bp_setup_current_user', 10 );
    wp-content/plugins/buddypress/bp-core/bp-core-actions.php:36

    It seems, that plugin’s authors are using some dirty code.

    PS I cannot add a bug report on the page https://buddypress.trac.wordpress.org/. I click “login” link, but the page reloaded without changes. This plugin make me sad unfortunatly.

    #246859
    ITGH
    Participant

    BuddyPress version: 2.4.0
    WordPress version: 4.3

    Hi,

    When exporting user data whether it is a few selected fields or 100 in Excel or CSV format, the download speed of the export is slow (15.5KB/s). I have tried this through Microsoft Edge, Firefox Mozilla and Google Chrome. Speeds at our office are 80 Mbps Down/ 80 Mbps up. Grabbing other files (ex: video) from the site that is hosted comes down at a speed greater than 120KB/s. Is there something that needs to be adjusted in terms of a configuration within BuddyPress?

    Thank You

    #246857
    r-a-y
    Keymaster

    Thanks @joost-abrhahams.

    I’ve filed a ticket here:
    https://buddypress.trac.wordpress.org/ticket/6738

    We’ll get this fixed for v2.4.1.

    #246853

    In reply to: Membership Plugin

    jscmal
    Participant

    Hi, I use Simple WordPress Membership Plugin. It works.

    #246848
    DerAphelion
    Participant

    Great work!

    I´m REALY new in WordPress/Buddypress.
    Now i have a question:

    How can i do it in another language now (Buddypress), in this case german needed?

    greetings

    Aphelion

    #246838
    r-a-y
    Keymaster

    We have deprecated support for the bp-default theme since v1.9:
    The future of the bp-default theme

    That being said, we can look into supporting this feature in bp-default for BP v2.5.0.

    #246834
    r-a-y
    Keymaster

    You might have to do a fresh install because BuddyPress 2.4.0 uses new code for the /groups/single/home.php template:
    https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-templates/bp-legacy/buddypress/groups/single/home.php#L75

    The code you listed above is older code.

    If you already have those changes, then I’m guessing you are using a custom theme with BuddyPress support that has overriden the groups/single/home.php template. If that is the case, you’ll have to change the group home template to use these new lines.

    #246831
    PriR
    Participant

    Hi guys!

    I’m using Woffice theme in my wordpress website. The problem is when i activate the buddypress, i get a server error 500. When this happens, i can’t access neither my website, nor my wp-admin, so i have to delete the buddypress directly by the ftp tool.

    I had read that this could be solved by increasing the memory limit on my php.ini, but it’s already at 128M. I have been trying to solve it for a long time, but i can’t make the buddypress work.

    Help me please!

    Thanks!

    #246827
    r-a-y
    Keymaster

    Since you modified the home.php template, you have to make some adjustments so the new changes will work.

    Read the bpdevel post on this:
    Get Ready! 2.4.0 will introduce important changes in Groups homes

    Especially the last section – Changes in 2 templates.

    #246826
    Michael Kracke
    Participant

    This is a theme I have hand built, so there may be something that I don’t have correct.

    I am using WordPress: 4.3.1 and BuddyPress 2.4.0

    I have gone through and tried deactivating plugins and still no luck. All plugins are up-to-date. Problem seemed to occur when i would create a new field group and delete it. It almost seems like if I had a field then deleted it, it would show up again but as the Name field which is not deletable.

    #246823
    ml413
    Participant

    Hi,
    I’m new to Buddypress (but not WordPress), so I may be missing something obvious here. Our client wants to have several user profile fields that allow users to type in what are essentially tags, e.g., which instruments they play from possibly hundreds of instruments. WordPress tags are perfect for this. They provide an input field with autocompletion, sorting and indexing, auto-generated pages for tags, and so on. WordPress tags also can be set up so that only admin/editor user types can add new tags (e.g., so a basic user doesn’t accidentally add a ‘paino’ tag instead of ‘piano’ as an instrument).

    I can get this working on the default WordPress user profile by creating a custom taxonomy. However, the default profile fields don’t show up when a normal user edits their buddypress profile.

    So I guess there are two questions:

    1.) Is there already a way to incorporate tags/taxonomies in a Buddypress profile? The only thing I’m seeing is a text box, but that probably wouldn’t have autocomplete, loses the searchability and sortability of tags, etc. The checkbox and multi-select options will be tough since they may need to pick 6 items out of a few thousand (one of these will be languages, and there are around 7,000 of them!).

    2.) If not, is there any documentation or examples of how to get a standard user profile field to show up in Buddypress’ member profile? I’m definitely willing to try custom coding to get it working.

    Thanks in advance for any input or suggestions!

    #246818
    shanebp
    Moderator

    Please use the code button when sharing code.
    For long pieces of code, please use a service like gist.

    You can submit an enhancement ticket here. Please search the existing tickets first for entries that already make the same request.

Viewing 25 results - 7,451 through 7,475 (of 32,686 total)
Skip to toolbar