Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 851 through 875 (of 5,755 total)
  • Author
    Search Results
  • amitrwt
    Participant

    I want to set a profile field where a user will list his experience in a particular organization. From and To.. I tried Date -> Range but it just renders single dropdown. The best possible scenario would be having a datepicker with range.?
    I’ve installed BuddyPress Xprofile Custom Fields Type but even this doesn’t have a range date picker.
    Anyone has any suggestion/solution would be appreciated.

    #268737
    webaccount
    Participant

    Hi Team,

    I want to change the layout of the user profile page according to my design.
    Below is the link to the profile page:http://www.goodmourning.co/members/alyssa311/

    But I am unable to find out which plugin file needs to be edited in order to change layout.

    I am also using BuddyPress Xprofile Custom Fields Type plugin.
    Please help me to know the exact that needs to be manipulated for changing the layout of the above URL.

    Quick response will be highly appreciated.

    #268725
    willallen83
    Participant

    I struggled with this for weeks. It never worked out well for me.
    I used the Register Helper add-on plugin to add custom fields to the PMPro registration. I tried the above mentioned fixes, but nothing I tried let the PMPro registration process communicate with the BuddyPress (basically, I wanted one registration page to fill out the BuddyPress profile AND the necissary PMPro info).
    Whichever way I tried it, they remained seperate. Of course, the PMPro registration process did add the user to BuddyPress, but with an empty profile, regardless of the custom fields that I added.

    FINALLY, after MANY hours of working with this, I tried s2Member. This plugin is much more involved to configure, BUT it works perfectly AND integrates well with MailChimp. So now, I not only have integration with BuddyPress (specifically the profile, although the display is a bit off), but also with Mailchimp. And, this means that I can have different mail-lists or mail-list groups within Mailchimp! Perfect 🙂

    Basically, what I am saying is that if you want a better integration, go with s2Member.

    Note: I did not pay the $300 / year for paid membership pro support (too expensive for me), maybe they would have been able to help me resolve this issue. I did scour the forum and glean every bit of info I could to solve this without paying, but to no avail. BUT, with s2Member, it is free AND only $80 one time for the Pro version of the plugin.

    Good luck!

    And, if anyone sees this and has a solution, please add. As people (I assume because I was) are still looking for a solution.

    michaeltcarlson
    Participant

    Thanks so much for the solution above. How can I modify the code to apply only to a specific page:

    .field-visibility-settings-toggle {
    display: none !important;
    }
    .field-visibility-settings-notoggle {
    display: none !important;
    }

    In my case, I’d like “This field can be seen by Anyone” removed from the registration page (#371), but still be visible on a users profile, thus giving users some control over the privacy levels of their fields.

    Thanks in advance for the assistance.

    #268719
    amitrwt
    Participant

    I want to set a profile field where a user will list his experience in a particular organization. From and To.. I tried Date -> Range but it just renders single dropdown. The best possible scenario would be having a datepicker with range.?
    I’ve installed BuddyPress Xprofile Custom Fields Type but even this doesn’t have a range date picker.
    Anyone has any suggestion/solution would be appreciated.

    #268680
    harveyando
    Participant

    Can anyone recommend how to achieve a site such as http://www.tutora.co.uk and http://www.tutorhunt.com using wordpress/buddypress?

    We want to have a home page, about etc but then a search page where users can search for tutors based on subject level and location.

    Tutors can sign up and create a profile with these custom fields.

    They can then private message each other and agree to work together.

    Upon acceptance, the user can then purchase the tutors details – payment made to our site.

    I was looking at buddypress for the profile and private messaging – is this possible?

    What about the payment and search functionality – does anyone have any recommendations on how to achieve this?

    David Cavins
    Keymaster

    You can save extra things manually on the bp_core_signup_user hook:
    https://buddypress.trac.wordpress.org/browser/tags/2.9.1/src/bp-members/bp-members-functions.php#L1900

    But I imagine that the simpler answer would be to use Profile Fields. If you add profile fields to the base group, then they appear on the registration form and are saved at signup. https://codex.buddypress.org/administrator-guide/extended-profiles/

    Best,

    -David

    #268645
    radair2002
    Participant

    Hi Buddypress-afficionistas,

    I have spent quite some time in finding filters for group pages by the xProfileFields if possible using ajax.

    Sorry if thesequestions are answered in default documetation – I didn’t find a solution in there.

    Best regards in advance

    Rolf

    #268643
    sostenibles
    Participant

    @shanebp Thank you very much for your reply.
    I got the correct file and issue is solved.
    Problem was because fields indicated in the code have to be exact to the field name, and that includes both spaces and accents.
    I am displaying more than one field now, and code looks like this (see the accents and spaces!):

    <?php bp_member_profile_data( ‘field=Área de negocio’ ); ?>
    <br>
    <?php bp_member_profile_data( ‘field=Comunidad Autónoma’); ?>
    <br>
    <?php bp_member_profile_data( ‘field=La empresa’); ?>

    vaibhavyuvasoft187
    Participant

    <?php get_header( ‘buddypress’ ); ?>
    <!– MAIN SECTION
    ================================================ –>
    <section>
    <div id=”main”>
    <div class=”row”>
    <div class=”twelve columns”>
    <?php do_action( ‘bp_before_register_page’ ); ?>
    <div id=”register-page”>
    <form action=”” name=”signup_form” id=”signup_form” class=”standard-form custom” 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() ) : ?>
    <div class=”row”>
    <div class=”twelve columns”>
    <h2 class=”article-title text-center”><?php _e( ‘Create an Account’, ‘buddypress’ ); ?></h2>
    </div>
    <!–end twelve–>
    </div>
    <?php do_action( ‘template_notices’ ); ?>
    <p class=”lead”><?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>
    <br><br>
    <?php do_action( ‘bp_before_account_details_fields’ ); ?>
    <div class=”row”>
    <div class=”register-section six columns” id=”basic-details-section”>
    <?php /***** Basic Account Details ******/ ?>
    <h4><i class=”icon icon-user”></i> <?php _e( ‘Account Details’, ‘buddypress’ ); ?></h4>
    <br>
    <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=”<?php bp_signup_password_value(); ?>” class=”password-entry” />
    <div id=”pass-strength-result”></div>
    <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 bp_signup_password_confirm_value(); ?>” class=”password-entry-confirm” />
    <br><br>
    </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 six columns” id=”profile-details-section”>
    <h4><i class=”icon icon-comments”></i> <?php _e( ‘Profile Details’, ‘buddypress’ ); ?></h4>
    <div class=”check-group”>
    <div class=”col-md-4 col-sm-4″>
    <label for=”g1″ class=”g1″>
    <input type=”radio” name=”colorRadio” value=”first-section” id=”g1″ checked=”checked”> Algemeen
    </label>
    </div>
    <div class=”col-md-4 col-sm-4″>
    <label for=”g2″ class=”g2″>
    <input type=”radio” name=”colorRadio” value=”second-section” id=”g2″> Man
    </label>
    </div>
    <div class=”col-md-4 col-sm-4″>
    <label for=”g3″ class=”g3″>
    <input type=”radio” name=”colorRadio” value=”third-section” id=”g3″> Vrouw
    </label>
    </div>
    </div>
    <br>

    <section class=”first-section radio-section”>
    <!– <h1>Algemeen</h1> –>
    <?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=”<?php if(‘selectbox’ == bp_get_the_profile_field_type() || ‘multiselectbox’ == bp_get_the_profile_field_type() ) echo ‘six’; else echo ‘twelve’;?> columns”>
    <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();

    do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ );

    if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
    <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>
    <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>
    <?php _e( ‘Close’, ‘buddypress’ ) ?>
    </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 do_action( ‘bp_custom_profile_edit_fields’ ); ?>
    <p class=”description”><?php bp_the_profile_field_description(); ?></p>
    </div>
    </div>
    <?php endwhile; ?>
    <?php $fields_ids[]= bp_get_the_profile_field_id();?>
    <?php endwhile; endif; endif; ?>
    </section>

    <section class=”second-section radio-section”>
    <!– <h1>Man</h1> –>
    <?php if ( bp_is_active( ‘xprofile’ ) ) : if ( bp_has_profile( array( ‘profile_group_id’ => 2, ‘fetch_field_data’ => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <div class=”<?php if(‘selectbox’ == bp_get_the_profile_field_type() || ‘multiselectbox’ == bp_get_the_profile_field_type() ) echo ‘six’; else echo ‘twelve’;?> columns”>
    <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();

    do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ );

    if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
    <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>
    <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>
    <?php _e( ‘Close’, ‘buddypress’ ) ?>
    </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 do_action( ‘bp_custom_profile_edit_fields’ ); ?>
    <p class=”description”><?php bp_the_profile_field_description(); ?></p>
    </div>
    </div>
    <?php endwhile; ?>
    <?php $fields_ids[]= bp_get_the_profile_field_id();?>
    <?php endwhile; endif; endif; ?>
    </section>

    <section class=”third-section radio-section”>
    <!– <h1>Vrouw</h1> –>
    <?php if ( bp_is_active( ‘xprofile’ ) ) : if ( bp_has_profile( array( ‘profile_group_id’ => 3, ‘fetch_field_data’ => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    <div class=”<?php if(‘selectbox’ == bp_get_the_profile_field_type() || ‘multiselectbox’ == bp_get_the_profile_field_type() ) echo ‘six’; else echo ‘twelve’;?> columns”>
    <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();

    do_action( ‘bp_custom_profile_edit_fields_pre_visibility’ );

    if ( bp_current_user_can( ‘bp_xprofile_change_field_visibility’ ) ) : ?>
    <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>
    <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>
    <?php _e( ‘Close’, ‘buddypress’ ) ?>
    </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 do_action( ‘bp_custom_profile_edit_fields’ ); ?>
    <p class=”description”><?php bp_the_profile_field_description(); ?></p>
    </div>
    </div>
    <?php endwhile; ?>
    <?php $fields_ids[]= bp_get_the_profile_field_id();?>
    <?php endwhile; endif; endif; ?>
    </section>

    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php echo implode(“,”,$fields_ids);?>” />
    </div>
    <!– #profile-details-section –>
    </div>
    <?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><label for=”signup_with_blog”><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’ ); ?></label></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 site_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(); ?>” />
    <label><?php _e( ‘I would like my site to appear in search engines, and in public listings around this network.’, ‘buddypress’ ); ?>:</label>
    <?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>
    </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” class=”button radius pull-right” name=”signup_submit” id=”signup_submit” value=”<?php _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 class=”article-title”><?php _e( ‘Sign Up Complete!’, ‘kleo_framework’ ); ?></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 class=”clearfix”></div>
    <br><br>
    </div>
    <!–end twelve–>
    </div>
    <!–end row–>
    </div>
    <!–end main–>
    </section>
    <!–END MAIN SECTION–>
    <style type=”text/css”>
    .check-group{
    width: 100%;
    margin-bottom: 70px;
    }
    .check-group .col-md-4{
    width: 20%;
    float: left;
    }
    .check-group label{
    background: none;
    padding: 8px 12px;
    border-radius: 5px;
    width: 60%;
    border:2px solid #d7b46a;
    color: #fff;
    }
    </style>
    <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’ ).change( function() {
    if(jQuery(this).is(‘:checked’)) {
    jQuery(‘div#blog-details’).fadeIn();
    }
    else {
    jQuery(‘div#blog-details’).fadeOut();
    }
    });
    });
    </script>
    <script type=”text/javascript”>
    // jQuery(document).ready(function(){
    // jQuery(‘input[type=”radio”]’).click(function(){
    // var inputValue = jQuery(this).attr(“value”);
    // var targetBox = jQuery(“.” + inputValue);
    // jQuery(“.radio-section”).not(targetBox).hide();
    // jQuery(targetBox).show();
    // });
    // });
    jQuery(document).ready(function(){
    jQuery(‘.second-section’).hide(‘fast’);
    jQuery(‘.third-section’).hide(‘fast’);
    jQuery(‘.first-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘#d7b46a’, ‘color’: ‘#333’});

    jQuery(‘.g1’).click(function(){
    jQuery(‘.second-section’).hide(‘fast’);
    jQuery(‘.third-section’).hide(‘fast’);
    jQuery(‘.first-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘#d7b46a’, ‘color’:’#333′});
    jQuery(‘.g2’).css({‘background’: ‘none’, ‘color’:’#fff’});
    jQuery(‘.g3’).css({‘background’: ‘none’, ‘color’:’#fff’});
    })
    jQuery(‘.g2’).click(function(){
    jQuery(‘.first-section’).hide(‘fast’);
    jQuery(‘.third-section’).hide(‘fast’);
    jQuery(‘.second-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘none’, ‘color’:’#fff’});
    jQuery(‘.g2’).css({‘background’: ‘#d7b46a’, ‘color’:’#333′});
    jQuery(‘.g3’).css({‘background’: ‘none’, ‘color’:’#fff’});
    })
    jQuery(‘.g3’).click(function(){
    jQuery(‘.first-section’).hide(‘fast’);
    jQuery(‘.second-section’).hide(‘fast’);
    jQuery(‘.third-section’).show(‘fast’);
    jQuery(‘.g1’).css({‘background’: ‘none’, ‘color’:’#fff’});
    jQuery(‘.g3’).css({‘background’: ‘#d7b46a’, ‘color’:’#333′});
    jQuery(‘.g2’).css({‘background’: ‘none’, ‘color’:’#fff’});
    })
    })
    </script>
    <?php get_footer( ‘buddypress’ ); ?>

    tompowell
    Participant

    I am looking for a way to add my Buddypress extended profile fields to the Users admin page so that I can search through the extra profile fields. I know there’s a plugin ‘Admin Columns Pro’ that can add these but it has way more features than I need. Any suggestions would be helpful.

    #268610
    sostenibles
    Participant

    Hi all!

    I’m building my new site (www.sostenibl.es) using WordPress v.4.8.2 and Buddypress v.2.9.1

    Currently, the members directory displays members’ names and last activity. But I want some profile fields to appear in the BP directory page instead.

    I’ve found a proposed solution in the forum, but it’s not working, and I do not know what I am doing wrong –needless to say that I have no coding experience whatsoever!

    Following other entries in this forum, I was trying to modify the members-loop.php located at bp-templates/bp-legacy. I found the section “if you want to show specific profile fields….”, and added the line: bp_member_profile_data( ‘field=la-empresa’ ).
    However is not working.

    I tried making changes to members-loop.php located at bp-themes/bp-default, just in case 🙂 ; but did not work either.

    I also tried this: <?php bp_member_profile_data(array(‘field’ => ‘la-empresa’)); ?>
    No results 🙁

    I tried also to use the field id instead of the field name. But it’s not working either.
    I am confused with the field name thing, and I am at a point where I don’t know where to find the field name unless it’s the name that I gave to the field (field name I gave has spaces e.g “la empresa”)

    I am really lost and do not how to get this to work. Please help!!

    Thanks in advance!

    #268506
    rtz101
    Participant

    in my mobile version of buddy press my users profile fields are cut in half and i cant scroll to the right to see them. what can i do to resolve this. https://trailguider.com/members/rtz1989/profile/
    newest version of buddypress

    #268427
    metalhead
    Participant

    Put it all in one column:

    /* Aligns Registration Profile Details fields to the left */
    #buddypress .standard-form #basic-details-section,
    #buddypress .standard-form #blog-details-section,
    #buddypress .standard-form #profile-details-section {
        width: 100%;
    }
    #profile-details-section {
        margin-top: 20px;
    }

    And the finish button too (recommended):

    #buddypress .standard-form#signup_form div.submit {
        float: left!important;
        margin: -12px 3px 3px 3px!important;
    }

    That should line it all up in 1 row. Congrats on not paying someone $1000 for that info 🙂

    #268363
    learntodesign
    Participant

    Is there any function I can tap into to set a default search upon going to the members page? For example the search page will automatically generate a $_GET request based on specific profile fields and go to /members/?field_6=Teacher&field_8=apple, instead of the user having to manually select these fields and then submit the form.

    I know I can do something similar by adding a custom query to the members loops as designated here:

    Members Loop

    However, this does not edit the form directly and only the members loop, and is not clean in my opinion.

    smurfworks
    Participant

    Hey team,

    I’ve searched older replies for an answer on how to do this but can’t seem to find anything that matches this scenario. I have a profile field group of custom fields that currently sits within the ‘view’ and ‘edit’ profile tab on buddypress. For both of these views, I’d like to move editing this single group to under the settings tab.

    I assume there’s probably some custom development involved, however as we have this great implementation of field management, I’m hoping there’s a way I can move it under the settings menu and still re-use a bunch of this functionality that’s all ready to go.

    I’m sorry if this topic is inappropriate for this forum, it’s my first time asking for help here.

    Thanks!

    #268344
    norfolkandway
    Participant

    Thank you for this great plugin, Much appreciated
    I only have one issue
    I have set default visibility to ‘Only me’
    This is displayed as correct when new user first edits profile BUT
    the fileds are visible to all users until the new user hits the save button
    When the save button is hit the privacy function then works
    Example
    New user registers and a different user views profile – All fields are visible
    New user then enters ‘Profile visibility settings’ and clicks the ‘Save settings’ button
    Now when the different user views profile, the fields are hidden
    I hope this makes sense
    Unfortunately the only way you will be able to see this is the same way that I did by opening 2 x browsers signing in as a registered user the in the other browser create a new user
    Are you are to help in resolving this issue please – I hope my explanation makes sense!
    Thank you
    Iain

    #268338

    Hi guys,

    I have a WordPress MultiSite (With 9 SubSites) where I’m running BuddyPress 2.9.1, with the Multi Blog feature enabled. The problem is, when I try to edit the profile fields, I see that there are several instances of the same First Name and Last Name fields listed there (It looks like 8 sets of duplicates). And because these fields can’t be deleted, I really need some help in fixing this bug and removing these extra fields.

    Has anyone encountered this issue before? Any help would be much appreciated.

    #268322
    phyllismaulorico
    Participant

    Any thoughts on how I would go about creating different types of accounts for members? For example, if a community was about restaurants, and you wanted the option for users to choose their account type during registration, i.e. Waitress, cook, host, owner, manager, patron. Each type of account would have a different kind of profile, and different registration fields.

    #268295
    mixalhs89
    Participant

    Hello,
    How can i translate the label, like Name, of buddypress profile fields with polylang?

    #268281
    mixalhs89
    Participant

    Hello,
    How can i translate the label, like Name, of buddypress profile fields with polylang;

    #268249
    theredeclipse
    Participant

    I come up with this piece of code, it just add class for fields but its enough for me

    function bp_add_class($elements){
        $elements['class'] = 'field';
        return $elements;
    }
    add_action('bp_xprofile_field_edit_html_elements','bp_add_class');
    #268209
    coolhunt
    Participant

    Hey Guys,

    anyone have any experience in either the V2 wp-json?
    Im trying to return results for a search http://domain-com/wp-json/wp/v2/users/%5Bsearchterm%5D

    does anyone know the url string for this? I suspect that this probably doesnt read profile fields?…

    simon2902
    Participant

    Hi

    previous forum posts provide no answer to this question:

    How can I add target=”_blank” in Profile Fields Descriptions? This is needed for user registration, specifically terms of use hyperlinks, but it is always removed when I try to enter it.

    Suggestions?

    Thanks
    S

    #268156
    volfrant
    Participant

    Hello,

    I am using Sweetdate theme 3.0 with Buddypress 2.9.1 to create a matchmaking site. This theme has an option to count compatibility score, which counts a percentage match between two profiles. I would like to sort members by this score, but I have no idea how to do that (this is the members site members). I found the code regarding compatibility score, but I am having trouble pasting it, so this is only a fragment to get you an idea how it works.

    //multiple fields match
    if ( is_array( $kleo_config[‘matching_fields’][‘multiple_values’] ) ) {
    foreach ( $kleo_config[‘matching_fields’][‘multiple_values’] as $key => $value ) {
    $field1 = xprofile_get_field_data( $key, $userid1 );
    $field2 = xprofile_get_field_data( $key, $userid2 );
    if ( $field1 && $field2 ) {
    $intersect = array_intersect( (array) $field1, (array) $field2 );
    if ( count( $intersect ) >= 1 ) {
    $score += $value * count( $intersect );
    }
    }
    }
    }
    if ( $score > 100 ) {
    $score = 100;
    }

    return $score;
    }
    }
    endif;`

    Do you have any idea how this sort by option could be created? Thank you very much for your answers in advance!

    Frantisek Voldrich

Viewing 25 results - 851 through 875 (of 5,755 total)
Skip to toolbar