Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 451 through 475 (of 3,608 total)
  • Author
    Search Results
  • #278352
    amkh
    Participant

    Additionally I want each “tab” to show “Save and Continue” button. So when the member finishes editing profile fields in Group 2 then once he clicks “Save and Continue” then he should be taken to profile group 3.

    #278299
    Prashant Singh
    Participant
    function ps_hide_profile_edit( $retval ) {	
    	// remove field from edit tab
    	if(  bp_is_user_profile_edit() && !current_user_can('edit_users')) {	
    		$retval['exclude_fields'] = 'field_id'; // ID's separated by comma
    	}	
    	// allow field on register page
    	if ( bp_is_register_page() ) {
    		$retval['include_fields'] = 'field_id'; // ID's separated by comma
    	}		
    	
    	return $retval;	
    }
    add_filter( 'bp_after_has_profile_parse_args', 'ps_hide_profile_edit' );

    Please try this snippet.

    Thanks

    #277182
    Prashant Singh
    Participant

    Hi,

    Please try this plugin https://wordpress.org/plugins/buddypress-admin-only-profile-fields/

    The UI is changed now so you will find the option in visibility drop-down.

    Thanks

    olandir
    Participant

    I have a corporate Intranet running on WordPress 4.9.8 and BuddyPress 3.1.0

    I have specific xprofile fields that I’d like only editable to people who have the “Edit Users” capability.

    I’ve seen snippets of code here or there that almost do what I’m looking for but everything I’ve found is old and out of date.

    Could someone help me with this.

    Basically I need the PHP equivalent of

    If we’re on the edit BuddyPress profile page AND user does not have the “edit users” capability then hide profile fields with X id(s).

    I’d also be happy with specifying a role instead of capability as long as I can specify multiple role ids.

    Thank you in advance.

    #276906
    scott8035
    Participant

    bp_core_screen_signup() does several other things besides creating the user and saving xprofile fields…it does validation, optionally creates a user blog, provides several action hooks, etc. Are you saying it’s just not practical to use it?

    #276902
    scott8035
    Participant

    But I also need to save some xprofile fields programmatically, too. Won’t I eventually have to run bp_core_screen_signup() in order to “fully create” a BP member profile?

    #276890
    Prashant Singh
    Participant

    Hi,

    You just need to create a profile field. Please go to your dashboard and find xprofile fields under ‘Users’ menu and there add a new field and name it About and in field type you can choose multiline text area.

    As soon as it is created you will be able to see it on signup form(register form) and profile itself.

    Thanks

    #276816
    Prashant Singh
    Participant
    #276781
    Prashant Singh
    Participant

    You can go with this plugin https://wordpress.org/plugins/buddypress-admin-only-profile-fields/ to set the visibility to hidden/admin only.

    Thanks

    #276725
    Prashant Singh
    Participant
    #276683
    pavelmititel
    Participant

    Thanks, but isn’t enough..

    Here is beta version for my website: http://beta.onemillionnights.com
    To be more specific:
    I need two members directory, one for free level and one for levels which requires payment with different settings and fields. For example Advisors are displayed on ADVISORS page and they are specific field & settings on profile and CLIENTS are displayed on another page with their’s specific field & settings on profile

    #276651
    Prashant Singh
    Participant

    Hi,

    Please try to use this plugin https://github.com/wbcomdesigns/bp-modify-member-directory-header

    It says that it allows showing profile fields on members directory and profile’s header.

    Thanks

    #276635
    r-a-y
    Keymaster

    Unless you have a database backup from the previous day that you can revert to, then no, it is not recoverable.

    It looks like you have a database backup, the DB tables you would want to revert and replace are “wp_bp_xprofile_fields” and “wp_bp_xprofile_groups”. You would have to contact your web host to figure out how to use your backup.

    The delete confirmation sounds like a good idea though.

    aldorr
    Participant

    You can try placing this in the functions.php of your Child Theme. Though for buddypress you might want to use bp_get_profile_field_data instead of xprofile_get_field_data.
    I’m trying to do something similar, but the fields are not showing up in my email. I have a feeling the email is getting sent before the database is updated, but for the life of me, I can’t get them… Good luck!

    #276591
    Prashant Singh
    Participant

    Hi,

    You can create xprofile fields to save there data and then can search them on the basis of those fields under members directory using this plugin https://wordpress.org/plugins/bp-profile-search/

    Thanks

    #276584
    Prashant Singh
    Participant

    Hi,

    If you are able to retrieve those fields then you can easily show them on members’s profile. You just have to override profile template from Buddypress in your child them then just fetch and echo out these values in proper HTML.

    Thanks

    infantree
    Participant

    Is there a way to add filters to the members listing? Out of the box you can search and sort, but my members would benefit from filtering, as well.

    I have added additional fields for each member to fill out using the Profile Fields in the Users menu (job title, location, etc). I would like for users to be able to see a list of the fields and be able to filter members by the value(s) of those fields. I realize that those fields are searchable in the standard search box, but I would like UI that would make the filtering more easily accessible.

    i.e. – Each member is able to select the county in which they work in their profile. On the member page on the front end, a dropdown (or other UI element) would appear so that the user can select one of the county options. Only members that have selected that county in their profile will appear in the results.

    ajuuls
    Participant

    Nicely done. You do still se an empty area but it’s only a second before redirect. I can live with that.

    When people register they se their username as H1 under their “Profil” (Profile), is it possible to change so the H1 automatic picks the Full name instead? I’ve created one named Fulde Navn (Full name) in Users –> Profile Fields.

    So this new user:
    http://www.legit-check.dk/medlemmer/rasmus94/
    Gets “Rasmus Hansen” as H1 and not his username.

    Like my user:
    http://www.legit-check.dk/medlemmer/legit-check-dk/
    (changed it from WP) but it will take long to change every new registred member -.-

    #276175
    Prashant Singh
    Participant

    Hi,

    If you want to go with the contact form plugin then there is no need to select a registration page in BuddyPress amd have to use shortcode on the page and then create a button on header(as you like) and link it to the register page.

    Now, if you want to save data in xprofile fields then have to do custom coding for sure.

    Thanks

    #276138
    groston
    Participant

    shanebp,

    Thanks for the prompt reply.

    The fields that I see in wp-admin > users > edit are all xprofile fields and I do not know how to add usermeta fields. I did see several plugins that provide this functionality, but I am wondering if suchs plugin would play nice with BP.

    It would be easy enough to directly edit the database in the manner your suggested, but that is not the right way to handle this. Would you please provide a little more guidance?

    #276106
    Prashant Singh
    Participant

    Yes, this is how it works.

    It will need customization to map WordPress fields to BuddyPress xProfile fields.

    You can check this plugin https://profilepress.net/downloads/wordpress-buddypress-extended-profile-sync/ as well.

    Thanks

    #276063
    matthewgrutledge
    Participant

    It won’t let me edit the post: I have fields in the WordPress profiles I’d like to be viewable and editable through the buddypress profile page, but the only way I can see is creating new profile fields which I can’t seem to link to the existing WordPress profile fields. Which means I’d have to manually copy date from the profile to the buddypress profile fields.
    What am I missing?

    #275966
    rebeccadigitalsea
    Participant

    Hello, thank you very much for getting back to me – unfortunately I’m still unable to connect the upload to the action. The site is allowing me to upload an image and it’s registering the upload but then the image just seems to disappear and not update the profile.

    Also, the profile fields redirects to /welcome/profile/edit/group/1 which therefore produces a 404 error.

    Prashant Singh
    Participant

    It will be custom work. You can add this code snippet in your child theme’s functions.php to achieve this:

    add_filter('bp_core_signup_send_validation_email_message','ps_user_data_to_email',10,2);
    function ps_user_data_to_email( $msg, $user_id )
    {
      $user = get_user_by( 'id', $user_id );
      if(!empty($user))
        $data1 =  xprofile_get_field_data('your_first_field_name',$user->ID);
        echo 'Your Profile Field Name'. ' : '.$data1;
        $data2 =  xprofile_get_field_data('your_second_field_name',$user->ID);
        echo 'Your Profile Field Name'. ' : '.$data2;
    }

    You can do this for all the profile fields by just repeating the code to get data3 data4 like I did for data1 data2 and obviously you have to use your profile fields name in place of ‘your_first_field_name’, ‘your_second_field_name’ and ‘Your Profile Field Name’.

    Thanks

    #275917

    In reply to: Profile fields

    Prashant Singh
    Participant

    Please check this plugin https://wordpress.org/plugins/bp-xprofile-custom-field-types/.

    They are already adding profile fields with select2 js support, mentioned in the features as well.

    Thanks

Viewing 25 results - 451 through 475 (of 3,608 total)
Skip to toolbar