Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 701 through 725 (of 5,755 total)
  • Author
    Search Results
  • #273176
    panosa1973
    Participant

    Is this a bug? I’ve been trying to figure this out for days. Why does my custom member directory revert to the default when I sort it??? I load it, it works fine and outputs the filtered users. I sort it by Alphabetical order (for example) and it gives me all users again. Does anyone have an idea why this is happening?

    [members-loop-2.php]

    <?php
    /**
     * BuddyPress - Members Loop
     *
     * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter()
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    /**
     * Fires before the display of the members loop.
     *
     * @since 1.2.0
     */
    do_action( 'bp_before_members_loop' ); ?>
    
    <?php if ( bp_get_current_member_type() ) : ?>
    	<p class="current-member-type"><?php bp_current_member_type_message() ?></p>
    <?php endif; ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) .'&include=' .get_user_matches()  ) ) : ?>
    
    	<div id="pag-top" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-top">
    
    			<?php //bp_members_pagination_count(); ?>
    
    		</div>
    
    		<div class="pagination-links" id="member-dir-pag-top">
    
    			<?php bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>
    
    	<?php
    
    	/**
    	 * Fires before the display of the members list.
    	 *
    	 * @since 1.1.0
    	 */
    	do_action( 'bp_before_directory_members_list' ); ?>
    
    	<ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all">
    
    	<?php while ( bp_members() ) : bp_the_member(); ?>
    		<li <?php bp_member_class(); ?>>
            
    			<div class="item-avatar">
    				<a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
    			</div>
    
    			<div class="item">
    				<div class="item-title">
    					<a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
    
    					<?php if ( bp_get_member_latest_update() ) : ?>
    
    						<span class="update"> <?php bp_member_latest_update(); ?></span>
    
    					<?php endif; ?>
    
    				</div>
    
    				<div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div>
    
    				<?php
    
    				/**
    				 * Fires inside the display of a directory member item.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_directory_members_item' ); ?>
    
    				<?php
    				 /***
    				  * If you want to show specific profile fields here you can,
    				  * but it'll add an extra query for each member in the loop
    				  * (only one regardless of the number of fields you show):
    				  *
    				  * $xGender =  bp_member_profile_data( 'field=Gender' );
    				  */
    				  
    				?>
    			</div>
    
    			<div class="action">
    
    				<?php
    
    				/**
    				 * Fires inside the members action HTML markup to display actions.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_directory_members_actions' ); ?>
    
    			</div>
    
    			<div class="clear"></div>
    		</li>
    	<?php endwhile; ?>
    
    	</ul>
    
    	<?php
    
    	/**
    	 * Fires after the display of the members list.
    	 *
    	 * @since 1.1.0
    	 */
    	do_action( 'bp_after_directory_members_list' ); ?>
    
    	<?php bp_member_hidden_fields(); ?>
    
    	<div id="pag-bottom" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-bottom">
    
    			<?php //bp_members_pagination_count(); ?>
    
    		</div>
    
    		<div class="pagination-links" id="member-dir-pag-bottom">
    
    			<?php bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>
    
    <?php else: ?>
    
    	<div id="message" class="info">
    		<p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
    	</div>
    
    <?php endif; ?>
    
    <?php
    
    /**
     * Fires after the display of the members loop.
     *
     * @since 1.2.0
     */
    do_action( 'bp_after_members_loop' );

    [index-2.php]
    ‘<?php
    /**
    * BuddyPress – Members
    *
    * @package BuddyPress
    * @subpackage bp-legacy
    */

    /**
    * Fires at the top of the members directory template file.
    *
    * @since 1.5.0
    */
    do_action( ‘bp_before_directory_members_page’ ); ?>

    <div id=”buddypress”>

    <?php

    /**
    * Fires before the display of the members.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_before_directory_members’ ); ?>

    <?php

    /**
    * Fires before the display of the members content.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_before_directory_members_content’ ); ?>

    <?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    <?php if ( has_filter( ‘bp_directory_members_search_form’ ) ) : ?>

    <div id=”members-dir-search” class=”dir-search” role=”search”>
    <?php bp_directory_members_search_form(); ?>
    </div><!– #members-dir-search –>

    <?php else: ?>

    <?php bp_get_template_part( ‘common/search/dir-search-form’ ); ?>

    <?php endif; ?>

    <?php
    /**
    * Fires before the display of the members list tabs.
    *
    * @since 1.8.0
    */
    do_action( ‘bp_before_directory_members_tabs’ ); ?>

    <form action=”” method=”post” id=”members-directory-form” class=”dir-form”>

    <div class=”item-list-tabs” id=”subnav” aria-label=”<?php esc_attr_e( ‘Members directory secondary navigation’, ‘buddypress’ ); ?>” role=”navigation”>

      <?php

      /**
      * Fires inside the members directory member sub-types.
      *
      * @since 1.5.0
      */
      do_action( ‘bp_members_directory_member_sub_types’ ); ?>

      <li id=”members-order-select” class=”last filter”>
      <label for=”members-order-by”><?php _e( ‘Order By:’, ‘buddypress’ ); ?></label>
      <select id=”members-order-by”>
      <option value=”active”><?php _e( ‘Last Active’, ‘buddypress’ ); ?></option>
      <option value=”newest”><?php _e( ‘Newest Registered’, ‘buddypress’ ); ?></option>

      <?php if ( bp_is_active( ‘xprofile’ ) ) : ?>
      <option value=”alphabetical”><?php _e( ‘Alphabetical’, ‘buddypress’ ); ?></option>
      <?php endif; ?>

      <?php

      /**
      * Fires inside the members directory member order options.
      *
      * @since 1.2.0
      */
      do_action( ‘bp_members_directory_order_options’ ); ?>
      </select>

    </div>

    <h2 class=”bp-screen-reader-text”><?php
    /* translators: accessibility text */
    _e( ‘Members directory’, ‘buddypress’ );
    ?></h2>

    <div id=”members-dir-list” class=”members dir-list”>
    <?php bp_get_template_part( ‘members/members-loop-2’ ); ?>
    </div><!– #members-dir-list –>

    <?php

    /**
    * Fires and displays the members content.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_directory_members_content’ ); ?>

    <?php wp_nonce_field( ‘directory_members’, ‘_wpnonce-member-filter’ ); ?>

    <?php

    /**
    * Fires after the display of the members content.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_after_directory_members_content’ ); ?>

    </form><!– #members-directory-form –>

    <?php

    /**
    * Fires after the display of the members.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_after_directory_members’ ); ?>

    </div><!– #buddypress –>

    <?php

    /**
    * Fires at the bottom of the members directory template file.
    *
    * @since 1.5.0
    */
    do_action( ‘bp_after_directory_members_page’ );
    ‘

    #273175
    ma3ry
    Participant

    Thank you for the suggestion. I deactivated the XProfile plugin first and ran the backup job – still had the error, so I deactivated the BuddyPress plugin and ran the backup job again. I still have the error. I guess I’m going to have to look into this further.

    One thing I did notice when I deactivated the XProfile plugin, I retained all my current extra fields. The only one I had a problem with is birthdate. It used to show age, not birthdate. Perhaps there is a plugin that will deal with just this issue. I’ll have to look around.

    Thank you again for all your excellent help. I really appreciate it!!!!

    #273172
    ma3ry
    Participant

    Yes, I think it is the same issue as the one I originally wrote about re XProfile Custom Fields showing an error on my dashboard.

    I got the notification on the dashboard first, then I saw that my backups also had problems. I think both are related to the same plugin.

    Your solution helped with the dashboard issue. It is no longer showing.

    #273169
    Venutius
    Moderator

    I don’t think the changes I’ve made could have caused that, I only updated the version checking which is internal to the plugin and not referenced by other, and I didn’t change any data that was being recorded in the database. If you deactivate xprofile custom fields, does the problem go away?

    #273165
    ma3ry
    Participant

    Is anyone likely to update BuddyPress Xprofile Custom Fields?

    #273158
    Varun Dubey
    Participant

    @ma3ry BuddyPress Xprofile Custom Fields have some security loopholes and it will need dedicated time to fix all issues and make it compatible with the latest version.
    @venutius check it once if you have time. It has 6000+ active install, needs some attention.

    #273157
    ma3ry
    Participant

    I am getting this error since I had an issue with BuddyPress Xprofile Custom Fields. I made the change as suggested by Varun (https://wordpress.org/support/topic/warning-breaks-with-bp-3-0/) and it stopped the error from appearing on my dashboard, but I now have the following error when doing back up with BackWPup

    ERROR: Call to a member function close() on null

    I’m assuming the two are related. Is there a fix for this?

    Many thanks!

    #273153
    Varun Dubey
    Participant

    @ma3ry there is a temp fix for BuddyPress Xprofile Custom Fields Type by @venutius you can check it.
    https://wordpress.org/support/topic/warning-breaks-with-bp-3-0/

    #273150
    ma3ry
    Participant

    I am getting an error “BuddyPress Xprofile Custom Fields Type plugin needs BuddyPress 2.5, please install or upgrade BuddyPress.”

    I’m using BuddyPress 3.0.0 I know that this third party plugin is no longer maintained, so now I’m stuck. Is there another plugin that will do the same job?

    I’m not a coder so don’t know how to do it manually, and I need those profile fields.

    Would appreciate any suggestions.

    Many thanks!

    #273102
    #273084
    Varun Dubey
    Participant

    @mckennapoole checked at your site, You have added custom css to hide mandatory fields

    remove it from custom css section

    #buddypress .standard-form #profile-details-section {
        display: none;
    }

    After that, it will work
    I have registered at your site and it worked
    https://drive.google.com/a/wbcomdesigns.com/file/d/1oLVWUD_vFJgHffHu9nXEu2x03MFvsRW5/view?usp=drivesdk

    #273044

    In reply to: members directory

    Varun Dubey
    Participant

    @emmanuel1234
    You can check

    Members Loop


    It has explained how to modify loop filtering by Xprofile fields

    #273041
    ivailo333
    Participant

    How can I change these phrases given in the fields?
    WordPress – v. 4.9.5
    BuddyPress – v. 2.9.4
    Site – https://puhkavi.com/
    Edit

    #273037
    groston
    Participant

    Thanks again for the help! This post, https://buddypress.org/support/topic/how-to-customize-the-order-of-fields-of-registration/, led me to the answer: the function bp_get_the_profile_field_name() returns the ‘friendly’ name of the field, i.e., that which is defined in wp-content\plugins\<my-plugin>\include\users\profile.php as the label parameter for the field.

    Jayell12
    Participant

    Hello Buddypress community,

    I am trying to remove the “last active” section of the membersloop. I have the membersloop file in my child theme within the buddypress->members folders. After deleting the correct code I saved the file and cleared all caches, but the changes are not taking effect.

    Web page: http://mobileweb.guru/webdev/crowdwel/member-directory/

    I have pasted my code below:

    <?php
    /**
    * BuddyPress – Members Loop
    *
    * Querystring is set via AJAX in _inc/ajax.php – bp_legacy_theme_object_filter()
    *
    * @package BuddyPress
    * @subpackage bp-legacy
    */

    /**
    * Fires before the display of the members loop.
    *
    * @since 1.2.0
    */
    do_action( ‘bp_before_members_loop’ ); ?>

    <?php if ( bp_get_current_member_type() ) : ?>
    <p class=”current-member-type”><?php bp_current_member_type_message() ?></p>
    <?php endif; ?>

    <?php if ( bp_has_members( bp_ajax_querystring( ‘members’ ) ) ) : ?>

    <div id=”pag-top” class=”pagination”>

    <div class=”pag-count” id=”member-dir-count-top”>

    <?php bp_members_pagination_count(); ?>

    </div>

    <div class=”pagination-links” id=”member-dir-pag-top”>

    <?php bp_members_pagination_links(); ?>

    </div>

    </div>

    <?php

    /**
    * Fires before the display of the members list.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_before_directory_members_list’ ); ?>

    <ul id=”members-list” class=”item-list” aria-live=”assertive” aria-relevant=”all”>

    <?php while ( bp_members() ) : bp_the_member(); ?>

    <li <?php bp_member_class(); ?>>
    <div class=”item-avatar”>
    “><?php bp_member_avatar(); ?>
    </div>

    <div class=”item”>
    <div class=”item-title”>
    “><?php bp_member_name(); ?>

    </div>

    <?php

    /**
    * Fires inside the display of a directory member item.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_directory_members_item’ ); ?>

    <?php
    /***
    * If you want to show specific profile fields here you can,
    * but it’ll add an extra query for each member in the loop
    * (only one regardless of the number of fields you show):
    *
    * bp_member_profile_data( ‘field=the field name’ );
    */
    ?>
    </div>

    <div class=”action”>

    <?php

    /**
    * Fires inside the members action HTML markup to display actions.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_directory_members_actions’ ); ?>

    </div>

    <div class=”clear”></div>

    <?php endwhile; ?>

    <?php

    /**
    * Fires after the display of the members list.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_after_directory_members_list’ ); ?>

    <?php bp_member_hidden_fields(); ?>

    <div id=”pag-bottom” class=”pagination”>

    <div class=”pag-count” id=”member-dir-count-bottom”>

    <?php bp_members_pagination_count(); ?>

    </div>

    <div class=”pagination-links” id=”member-dir-pag-bottom”>

    <?php bp_members_pagination_links(); ?>

    </div>

    </div>

    <?php else: ?>

    <div id=”message” class=”info”>
    <p><?php _e( “Sorry, no members were found.”, ‘buddypress’ ); ?></p>
    </div>

    <?php endif; ?>

    <?php

    /**
    * Fires after the display of the members loop.
    *
    * @since 1.2.0
    */
    do_action( ‘bp_after_members_loop’ );

    #272976
    Venutius
    Moderator

    Yes that sounds about right, the page is doing a loop printing out the profile fields, so you could add an if statement dependent on the field name.

    if ( 'Name' == bp_get_the_profile_field_name() ) {
        //insert label
    }
    Radzio125
    Participant

    I used before only bbpress forum but I decided to add also buddypress. I have old bbpress user profile custom fields that I created.

    How to make they works on buddypress user profiles?

    I don’t want to use default buddypress fields creator because I want to display some extra stuff like icons and extra text based on selected value, and default profile fields creator doesn’t offer this.

    Here is code that I used:

    // Display on User Edit Page
    add_action("bbp_user_edit_after_contact", "edit_gender_field");
    function edit_gender_field()
    {
        // a random selection of genders
        $genders = array("Male", "Female");
        // selected gender, if any
        $user_gender = bbp_get_displayed_user_field('u_gender');
        ?>
        <label for="gender"><?php _e('Gender'); ?></label>
        <select name="gender" id="gender">
            <option value="">Select your gender</option>
            <?php foreach ($genders as $gender) : ?>
                <option <?php selected($user_gender, $gender); ?>><?php echo esc_attr($gender); ?></option>
            <?php endforeach; ?>
        </select>
        <?php
    }
    
    // Save when updating
    // Our profile
    add_action("personal_options_update", "save_gender_value");
    // Other users' profiles
    add_action("edit_user_profile_update", "save_gender_value");
    
    function save_gender_value($user_id)
    {
        // exclude profile.php/user-edit update
        if (is_admin()) return;
        // update preference
        if (isset($_POST['gender']) && $_POST['gender']) {
            return update_user_meta($user_id, "u_gender", sanitize_text_field($_POST['gender']));
        } else {
            return delete_user_meta($user_id, "u_gender");
        }
    }
    
    // Display on User Profile Page
    add_action("bbp_user_profile_gender", "display_gender_value");
    
    function display_gender_value()
    {
        // selected gender, if any
        $user_gender = bbp_get_displayed_user_field('u_gender');
        // making sure user has set their gender first
        if (!trim($user_gender)) return;
        // all good
        if ($user_gender == 'Male') {
            return printf('Some stuff to display if user is %s', esc_attr($user_gender));
        }
        if ($user_gender == 'Female') {
            return printf('Some stuff to display if user is %s', esc_attr($user_gender));
        }
    }

    I guess that I should change action personal_options_update. I found in web something like that xprofile_data_before_save but it doesn’t work.

    Also I think that I should change bbp_get_displayed_user_field. I changed to xprofile_get_field_data but it doesn’t work too.

    Maybe I’m doing something wrong. Please help me if you know how to make it work.

    groston
    Participant

    Based on some user testing, it was suggested that we add a label above certain field in the profile field to describe the usage of several fields (as opposed to having a description beneath just one of the fields). Can someone suggest a way that this can be accomplished?

    Thanks.

    #272940
    RobertL4807
    Participant

    Having this custom build as a post type. Then each posts have hidden fields containing the company info. Custom page theme. Then each post has associated profile IDs. Oh, and then having profile page pull company post info that matches their profile id.
    Seems like the only way due to the gap in the current features.

    gheebuttersnaps
    Participant

    Hey there,

    I am currently setting up a members directory for our alumni association using buddypress (currently Version 3 RC1 from trac). I really love it and so far the feedback from our testers is really positive. I might consider contributing a showcase/case study if there is anything like that for buddypress. I have already contributed several translations and will add more during the weekend!

    I have one issue remaining which is related to the search function. We allow our members to hide certain information from other members. For example one member can set their current location to “adminsonly”. Let’s assume this example. We have user Thomas in city Berlin and user Peter in city Munich. Thomas decides to hide his location from other members and sets the field visibility to adminsonly. Now Peter views Thomas’ profile and is not able to see his location. So far everything works as expected. Now Peter uses the search function and uses the keyword “Berlin”. The result set contains Thomas (without displaying any information about the city) although Peter should not be able to know the city.

    I would tend to consider this as a breach of privacy for users. That’s why I currently have removed the search boxes from all pages. Technically, if someone knows the URL search strings he/she could still do the search. Is it possible to configure the search so that it only searches fields which are available to the user conducting the search?

    Thanks and regards!

    #272905
    Venutius
    Moderator

    I don’t think I can advise you. BuddyPress does not some built in with a personal description. You can add one, in Dashboard>>Users>>Profile Fields, and it would be displayed during signup and in the users Profile>>View page. However, that’s not the default landing page for a profile, so it looks like your theme is overloading the users profile, and I think your theme developers would be best placed to ask.

    #272817
    mechwiy
    Participant

    Hello,

    I created some fields in the users -> profile fields section, the problem is that all those fields that I created appears in the registration form and I don’ want that, I want that the user fill those fields after the registration directly in his profile page if he wants to.

    Is there another option that making those fields optional and disabling their visibilities with the css in the registration form ?

    thank you for your help

    #272810

    In reply to: GDPR compliance

    Varun Dubey
    Participant

    @erictracz BuddyPress will also be ready with GDPR compliance in coming updates.
    There is an ongoing discussion about it.
    https://buddypress.trac.wordpress.org/ticket/7698

    For 3rd party plugin concern, Site owners are ultimately responsible for the all the plugins they are using at their site, and they also have to understand the functionality of each plugin including their data collection and storage methods before using them.

    Regarding 3rd party BuddyPress developers, after BuddyPress GDPR compliance release they can update their plugins to hook all user specific data at BuddyPress option which allow users to delete themselves.

    @hdcms You can create a profile fields with terms & condition or take a look at https://wordpress.org/plugins/simple-terms-and-conditions-for-buddypress/ plugin.

    dennis.cabasal
    Participant

    Hi,

    I’m new to buddypress and I was trying to add the xprofile fields to admin email after activation.

    I found this code and I’m desperately trying to figure out how to make it work.

    /*
    Plugin Name: Custom New User Email
    Description: Changes the copy in the email sent out to new users
    */
     
    // Redefine user notification function
    if ( !function_exists('wp_new_user_notification') ) {
        function wp_new_user_notification( $user_id, $plaintext_pass = '' ) {
            $user = get_userdata( $user_id );
          
    	// The blogname option is escaped with esc_html on the way into the database in sanitize_option
    	// we want to reverse this for the plain text arena of emails.
    	$blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
    	
    	// find the profile field for referrer
    	//$field1 = xprofile_get_field_data( 'Referrer', $user_id );
            $field1 = xprofile_get_field_data( 'field_id=1', $user_id );
            $field2 = xprofile_get_field_data( 'field_id=2', $user_id );
            $field3 = xprofile_get_field_data( 'field_id=3', $user_id );
    	$field4 = xprofile_get_field_data( 'field_id=4', $user_id );
    	$field5 = xprofile_get_field_data( 'field_id=5', $user_id );
    	$field6 = xprofile_get_field_data( 'field_id=6', $user_id );
    	$field7 = xprofile_get_field_data( 'field_id=32', $user_id );
    	$field8 = xprofile_get_field_data( 'field_id=8', $user_id );
    	$field9 = xprofile_get_field_data( 'field_id=9', $user_id );
    	$field10 = xprofile_get_field_data( 'field_id=10', $user_id );
    	$field11 = xprofile_get_field_data( 'field_id=13', $user_id );
    	$field12 = xprofile_get_field_data( 'field_id=16', $user_id );
    	$field13 = xprofile_get_field_data( 'field_id=25', $user_id );
    
    	$message  = sprintf(__('New user registration on your site %s:'), $blogname) . "\r\n\r\n";
    	$message .= sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n";
    	$message .= sprintf(__('E-mail: %s'), $user->user_email) . "\r\n\r\n";
    	$message .= sprintf(__('First Name: %s'), $field1) . "\r\n";
    	$message .= sprintf(__('Last Name: %s'), $field2) . "\r\n";
    	$message .= sprintf(__('Job Title: %s'), $field3) . "\r\n";
    	$message .= sprintf(__('Company: %s'), $field4) . "\r\n";
    	$message .= sprintf(__('Address 1 : %s'), $field5) . "\r\n";
    	$message .= sprintf(__('Address 2 : %s'), $field6) . "\r\n";
    	$message .= sprintf(__('Country	: %s'), $field7) . "\r\n";
    	$message .= sprintf(__('City: %s'), $field8) . "\r\n";
    	$message .= sprintf(__('Zip: %s'), $field9) . "\r\n";
    	$message .= sprintf(__('Phone: %s'), $field10) . "\r\n";
    	$message .= sprintf(__('Fax: %s'), $field11) . "\r\n";
    	$message .= sprintf(__('Relationship: %s'), $field12) . "\r\n";
    	$message .= sprintf(__('Interest: %s'), $field13) . "\r\n";
    
    	@wp_mail(get_option('admin_email'), sprintf(__('[%s] New User Registration'), $blogname), $message);
    
    	if ( empty($plaintext_pass) )
    		return;
    
    	$message  = sprintf(__('Username: %s'), $user->user_login) . "\r\n";
    	$message .= sprintf(__('Password: %s'), $plaintext_pass) . "\r\n";
    	$message .= wp_login_url() . "\r\n";
    
    	wp_mail($user->user_email, sprintf(__('[%s] Your username and password'), $blogname), $message);
     
         }
    }
     

    Please help.

    Thank you so much

    Dennis

    #272789

    In reply to: Age Field two fields

    modde
    Participant

    Thank you, but the problem is, that its displayed like: 24 years, 2 months ago
    In German its vor 24 Jahren, 2 Monaten.

    The birthday should be display like this: 24 years
    Or in German: 24 Jahre

    The solution for me was to install the plugin BuddyPress Xprofile Custom Fields Type.
    Its not maintained and got deleted from the plugin site, but it works.

    Maybe I can add a php code in the custom field of the profile fields?

Viewing 25 results - 701 through 725 (of 5,755 total)
Skip to toolbar