Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 701 through 725 (of 3,880 total)
  • Author
    Search Results
  • #268147

    In reply to: Contact user

    xmginc
    Participant

    @flashvilla, hope this helps:

    I’m using Gravity Forms to display a contact form on each member profile page and dynamically populating a hidden field with the member’s email address.

    Here’s info on dynamically populating a field in GF

    Their example:

    add_filter( 'gform_field_value_your_parameter', 'my_custom_population_function' );
    function my_custom_population_function( $value ) {
        return 'boom!';
    }

    I have changed this to:

    add_filter('gform_field_value_bp_member_email', 'bp_member_email');
    function bp_member_email($value){
      return bp_get_displayed_user_email();
    }

    In Gravityforms, I have then created a hidden field and in the advanced tab of that field, checked “Allow field to be populated dynamically” and entered the “Parameter Name:” as “bp_member_email”

    Then, in the notifications, the “Send to Email” should be changed from a standard email to a Gravityform tag. You can get that by clicking the little arrow key beside many fields such as “From Name” box. Find the name of your hidden field and click that. It should give you something like this: {BP Member Email:7} where “BP Member Email” is the name I gave the hidden field – yours will be whatever you named it.

    You’ll also need to embed the form to your child theme: /themes/yourchildtheme/buddypress/members/single/home.php

    Details on how to embed into your theme can be found here. Example: (where 1 is the ID of your form and 12 is the starting tabindex)

    <?php gravity_form(1, false, false, false, '', true, 12); ?>

    If this worked, you can view the source code of the member page and you’ll see the member’s email as an input value in the hidden field.

    Hope this helps!

    Please note: if you can’t have the person’s email displayed publicly in the source code for privacy (even though it’s not visible on the site), you will need an alternative method. Members on my site all have their emails visible so it’s not an issue for me.

    andarnewp
    Participant

    I’m using the BP Registration plugin to handle signups to my clan’s website.

    However, the only way that I know of to see additional profile info (.e.g Steam Profile URL) is by clicking onto the registered users profile link, then viewing the tabs on the actual profile pages.

    I’m wondering if there’s a way to have a way to view certain fields on the Member Requests page?

    BP Reg

    #268087
    xmginc
    Participant

    Note some steps could be missing here but hope this helps with the general direction 🙂

    1. Look for “Users” in left sidebar of WordPress wp-admin area
    2. Click “Profile Fields” and there should be a box which you might have named “Terms of Use” – NOTE: if you changed the “Name (Primary) (Required)” to your terms of use field, you should change this back as it syncs with the person’s name
    3. Click the blue button “Add New Field” and name it “By registering to ThoseCrazyVegans.net, you agree to the <a href="/terms-of-use/">Terms of Use</a>” (the title accepts HTML at least for now)
    4. Then, choose “Checkboxes” for the “Type” below it and type “Yes, I agree to the terms of use” and don’t check Default Value
    5. You can also choose “requirement” as required
    6. Choose “enforce field visibility”
    7. Then click update

    I use a different method for registering but hope this helps.

    (Sorry having difficulties posting to the forum. Apologies for duplicate replies… Wish there was a way to delete)

    #268075
    xmginc
    Participant

    UPDATE: found possible solution (?) by going into profile fields section in both dashboards and clicking “edit” and “update” for the required name section. This then appears to have reset things. Now the name updates in both Extended Profile tab and the WordPress default Profile tab when making an edit in the member profile page.​

    FYI: I have found several times now that there are strange quirks but I’m sure it is 99% user error (mine) but not everything is straightforward such as this above. To find this method took quite some time trying every standard option and the last was clicking every option over again…

    xmginc
    Participant

    Hello, is there any new and creative ways to sync the data of members and their Extended Profile details to a 2nd non-networked / non-multisite website?

    For example, WPMU’s “WordPress User Sync” is great to sync all of the stock WordPress members – but does not include Extended Profile data.

    Another was syncing the Extended Profile data using “BuddyPress to WordPress Full Sync” to match a custom xprofile “bio” with WP’s stock “description” but this is limited to only WordPress’s available items: first name, last name, description, url, locale – not all of the other custom fields such as social media etc.

    Another has been connecting to the database directly but having difficulty getting xprofile data.

    Aside from going with a Multi-site Networked site, is there any new and creative ways to push xprofile and member details to a 2nd site?

    Thanks so much in advance

    #267962

    Actually, ‘Admin’, ‘Everyone (Admin Editable)’ and ‘Only Me (Admin Editable)’ are not part of BuddyPress and are added by the plugin.

    If you use the plugin and set the field visibility to ‘Only Me (Admin Editable)’ then the field will only be visible to the user and the Admin. You could also use the ‘Admin’ settings to, for example, add notes about the user that the user can’t see.

    The plugin initially sets the admin to be the main admin account, but it gives this code snippet in its FAQs to enable you to set the capability required, so editors can also see the field:

    function custom_profile_fields_visibility() {
          return ‘edit_others_posts’; // Editors
    }
    add_filter( ‘bp_admin_only_profile_fields_cap’, ‘custom_profile_fields_visibility’ );
    #267900
    zo1234
    Participant

    I use the #1 selling wordpress theme Newspaper by tagdiv, and it’s mainly the User Profile & Registration page that can use some tweaking. Also I wish there was a way or easy way to add more user fields to the Member Directory – like a responsive and sortable table format.

    I appreciate the work that is put in to Buddy Press, the versatility of it, and that it’s a free plugin, but I think it is being short-changed by not having a premium version that can make it look ‘prettier’. Not sure who’s in charge of the business operations, but should consider a premium add-on for UI/UX. People really would pay for it. Look at Ultimate Member. Buddy Press has a leg-up on them because you have more scale-ability with all the 3rd party add-ons, better performance, and larger user base.

    I have had to paid a php guy to customize it, but I need more customizations. This is the only plugin stopping my site from blowing up. Do any of you BPers do custom work? I’ll pay for any custom work to get the layout moved around on User Profile (https://ibb.co/gNat1v) + sortable table Member Directory.

    I’d go with Ultimate Member for looks alone, but it slows the crap out of my site and it doesn’t have some of the BP add-ons I want. If Buddy Press looked like UM or BuddyBoss, but kept the drop down menu user section (like Twitter), I’d be your first paying customer.

    #267803
    artempr
    Participant

    Hi. If it still an issue , I d recommend you to look at bp-xprofile-settings.php

    function bp_xprofile_get_settings_fields( $args = '' ) {
      //if u have ome custom user roles  you can simply filter here which groups to hide  
        if(!current_user_can("owner")){
            $query='5,6,4';
        }else{
            $query='1,3,4,5';
        }
    	// Parse the possible arguments.
    	$r = bp_parse_args( $args, array(
    		'user_id'                => bp_displayed_user_id(),
    		'profile_group_id'       => false,
    		'hide_empty_groups'      => false,
    		'hide_empty_fields'      => false,
    		'fetch_fields'           => true,
    		'fetch_field_data'       => false,
    		'fetch_visibility_level' => true,
    		'exclude_groups'         => $query,
    		'exclude_fields'         => false
    	), 'xprofile_get_settings_fields' );
    
    	return bp_has_profile( $r );
    }
    #267760
    Carsten Lund
    Participant

    I am looking at the thread “Adding profile fields to members directory”
    https://buddypress.org/support/topic/adding-profile-fields-to-members-directory/

    You wrote:

    There’s 2 ways of doing this.

    1. You could modify the members-loop template (see the BuddyPress Template Hierarchy for details on how that’s done). See here. You would just add bp_member_profile_data( ‘field=the field name here’ ); to the template.

    2. Add this to your theme’s functions.php file:

    function add_info_to_members_loop() {
    echo bp_get_member_profile_data( ‘field=the field name here’ );
    }
    add_action( ‘bp_directory_members_item’, ‘add_info_to_members_loop’ );

    Which template are you referring to in 1.?
    can both code snippets be placed either in functions.php or bp-custom.php?

    ericgallagher
    Participant

    WordPress 4.8.1 running Newspaper theme.
    BuddyPress Version 2.9.1 |

    I feel like this should be fairly simple but have search the forums for awhile and tried 3 different plugins. Groups-o-matic basically does it, but I need an auto remove option as well.

    Sooo….if a person selects an option in their profile, they would be added to a certain group. If they select a different option, they would be removed from the previous group and added to the new group.

    Any help would be appreciated!

    Try this plugin. It hasn’t been updated for 2 years, but it works perfectly for me.

    BuddyPress Admin Only Profile Fields

    Adds these options to the visibility options: ‘Admin’, ‘Everyone (Admin Editable)’ and ‘Only Me (Admin Editable)’

    Hope that helps

    #267623

    In reply to: Custom Code

    Abdullah Al Mamun
    Participant

    @peter-hamilton Im using BuddyPress Xprofile Custom Fields Type plugin too.

    TxGirl
    Participant

    Right now there are only three options when setting each profile fields Everyone, Only Me, All Members.

    Is there a way to add other visibility options based on the user role (such as admin, editor, contributor, etc..)

    We are using this as a member area on our website for our fire department and some fields such as Emergency Contact info, etc… we only want viewable to say admins and editor NOT all members. Is there a way to add this option in?

    Wordpress 4.8.1
    BuddyPress 2.9.0

    Home

    maion
    Participant

    I’ve created a new group with fields at xProfile but it is only showing the Base Group at the Registration page (it is showing at Edit Profile page).

    How can I fix this?

    Thank you

    #267555
    Carsten Lund
    Participant

    Creating a text box in Users -> Profile Fields, users are only allowed to write text in on single long line.

    Choosing Multi Line Area in the drop down also adds a tool bar which is not appropriate for users.

    How can I achieve a multi line textbox with all the text visible?

    Regards
    Carsten

    #267548
    Carsten Lund
    Participant

    Hi, how is it possible for users to enter an existing profile name in BuddyPress in the ->users ->profile fields -> primary field?

    Why is the user name not unique?

    Regards
    Carsten

    #267455
    udarmo
    Participant

    Do you know if in DB all these fields are one long string?
    I’m looking for same thing, but I want to search by several fields (BP profile search) and I don’t see how it works with it.

    #267371
    r-a-y
    Keymaster

    This only takes effect for other created profile fields, not the “Name” field.

    Try creating a new profile field and then you should be able to access the options you are looking for.

    #267369
    kariellen35
    Participant

    Hello!

    I have been trying to find an answer to this for weeks now… not consistently, just coming back to it again and again. I’ve tried to look up solutions and from what I can tell it seems like something is not set up right. I will post an example of what my administrator settings for profile visibility should be vs what they actually are. Also, I read that someone else had this issue but there was no response to follow up with their inquiry.

    Here are the two images:

    (From “How to Change Buddy Press Profile Field” https://wptavern.com/how-to-change-buddypress-profile-field-visibility-settings)

    Screen shot of what this how-to guide says my edit screen should look like when I go to Users > Profile Fields > Edit Field:

    https://www.mycrewlink.com/wp-content/uploads/2017/08/Screen-shot-1.png

    This is what it looks like when I go to Users > Profile Fields > Edit Field:

    https://www.mycrewlink.com/wp-content/uploads/2017/08/Screen-shot-2.png

    And when I click on edit for the specific field:

    https://www.mycrewlink.com/wp-content/uploads/2017/08/Screen-shot-3.png

    Thank you so much for your time.

    Take care,
    Kari

    edvard1
    Participant

    Hello all forum members. Recently I encountered the need to add here such fields for profiles, including registration of a new account. Record, give an example. There is a single choice field for the country. And there is a plural list with cities. And it is necessary to make so that cities vary depending on a choice of the country. Well, or so that just changed the field. Found at the moment such a plugin: https://buddydev.com/plugins/conditional-profile-fields-for-buddypress/. But for some reason it does not work for me, maybe this problem arises because of my theme. In advance thanks to all responded =)

    #267192

    In reply to: Remove Base

    Aslan Guseinov
    Participant

    Hi, you can rename it.
    Go to Users=>Profile Fields=>Edit Group.

    Shmoo
    Participant

    I don’t have super advanced PHP skills so I made this as a start to show off only 3 profile fields (will be svg icons later) ..when their set of course.

    
    <?php
    	$twitter = bp_get_member_profile_data( 'field=Twitter', bp_get_member_user_id() );
    	$instagram = bp_get_member_profile_data( 'field=Instagram', bp_get_member_user_id() );
    	$website = bp_get_member_profile_data( 'field=Website', bp_get_member_user_id() );
    
    	if ( isset( $twitter, $instagram, $website ) ) {
    
    		echo '<div class="test">';
    
    			if ( isset( $twitter ) ) {
    				echo '<span>'. $twitter .'</span><br>';
    			}
    			if ( isset( $instagram ) ) {
    				echo '<span>'. $instagram .'</span><br>';
    			}
    			if ( isset( $website ) ) {
    				echo '<span>'. $website .'</span><br>';
    			}
    
    		echo '</div>';
    	}
    ?>
    

    I have this feeling, this can be made better or nicer within some sort of loop instead of all those IF statements.

    Usually I use Advanced Custom Fields Pro for those kinda of things because of their detailed Documentation and examples but I thought it would be overkill to use ACF only for 3 simple fields while BuddyPress has this inside the core.

    Thanks.

    #266846
    winstart
    Participant

    whenever i update xprofile fields, the display name changes to email. How can i stop that?

    #266722
    wbcomdesigns
    Participant

    Hi @dave8528

    Please, you can use this plugin…

    Buddypress Xprofile Custom Fields Type

    Hope this will help.

    Thanks.

    #266577
    rikardo85
    Participant

    Hello,

    I’m a newbie to buddypress and have a couple of hopefully simple questions before I implement to a website.

    – How can I allow profiles to be visible to all types of users? I.e users do not have to be logged into see profiles?

    – Can I add repeater fields to the registration form process? If not can I use the advanced custom fields (ACF) plugin?

    Any help much appreciated.

    Thanks

Viewing 25 results - 701 through 725 (of 3,880 total)
Skip to toolbar