Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 226 through 250 (of 4,122 total)
  • Author
    Search Results
  • lilipilon
    Participant

    Hello,

    I have buddyforms and Buddypress and the extended profile.

    When I want to modify the profile on front-end :
    – if I am admin ==> I can modify all fields
    – If am the member ==> I have a blank page on modify

    So, I would like to know how to display the fields when the member connect please ?

    Is this link to user role ? To an another extension ?

    #316702
    Rockyuk
    Participant

    Hi Everyone,
    Under user profiles, if they want to export there data how can I filter/hide listing all plugins from being listed please? I would like to to show only specific fields even though it still exports the other data I just don’t want it listing all the plugins associated with he site.

    Thanks

    Rockyuk

    lilipilon
    Participant

    Hello,

    I try since 2 days to customize informations on the members pages ==> lilisoumise.fr/membrs

    I find a topic said that I must go on members-loop.php

    I add a custom field on the extended profile : Statut. I try to display on the member pages to add where the file said to me. but it doesn’t work. Do you know why ?

    <?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( 'Custom field name' );
    				  */
    
    bp_member_profile_data( 'Statut' );
    
    				?>
    kame84sennin
    Participant

    Hello,

    i have this error when i want to edit extended profiles fields. Impossible to know what is blocking.

    Sorry, you do not have permission to access this page.

    Thx for your help

    Bonjour,

    j’ai cette erreur quand je veux modifier les champs de profils étendus. Impossible de savoir ce qui bloque.

    #316581
    lilipilon
    Participant

    Hello,

    I have the buddy form and the buddypress.
    On the buddyform, I add checkboxes and values

    When I validate my form, the checkboxes are not saved on the profile on the correspondinf field.

    I have no problem with the other fields.

    petertucker
    Participant

    Here is the solution for anyone who is going to see this post in the future.

    1. Install the username change plugin:
    https://buddydev.com/plugins/bp-username-changer/
    2. Add to the plugins code (bp-change-username.php) on line 163;

    
    xprofile_set_field_data(1, $user_id,  $new_user_name);
    

    3. In your theme function.php file add the follow code to hide XProfile editing:

    
    function bpfr_hide_profile_field_group( $retval ) {
            if ( bp_is_active( 'xprofile' ) ) :     
    
            // hide profile group/field to all except admin 
            if ( !is_super_admin() ) {
                    //exlude fields, separated by comma
                    $retval['exclude_fields'] = '1';  
                    //exlude groups, separated by comma
                    //$retval['exclude_groups'] = '1';
            } 
            return $retval;         
    
            endif;
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );
    

    I hope this helps anyone who finds it.

    #316451
    tonygao
    Participant

    Is there a hook or filter that I can use when edit xprofile fields, so I can remove all short code when edit xprofile fields?

    tonygao
    Participant

    I want to add shortcode to xprofile fields, but when I edit the field, the shortcode in it will be rendered. How to see the original shortcode when edit it, how to solve that problem? Thanks!

    #316420

    In reply to: Mega menu for members

    clickallco
    Participant

    Sure it’s possible – but you’d have to code it yourself… 🙂 But to help you a bit:

    Make the profile fields you want to have checked first, on where your members are located.

    Otherwise, I think Buddypress has the possibility to loop through the xprofile fields – so something like this to gather your names for the mega menu (This is untested, so test it first before putting it on a production site)

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
        <?php if ( bp_field_has_data() ) : ?>
            <?php if (bp_the_profile_field_name() == 'YOURFIELDNAME') && bp_the_profile_field_value() == 'checked'){
    	//do something
        	}?>
         <?php endif; ?>
    <?php endwhile; ?>

    Gl

    #316166
    trapsen
    Participant

    Hi there,

    Is there a description for the Member Types function somewhere?
    Is it possible to create this as a profile field so that a user can select the member type when registering?

    Thank you & best regards
    Adrian

    #315857
    Mathieu Viet
    Moderator

    Hi,

    You just need to create a group of profile fields from the WP Admin > Users > Profile Fields screen and attach your profile fields to it. Here’s the reply I gave you when you pinged me on Twitter 😉

    Thanks for using BuddyPress <3

    dotMastaz
    Participant

    Question en UK et FR :

    Hi,

    Users will create a profile and indicate that they are part of a company.
    I could create as many fields as needed for their user profile as well as their Company …
    Ok, but I’m going to have quite a few people working for the same company.
    When a 1st user creates his file and that of his (of) company.
    How do you ensure that the following can associate the data of this company with their profile?

    I would really like there to be a company tab with the data of a company that the user is chosen …

    An idea ?
    Thank you !!

    Bonjour,

    Des utilisateurs vont créer un profil et indiqué qu’ils font partis d’une entreprise.
    Je pourrais créer autant de champ qu’il faut pour leur profile utilisateur ainsi qu’à leur Entreprise…
    Ok, mais je vais avoir pas mal de personne travaillant pour une même entreprise.
    Quand un 1èr utilisateur créée sa fiche et celle de son (d’une) entreprise.
    Comment faire pour que le suivant puisse associer les données de cette entreprise à son profil ?

    J’aimerai vraiment qu’il y ait un tab entreprise avec les données d’une entreprise que l’utilisateur est choisie…

    Une idée ?

    Merci à vous !

    #315620
    ireallyneedhelp
    Participant

    I have a site, and one of my custom profile fields is a checkbox list. There are at least 30 options, so how can I make those options in columns on the register page, otherwise it just goes on forever. Thanks!

    #315586
    Hustl
    Participant

    I have created extended profile fields for my members, that I use for filtering search results. Each member has a role that can be either: ‘Mentor’, ‘Mentee’, ‘Mentor and Mentee’, ‘Not in the mentor program’.

    If the role ‘Mentor’ or ‘Mentee’ is selected the members with the role ‘Mentor and Mentee’ should also be shown, is this possible?

    Buddypress Version 6.3.0
    Wordpress Version 5.5.3

    Link to websites search page: https://danwise.org/members/womens-network/

    #315406

    In reply to: Member area

    iamthewebb
    Participant

    You may find it easier to search for each of the things you are attempting to do individually, if you are referring to profile fields that the user fills in these are under the user settings.
    For things like showing a rank you are probably looking for a gamification or similar plugin which will add features like this.

    Hope this helps.

    sx1001
    Participant

    Hi there,

    similarly to this old thread with unfortunately no reply:
    https://buddypress.org/support/topic/adding-a-tag-field-to-extended-profile/

    I want to extend profiles with custom fields / tags.
    E.g., let’s say a profile-field “Skills”, where someone can enter Tags from a predefined superset list of Skills, e.g. “Cooking”, “Coding”, “Sewing”, etc…

    I want to be able to filter profiles later on, because I’m building a local community where ppl can contribute with their skills and one should be able to able to find a lawyer, in case there’s one in the community.

    Is there a plugin to do so?
    Thanks!

    vsapountzis
    Participant

    Hi,

    I am experiencing an issue with the default “Profile Fields” of BP. Specifically, I noticed that the table containing these details is not responsive on mobile devices. The theme I am using is storefront.

    For example, check the link below:
    https://1businessworld.com/pro/stelios-hatzakis/profile/

    The Professional Profile table is not responsive on mobile.

    Any ideas?

    Thanks!

    #315210
    aglig
    Participant

    Hello there 🙂

    I’m using the plug in “Import and export users and customers”
    And it does a great job.

    I wab able to create all the extra fields I do need within BuddyPress.
    And, automatically, send an email to each user.

    BUT :
    Like you can see here, the email field is not displaying :
    https://prnt.sc/v3jzpf
    But if I clik over “Modifier” (modify), the email field is empty :
    https://prnt.sc/v3k0lu

    On my import, I do have an email for each user (and each user did receive a message on their Email for information).

    Do you have any idea ?

    Greeting 🙂

    #315209
    peacefulwarri0r
    Participant

    Hi,

    im a bit lost. I try to display all Profile Fields when the visibility level is public.
    The best would be to just display all of the social media group which are marked as public.

    But, I found no solution for receiving the name by id. So my solution at the moment works, but seems to be a bit static and complicated.

     $user_visibility_levels = bp_xprofile_get_fields_by_visibility_levels($post->post_author, 'public');
      $soc_instagram = xprofile_get_field_data('Instagram', $post->post_author);
      $id_instagram = xprofile_get_field_id_from_name('Instagram');
      $soc_website = xprofile_get_field_data('Webseite', $post->post_author); 
      $id_website = xprofile_get_field_id_from_name('Webseite');
    
       if(in_array($id_instagram, $user_visibility_levels)){
             echo "<td>Instagram</td><td>$soc_instagram</td>";
       }
       if(in_array($id_website, $user_visibility_levels)){
             echo "<td>Webseite</td><td>$soc_website</td>";
       }
    

    It would be a dream to receiving fieldname, fieldvalue of a user filtered by the level. Is there any way? Or how I can improve the code above?

    Thanks!

    #315105
    hospitalitydefender
    Participant

    This is an amazing plugin! I have a quick question that hopefully can be solved by some plugin or some code…

    I have a site where the user will need to upload a document within 30 days of registration or their profile will be deactivated. I’m using custom profile fields. It doesn’t even need to be during sign-up; maybe there can be a spot in their profile to upload the doc. Is there any way to make that happen?

    Thank you!

    #314927
    ma3ry
    Participant

    Can anyone tell me how to convert DOB to Age without using the bp xprofile fields plugin.

    I have found several snippets to add to functions.php but none work for me.

    Thank you.

    #313862
    Rajyaseva Academy
    Participant

    my Website : http://www.rajyaseva.com

    i have registration link in menu which leads to http://www.rajyaseva.com/register/

    the page opens very properly but afte user fills up the form and clicks on register butten.

    the massage popps up saying there has been critical error on your website.

    buddypress version 6.3.0

    Note that user gets registered on website but the extendend profile fields that he filled up while registering are not recorded and they apear blank upon login.

    #313828
    VibeThemes
    Participant

    It is possible but not recommended. BuddyPress already has member profile fields. You should use that and it is internally supporpted by buddypress, just make sure you enable the “auto-link” in the profile field while editing the profile field.

    If you are open on exploring, the WPLMS theme has members directories built on react and they are well connected with BuddyPress profile fields, example : https://demos.wplms.io/members-directory/

    #313801
    judymacmahon
    Participant

    Hi this all started when I couldn’t upload a member profile image – the upload link wouldn’t open.
    I contacted the 3rd party developer -I’ve deleted a plugin that was no longer supported and replaced it with a Buddy Press replacement: https://wordpress.org/plugins/bp-xprofile-custom-field-types/

    This is the error I’m getting and it’s causing an ERROR RENDERING FILE.
    Pagely my server have reinstated access to the dashboard and deactivated the plugin.

    ***here is the error info from them:
    —–
    “Hey Judy,

    The buddypress-xprofile-custom-fields-type plugin was reporting the following php error:

    [14-Sep-2020 07:42:15 UTC] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /dom6056/wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php:155
    Stack trace:
    #0 /wordpress-5.5.1/wp-includes/class-wp-hook.php(287): Bxcft_Plugin->admin_init(”)
    #1 /wordpress-5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /wordpress-5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /wordpress-5.5.1/wp-admin/admin.php(175): do_action(‘admin_init’)
    #4 /wordpress-5.5.1/wp-admin/index.php(10): require_once(‘/wordpress-5.5….’)
    #5 {main}
    thrown in /dom6056/wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php on line 155

    I went ahead and commented out line 155 of the plugin file wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php

    //$notices[] = __(‘BuddyPress Xprofile Custom Fields Type plugin needs <b>BuddyPress 2.5</b>, please install or upgrade BuddyPress.’, ‘bxcft’);
    This seems to allow the dashboard to load but you will want to get in touch with the plugin developer for any additional information or consider looking into replacing the plugin.”

    ——

    I’d like to attach a screenshot of the relevant plugins but can’t see how to do that???

    Thanks
    Judy

    #313736
    amtenbrink
    Participant

    Hi,

    i’m trying to display the extra profile fields data (i created) in my profile page to my friends profiles overview.
    i already displayed it on the members page overview (with a snippet of code from the support forum).

    here are two pictures to make it more clear:

    Profile data on members page:
    https://intranet.cabeje.han-solo.net/all-members-page.jpg

    Missing Data on friends members page in my profile:
    https://intranet.cabeje.han-solo.net/my-freinds.jpg

    This is the code i used for displaying it on members page (stored in bp-custom.php):

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

    if ( $membertel = xprofile_get_field_data( ‘telefon’, bp_get_member_user_id() ) ) :
    echo ‘<div class=”telefon”>’;
    echo “Telefon: ” . $membertel;
    echo ‘</div>’;
    endif;

    if ( $membermobil = xprofile_get_field_data( ‘mobil’, bp_get_member_user_id() ) ) :
    echo ‘<div class=”mobil”>’;
    echo “Mobil: ” . $membertel;
    echo ‘</div>’;
    endif;

    if ( $memberfb = xprofile_get_field_data( ‘fachbereich’, bp_get_member_user_id() ) ) :
    echo ‘<div class=”fachbereich”>’;
    echo “Fachbereich: ” . $membermobil;
    echo ‘</div>’;
    endif;

    if ( $membereinrichtung = xprofile_get_field_data( ‘einrichtung’, bp_get_member_user_id() ) ) :
    echo ‘<div class=”einrichtung”>’;
    echo “Einrichtung: ” . $membereinrichtung;
    echo ‘</div>’;
    endif;

    if ( $memberbegleitende_dienste = xprofile_get_field_data( ‘begleitende_dienste’, bp_get_member_user_id() ) ) :
    echo ‘<div class=”begleitende_dienste”>’;
    echo “Begleitende Dienste: ” . $memberbegleitende_dienste;
    echo ‘</div>’;
    endif;

    }
    add_filter ( ‘bp_directory_members_item’, ‘my_directory’ );

    Any Help would be great…
    Thanks!

Viewing 25 results - 226 through 250 (of 4,122 total)
Skip to toolbar