Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 476 through 500 (of 3,892 total)
  • Author
    Search Results
  • #279267
    farisblogger
    Participant

    Hi. My question is how to remove account details in registration page? I want use details registration on profile fields only.

    Wordpress: Version 4.9.8
    BuddyPress: Version 3.2.0

    The website is for my client. Thanks.

    #279250
    amkh
    Participant

    I am worried about the strange problem I am facing when user registers. My registration page contains three profile fields from “Base” called Base name, gender, DOB and name.

    I noticed frequently users get successfully registered with no update to any of the above mentioned fields. These fields are defined “Required”. I am worried how these fields are not getting updated in database because the registration will not be allowed unless user enters these fields. Is this a bug in buddypress? Or what else otherwise?

    #278930

    In reply to: members csv

    shanebp
    Moderator

    If that plugin creates WP users, then BuddyPress will find all 200 members.
    And:

    • You will need to create BP profile fields and data for all those members
    • You could write a custom script to do that
    • You do not need to export / import a .csv
    #278871
    slash75
    Participant

    I have 2 questions regarding BuddyPress profile fields.

    1. is it possible to remove the required name field? I want to remove this and add First and Last name as 2 separate fields instead.

    2. I have a field set as Phone Number type but I am able to put anything into the field. It does not validate as a phone number. How do change this so users can only put #’s in this format: (area) xxx-xxxx?

    Prashant Singh
    Participant

    Yes, it is valid for legacy template.

    Also in place of #input you have to use (.profile-edit #field_number).

    ‘field_number’ represents fields like field_1, field_2 so you have to just replace field_number with real field id. You can find it in inspection like this: https://prnt.sc/l61ajf

    amkh
    Participant

    Is it possible to block certain words / characters in the Profile edit boxes of text fields or multiline text fields?

    Also is it possible that if someone enter such values then the administrator should be notified?

    The word / characters that I do not want people to insert are : @, dot , any numerals,

    #278556
    Anonymous User 16484011
    Inactive

    Hi !

    Is it possible to create QR code of user’s profile’s some of fields. like Name, Email and Phone. And when in some form when this Name, Email and Phone fields asks to fill than scan QR code and its fill automatically.

    Thanks

    #278546
    Prashant Singh
    Participant

    You can add profile fields for them and name them on social media accounts like Facebook Twitter and all then members will see them on their profile.

    Thanks

    #278519
    John
    Participant

    I have taken on development of a site which currently uses buddypress 2.9.4, although really only uses the members profile functionality, so no groups, activity streams, notifications, friendships, private messaging etc.

    In truth, I don’t think the BP was the right choice for the site but it’s so baked into the site now that changing to something different just isn’t an option.

    I’m currently in the process of developing a new theme for the site and so now would be a good time to upgrade from 2.9.4 to 3.2 (current latest).

    The only add-on plugin for BP on the site is BuddyPress Xprofile Custom Fields Type, for which I see development has now ceased but that there is a replacement for.

    Is there anything that I should be aware of, gotchas etc, in making the upgrade? I’m quite wary of making the upgrades as the existing codebase isn’t mine and I am new to BP development, although a very experienced WP dev.

    I’ve read the release notes and nothing leaps out at me as being a massive problem but I am anticipating some, deprecated functions being one.

    So, any general or specific advice from others who have gone through the upgrade would be appreciated!

    Thanks,

    John

    Bit Boy
    Participant

    In that case, you can put it in your bp-custom.php or your theme/child theme’s functions.php

    
    /**
     * Start buffering the visibility template.
     */
    function bitboy_start_buffering_visibility_template() {
    	ob_start();
    }
    add_action( 'bp_custom_profile_edit_fields_pre_visibility', 'bitboy_start_buffering_visibility_template', -1 );
    
    /**
     * End buffer and discard.
     */
    function bitboy_end_buffering_visibility_template() {
    	ob_end_clean();
    }
    add_action( 'bp_custom_profile_edit_fields', 'bitboy_end_buffering_visibility_template', 1000 );
    
    

    It will remove the visibility options completely.

    Best Regards
    B

    amkh
    Participant

    I have hidden the “Who can see this field?” from buddypress profile fields and registration page. But I notice whenever the registration page loads/refreshes and also profile, this field keeps keeps appearing for few seconds. Is there a way to completely disable this field appearing?

    #278414
    Prashant Singh
    Participant

    Hi,

    I found that those links are generated from the plugin Custom Profile Filters For BuddyPress and it only works on profile. So to get the same data with the link on members-loop.php we need to print fields like this:

    $data = bp_get_member_profile_data( 'field=Expertise' ); 
    echo '<a href="' . bp_get_members_directory_permalink() . '?s='.$data.'">'.$data.'</a>';

    Hopefully, this will help you.

    Thanks

    #278358
    israel4lincelot
    Participant

    Hi Prashant, I should have maybe started with listing following information:

    1. Which version of WordPress are you running?
    WordPress 4.9.8

    2. Did you install WordPress as a directory or subdomain install?
    Subdomain

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    I installed the latest.

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes

    6. Which version of BP are you running?
    Latest Version 3.2.0

    7. Did you upgraded from a previous version of BP? If so, from which version?
    No

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    BuddyDrive, Custom Profile Filters for BuddyPress, Gravity Forms, K Elements, Really Simple SSL, rtMedia for WordPress, BuddyPress and bbPress, Slider Revolution, What The File,
    WPBakery Page Builder

    9. Are you using the standard WordPress theme or customized theme?
    Customized.

    10. Which theme do you use ?
    Kleo Theme from seventhqueen

    11. Have you modified the core files in any way?
    Yes I have, but always in the child-theme.

    12. Do you have any custom functions in bp-custom.php?
    Yes
    <?php
    // hacks and mods will go here
    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    ?>

    15. Which company provides your hosting?
    Compbell

    So to answer your other questions, I added a new Profile Field with checkboxes. Indeed you have to select it and that’s why I can’t just wrap it in an anchor tag because I need the fields to be clickable separately.

    In Profile fields the Expertises are individually links. In my Members page all the Expertises ar put in a Paragraph. But I’d like them to be individual links such as in Profile page.

    See Screencast here: https://screencast-o-matic.com/watch/cF6QiCYqw6

    Thx!

    #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.

    amkh
    Participant

    Please help me with the code to show different profile field groups in Tabs. When the member edits his profile containing multiple profile groups then I wan the profile fields groups to arranged in Tabs.

    amkh
    Participant

    Hi,

    Can anyone please help me with this. I do not want members to modify the registration details once after they have registered. Hence I have hidden the first group (group 1) in Profile > Edit. But I noticed that whenever the member edits his profile to update fields in other profile groups then by default he lands into group 1 which is empty in my case. Can anyone help me to change the default landing page to group 2 instead?

    #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

    Anonymous User 16484011
    Inactive

    How to add separate user role’s all users list in drop down menu of custom add profile field of Buddy Press ?

    For example I have three types of roles. Admin,Doctor,Patient. I built Patient registration form. In this form I add the field using Buddy Press plugin’s sub menu as using below steps…

    First I go to Users->Profile Fields->Add New Field->
    Here in Name I add a name of field label “Assigned to”
    Under the Type I select “Drop Down”
    Now I stuck. I want here I need users list of my all users whose role is Doctor. In another words I want here my sites all registered Doctors list.

    Is anyone have an idea to do this ?

    Regards and Thanks in Advance

    #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

Viewing 25 results - 476 through 500 (of 3,892 total)
Skip to toolbar