Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 526 through 550 (of 5,755 total)
  • Author
    Search Results
  • #302800
    shanebp
    Moderator

    BP Profile Search will search as many profile fields as you want for each search input.
    Just follow the directions for that plugin.
    If you have additional questions, please ask them on the support forum for BP Profile Search.

    #302795
    der_velli
    Participant

    Hi. I’m looking for one search field (widget) which searchs in couple of profile fields. like name, surname, city, job (and other custom made profile fields) but i don’t want to search all fields (some fields have to be hidden for other users).
    BP Member Search would be fine, but i can only search one profile field for each search input.

    Best Regards

    #302738
    easybwpacc
    Participant

    Solved go to users > profile fields > add fields as needed

    #302546
    josh.grisdale
    Participant

    Hi,

    I’m not really a programmer and just hacked together some stuff I found…

    but,

    First of all I assume that xprofile_get_field_data only gets feilds in the Extended Profile tab of the user, so you would either need to add those fields to the Extended Profile, or you would need another wordpress function to get it from the regular profile likely

    $current_user->user_firstname (https://codex.wordpress.org/Function_Reference/wp_get_current_user)

    $newname = $current_user->user_firstname . $current_user->user_lastname;

    I would guess…

    #302495
    egamestudio
    Participant

    Hello,

    This is my problem, I use ACF PRO to create my own fields on my WordPress theme, for the member profiles part everything works with this code:

    <?php
    /**
     * BuddyPress - Members Settings ( General )
     *
     * @since 3.0.0
     * @version 3.1.0
     */
    acf_form_head ();
    $author_id = bp_displayed_user_id();
    ?>
        <div class="col-lg-6">
            <?php
            acf_form(array(
    
                'id' => 'acf-formA',    
    
                /* Groupe de champs ID utilisé */
                'field_groups' => array('663'), //CHANGE ID IN LIVE
    
                /* Quelle est la function meta utiliser en $ sur ID auteur ? */    
                'post_id' => 'user_'.$author_id,
    
                /* Quel est le nom sur le bouton du button de sauvegarde */    
                'submit_value' => __("SAUVEGARDER", 'acf'),
    
                /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */
                'updated_message' => __("Mise à jour réalisée", 'acf'),   
    
                /* Button de submit de formulaire */
                'html_submit_button'	=> '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>',
    
                /* Le spinner de chargement */
                'html_submit_spinner'	=> '<span class="acf-spinner"></span>',
                'form' => true,
                'return' => ''
            ));
            add_action('acf/save_post', 'my_acf_save_post', 20);
            ?> 
        </div>
    

    So far no problem to display then on the member’s profile page the information of the ACF field.

    My Problem:
    On the other hand, on the Groups part I can’t find how to attach the field to the ID group, that’s what I tried.

    In my edit-details.php (in group),My field works, I enter test in my acf form
    it comes out in the echo “test” but on all the groups, I can’t associate this field with the group id.

    <?php
    /**
     * BP Nouveau Group's edit details template.
     *
     * @since 3.0.0
     * @version 3.1.0
     * @version 4.0.0 Removed 'Notify group members' checkbox in favor of hooked callback.
     */
    acf_form_head ();
            
    $group_id = bp_displayed_user_id();
    $group = new BP_Groups_Group( $group_id );
    
    ?>
    <?php echo get_field('test_group', 'group_'. $group_id); ?>
    
         <?php
                acf_form(array(
    
                    'id' => 'acf-formA',    
    
                    /* Groupe de champs ID utilisé */
                    'field_groups' => array('714'), //CHANGE ID IN LIVE
    
                    /* Quelle est la function meta utiliser en $ sur ID auteur ? */    
                    'post_id' => 'group_'.$group_id,
    
                    /* Quel est le nom sur le bouton du button de sauvegarde */    
                    'submit_value' => __("SAUVEGARDER", 'acf'),
    
                    /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */
                    'updated_message' => __("Mise à jour réalisée", 'acf'),   
    
                    /* Button de submit de formulaire */
                    'html_submit_button'	=> '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>',
    
                    /* Le spinner de chargement */
                    'html_submit_spinner'	=> '<span class="acf-spinner"></span>',
                    'form' => true,
                    'return' => ''
                ));
                add_action('acf/save_post', 'my_acf_save_post', 20);
                ?> 

    Thanks for your help !
    demo : https://cryodev.fr/branch/build/alpha/groupes/le-groupe-a-demo/

    #302488
    MorgunovVit
    Participant

    Hi, Josh!
    I am trying to solve a similar problem, but only I need to make the display_name = First_Name + Last_Name fields of the BuddyPress xprofile.

    I have been tormenting for a long time and can’t find a suitable hook that firing when the xprofile fields First_Name and Last_Name have already been written in the database.

    #302483
    mbamutuelle
    Participant

    Hello,

    Can you help me for hiding the “Modify” button on a member page.
    I Don’t want that my members can change their profile by themself because all fields are automaticly feed by an LDAP authentication.
    Before updating my Woffice theme, i just have to comment some lines of this file :
    /home/wordpress/wp-content/themes/woffice/buddypress/members/single/profile.php

    // Edit
    //case ‘edit’ :
    // bp_get_template_part( ‘members/single/profile/edit’ );
    // break;

    But now i Don’t find where i can hide this button for my suscribers.

    Can you try to help me please ?
    Thx

    #302466
    Number_6
    Participant

    Hello,
    I’m looking to create widgets specifically for profile pages. For that I need a way to get the ID/display name of the current profile being viewed.
    In plain English: User 1 views their own profile and sees data in widgets relative to their own profile.
    User 2 views User 1’s profile and sees data in widgets relative to User 1’s profile.
    Example: Custom post types they’ve authored or data from their custom profile fields.

    For that I need to fetch the ID/Display Name of the currently viewed profile page.

    Thanks

    #302465
    shanebp
    Moderator

    The easiest approach, imo, would be to remove the current member search input from the members directory.
    For example, create an overload of this file and delete the code re member search:
    buddypress\bp-templates\bp-legacy\buddypress\members\index.php

    Then get this plugin: BP Profile Search
    And configure a custom member search that only includes the fields you want.

    bitroger
    Participant

    I have many custom profile and need hide some from VIEW option profile, can you help me please???

    I have a field called “user available”
    How do I hide the other fields when I select the option “NO” in the user’s data view?

    #302438
    msteimann
    Participant

    Thanks for your quick reply, Venutius!

    I have tried the WP 2015 Theme and got the same results. So I switched back to KLEO and noticed, that the xProfile fields do change to the desired visibility settings, AFTER the user clicks the SAVE SETTINGS button. So I guess I was confused by the fact that BEFORE you hit the save button there is a misleading visual feedback (the visibility term does not alter to the according setting the user has just changed it to, it still displays the same value as before).

    Could this be changed in the next release?

    My first problem still remains: the „change display name visibility option“ is displayed beneath the name field on the user Registration page. This doesn’t make sense, if the name’s visibility throughout BuddyPress network is mandatory. How can I get rid of this line? Does this line and it’s user changeable visibility options really not appear on a default install?

    In the WP Dashboard I cannot change the options for the primary Name field. Only the fields under the details tab can be altered by admin and set to be visibility-changeable by the user. (Hope you understand what I try to say 😉

    Regards,
    Martin

    Hide visibility option on registration page?

    #302434
    Venutius
    Moderator

    On a default install there is no option to change the visibility of the Name field, it is always visible to all. Other profile fields can have this setting changed and it works. I suggest you try switching to a default theme such as 2015 and see if you still have the issue.

    #302413
    meriping
    Participant

    Hi,
    I am using BuddyPress v4.1.0 and WordPress v5.0.3

    I need to two different profile fields in the same line.
    For instance I have a field that is called Instrument and other than is Level. In the profile it shows in two different lines
    Instrument Guitar
    Level Advance
    What I need is to display both fields in the same line
    Instrument Guitar Level Advance

    Is that possible?

    Thank you

    #302394
    Artyom
    Participant

    I have user id – $cur_user_id = the_author_meta(‘ID’). How i can to show users buddypress fields (name, surname, about me, facebook link, instagram link) on a single post page (single.php)? This fields was created with buddypress Profile Fields (not a plugin, standart). I need to show post and under them post author fields. Thank you!

    #302382
    mrbluesea
    Participant

    you can edit the fields of custom registration in profile fields. Does this help at all?

    #302368
    Vijay
    Participant

    Please help me know how to setup a custom registration page which should ask for the below fields(if there is an option to profile photo field mandatory):

    -First and last name
    -Email address
    -Phone number
    -Location (city, state)
    -Profile photo

    Website : https://smartprofin.wpengine.com

    Thanks!!

    #302328
    tindere
    Participant

    Hi
    I’m trying open a new tab when clicking on our terms of use – Profile extra registration Field. But when I put in the target=”_blank” on the link and saves it is gone after the save.
    The website is this: https://testlearn.blueworkforce.com/register/
    Is there another way to add a _blank to the here link instead of linking to the same window. The user information will be gone else when you go back to the registration page.

    I have found this https://buddypress.org/support/topic/profile-fields-open-url-in-new-tab-_blank/
    But couldn’t get it to work.

    shanebp
    Moderator

    – Responsive on all devices
    Yes.

    – Users to be able to pay for messaging and/or subscription
    No, requires a membership plugin.

    – User should be able to register, to have public and private profile also public and private photos.
    Register, yes. Profiles are public unless you add custom code. Photos gallery requires custom code or there may be a third-party plugin.

    – Users to be able to edit and add custom fields on their profile page
    Yes.

    – Admin should also be able to edit those fields/profile pages
    Yes.

    – Users to be able to filter search results, based on those fields
    Yes, by using the BP Profile Search plugin

    – IP Geo detection function? Showing users in your area?
    No. Requires custom coding or perhaps a third-party plugin.

    – Multilanguage support.
    Yes.

    – Are gifts or badges also available/active, which are to be given on a subscription or user rank basis?
    No, maybe a third-party plugin.

    – Any performance issues? Browsing experience should be smooth.
    Depends on your hosting resources and the number of active users.

    knigolubtomov123
    Participant

    Hi There,

    I am looking for a CMS template to build a simple social/dating website. I was wondering if BuddyPress supports the following features/functionalities:
    – Responsive on all devices
    – Users to be able to pay for messaging and/or subscription
    – User should be able to register, to have public and private profile also public and private photos.
    – Users to be able to edit and add custom fields on their profile page
    – Admin should also be able to edit those fields/profile pages
    – Users to be able to filter search results, based on those fields
    – IP Geo detection function? Showing users in your area?
    – Multilanguage support.
    – Are gifts or badges also available/active, which are to be given on a subscription or user rank basis?
    – Any performance issues? Browsing experience should be smooth.
    Thank you so much in advance.
    I am open to suggestions, if you think that this particular CMS is not appropriate for this.

    #302281
    jamescushing
    Participant

    Having updated today to WordPress 5.0.3 (and running BuddyPress 4.1.0) textarea fields (e.g. in the registration form) no longer show the TinyMCE editor. This is because with Gutenberg enabled wp_editor() doesn’t work, which is what the textarea field type uses:

    /wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php:90-118

    
    /**
    * Filters the arguments passed to <code>wp_editor()</code> in richtext xprofile fields.
    *
    * @since 2.4.0
    *
    * @param array $args {
    *     Array of optional arguments. See <code>wp_editor()</code>.
    *     @type bool $teeny         Whether to use the teeny version of TinyMCE. Default true.	 *     @type bool $media_buttons Whether to show media buttons. Default false.
    *     @type bool $quicktags     Whether to show the quicktags buttons. Default true.
    *     @type int  $textarea_rows Number of rows to display in the editor. Defaults to 1 in the
    *                               'admin' context, and 10 in the 'edit' context.
    * }
    * @param string $context The display context. 'edit' when the markup is intended for the
    *                        profile edit screen, 'admin' when intended for the Profile Fields
    *                        Dashboard panel.
    */
    $editor_args = apply_filters( 'bp_xprofile_field_type_textarea_editor_args', array(
    	'teeny'         => true,
    	'media_buttons' => false,
    	'quicktags'     => true,
    	'textarea_rows' => 10,
    ), 'edit' );
    
    wp_editor(
    	bp_get_the_profile_field_edit_value(),
    	bp_get_the_profile_field_input_name(),
    	$editor_args
    );
    

    The console shows the error “Uncaught ReferenceError: tinymce is not defined” which is apparently located in the tinyMCEPreInit script definition at the foot of the page.

    Any ideas?

    Thanks

    #302171
    sedmikraska
    Participant

    I want all profile fields to be visible on my site. So I want to remove the subnav Settings > Profile Visibility.

    I have added below command into bp-custom.php but it does not work.

    function bpfr_hide_visibility_tab() {
    if( bp_is_active( ‘xprofile’ ) )

    bp_core_remove_subnav_item( ‘settings’, ‘profile’ );

    }
    add_action( ‘bp_ready’, ‘bpfr_hide_visibility_tab’ );

    Something has changed probably because the conversation I found about this issue is two years old.

    Could you please let me know updated command that I have to use ?

    WordPress: 5.0.3–sk_SK
    BuddyPress: 4.1.0
    mamatwist.com

    Thank you,
    Dana

    #302161
    webusat
    Participant

    Hi,

    I am trying to place information from certain profile fields in the sidebar whenever a persons profile is displayed. I think I also want to to stay there in the sidebar as long as a user is viewing that profile. Anyhow, I can get it to display and work like that except for the formatting. No matter how the users fills in that data using the WYSIWYG editor it all runs together. Here is the code I am using:

    $profile = bp_get_profile_field_data('city partners');
    
    if ( !empty($data) && strlen($data) > 0 ) {
      echo "<h4>City Resources</h4>";
      echo $profile;
    }

    It displays all together like this:
    City Hall Ut et dui pulvinar diam suscipit cursus. Nulla est tellus, rutrum non euismod nec, rutrum et ligula. Etiam eget nunc congue, convallis dolor eget, volutpat arcu. Sed velit tellus, pretium eu ante eu, auctor laoreet sapien. Gramercy Park Suspendisse sollicitudin tempus mauris, quis sollicitudin nisi euismod ac. Sed sit amet tincidunt nibh. Aenean non magna mauris. Link here

    or if a single line it all just runs together. In the body of the profile page it looks like it does in the editor and how it should with the formatting:
    City Hall

    Ut et dui pulvinar diam suscipit cursus. Nulla est tellus, rutrum non euismod nec, rutrum et ligula. Etiam eget nunc congue, convallis dolor eget, volutpat arcu. Sed velit tellus, pretium eu ante eu, auctor laoreet sapien.

    Gramercy Park

    Suspendisse sollicitudin tempus mauris, quis sollicitudin nisi euismod ac. Sed sit amet tincidunt nibh. Aenean non magna mauris. Link here

    ———-

    All nice and neat which is how I want it. How can I keep the formatting, spacing, line breaks, etc.?

    Thanks,
    Stan

    I am running the BuddyPress 4.1.0 and WP 4.4.9.

    Zekinah Lecaros
    Participant

    Using Buddy press I can only adds some of my custom fields under Profile Details but on my situation. how can I add new custom fields under the Account Details ??

    Modifying Resgistration Form
    Wordpress Part Registration Field

    Advance thank you for the your help

    #302122
    gcrea
    Participant

    What code do I write to display the base profile fields tab, or all of the tabs for that matter?

    #302113
    Wushan TCM
    Participant

    No, that didnt worked.
    Ok like this: I added next to the primary, a new field called Profile fields: You can find it here: https://wushantcm.com/members/timvukan/profile/
    In the backend I added to the field group:
    -My Name:
    -Profession
    -Working Experience
    but, only the field
    -Profession is visuable in the frontend on the profile page

Viewing 25 results - 526 through 550 (of 5,755 total)
Skip to toolbar