Skip to:

Search Results for 'profile fields'

Viewing 25 results - 1 through 25 (of 4,220 total)
  • Author
    Search Results
  • Profile photo of danbp

    Any other idea? Yes !
    Use bbP Signature instead. This plugin has a filtrable function where you can easely add custom fields near signature.

    Activate the plugin. Create a field called signature and add this snippet to bp-custom.php

    function my_bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) {
    	// Default arguments
    	$defaults = array(
    		'separator' => '<hr />',
    		'before'    => '<div class="bbp-reply-signature">',
    		'after'     => '</div>'
    	$r = wp_parse_args( $args, $defaults );
    	extract( $r );
    	// Verify topic id, get author id, and potential signature
    	$reply_id  = bbp_get_reply_id       ( $reply_id );
    	$user_id   = bbp_get_reply_author_id( $reply_id );
    	if(function_exists('bp_has_groups')) {
    		$signature = xprofile_get_field_data( 'Signature', $user_id );
    	// here we add our custom fields
    		$wowi = '<br>'. xprofile_get_field_data( 'Industry', $user_id );
    		$wowt = '<br>'. xprofile_get_field_data( 'Type', $user_id );
    	else {
    		$signature = bbp_get_user_signature ( $user_id  );
    	// If signature exists, adjust the content accordingly
    	if ( !empty( $signature ) )
    		$content = $content . $separator . $before . $signature . $wowi . $wowt . $after;
    	return apply_filters( 'my_bbp_reply_content_append_signature', $content, $reply_id, $separator );
    if ( !is_admin() ) {
    	remove_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 );
    	add_filter( 'bbp_get_reply_content', 'my_bbp_reply_content_append_user_signature', 1, 2 );	
    Profile photo of fabwintle

    Hi @danbp,

    I Have this plugin indeed, however what I want to do is automatically populate my signature with existing fields. I don’t believe this plugin achieves that. All it does is adds a ‘signature’ field to the BP x profile field that my member would need to populate themselves.

    Any other idea?

    Profile photo of fabwintle


    I am setting up a community website for non-savvy businesses.
    I would like the forum signature field to be automatically populated with a selection of fields from the user’s BBpress profile and xprofile fields.

    Is this possible? I am weak in PHP but can follow instructions and I am very motivated.


    Profile photo of brightl

    I’m working in a child theme and haven’t been able to figure out how to update custom profile fields progammatically using xprofile_set_field_data(). I’m essentially doing an AJAX post when a custom field is saved, here is my code in the php file I am posting to:

    global $current_user;
    $userId = $current_user->id;
    $field_id = 'field_3';
    $business_name = trim(stripslashes($_POST['businessName']));
    xprofile_set_field_data( $field_id, $userId, $business_name);

    I’m probably setting it up wrong because I get internal server errors when I try to access either the $current_user data or the xprofile_set_field_data() function.

    This php file that I am posting to is required in my child theme’s functions.php file.

    Thanks for your help.

    Profile photo of danbp

    It’s built in automatic search feature.

    To deactivate the whole profile links, add this snippet to bp-custom.php or your child-theme functions.php

    function bpfr_remove_xprofile_links() {
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
    add_action('bp_setup_globals', 'bpfr_remove_xprofile_links'); 

    To remove selectively such profile links, see here.

    Profile photo of Zenimot

    Is there a way to create a BuddyPress user (with multiple profile fields) with a function like wp_create_user?

    I have an Excel/CSV with user data that I need to import into WordPress/BuddyPress. The users have a lot of extra info I need to map to profile fields. I have not found a plugin that can do this, so I’m looking into doing this manually.

    Profile photo of brantb15

    How do I update a profile field from outside of the edit page?
    I want to have a date selector that would be applied to the profile field (and only lasts for a certain amount of time, determined by the date picker as well if it matters)

    Profile photo of minglonaire

    For example first name – steve, for some reason steve is a link to search for steve and so on with all other fields. I am not sure why its set up like that, but I would like to disable it.

    Profile photo of FridaFric

    Can I use WP plugin Countries (Import and manage a list of countries into WordPress site as Custom Post Types) for BP drop down box in Profile fields and how?

    Profile photo of cindustry

    Looking for a plugin that works like buddypress profile search but can use the s2member custom fields I created to search. I saw AMR Users Pro but not sure its exactly what I want.

    Profile photo of zeesh49


    I am new to wordpress/buddypress. I have windows 7, WP v4.2 and BP v2.2.3.1. I am testing on localhost machine and have also setup a virtual host: buddypress.local:1234/WP

    After activating buddypress (i have set the permalinks to other than default and checked anyone can register), when I try to register, the page just refreshes with all fields filled and the passwords fields reset to empty. How can I fix this? I have the default theme twentyfifteen enabled.

    Further, any ideas on how can I test buddypress features? Do I need a buddypress compatible theme which exposes buddypress features in WP? Or can I use the default twentyfifteen theme to test buddypress features like groups, profile, notifications etc.


    In reply to: Activity link

    Profile photo of Supriya

    Hi @henrywright,
    Like if we go to profile page, it has profile image and profile tabs. In profile tab fields like name, age, activities and in activities we have for example Skiing. When we click on Skiing it searches for the members having same activity Skiing.
    But right now the search displays all members with Skiing and i want to show only the user’s with gender preference.
    like for example this url http://sitename/members/?s=Camping

    Profile photo of eyewebdesign


    I have buddypress installed on a website with at least 4 languages (Dutch, English, German and Thai). U use polylang for my languages. In English and Dutch they are translated automatically, but in Thai and German I get the English profile fields. How come and how to solve it?

    I also can’t find a .po file for the translation of the profile fields and I don’t want to use WPML. Is there a solution?

    Thanks in advance

    Profile photo of ashleyyoung


    I am creating a welcome page that is displayed to the user on first login, this page has various bits of information but I would also like to add some profile fields…

    The page will go something like this….

    Hello [Users Name],

    Intorudction text….

    let’s get started…

    1. Check your name [Buddypress Name Field]

    2. Add your Date of Birth [Buddypress Custom Profile Field]

    3. Upload a profile pictures [Buddypress Upload box]


    Does anyone know how to do this?


    Profile photo of danbp

    hi @utahman1971,

    this is the default behave of extended profile fields. Also it’s very handy, as those links became searcheable keywords. This let users click and find other entered same words.

    That said, a bio is generally more personnal, so those links maybe less important…

    Here’s a snippet (bp 2.0.1 +) you can add to bp-custom.php. It let’s you selectively disable those automated linking from some fields and let some other in place.

    function my_xprofile_filter_link_profile_data( $field_value, $field_type = 'textbox' ) {
        // Access the field you are going to display value.
        global $field;
        // In this array you write the ids of the fields you want to hide the link.
        $excluded_field_ids = array(2,6,7);
        // If the id of this $field is in the array, we return the value only and not the link.
        if (in_array($field->id, $excluded_field_ids))
    	return $field_value;
    	if ( 'datebox' == $field_type )
    	return $field_value;
    	if ( !strpos( $field_value, ',' ) && ( count( explode( ' ', $field_value ) ) > 5 ) )
    	return $field_value;
    	$values = explode( ',', $field_value );
    	if ( !empty( $values ) ) {
    		foreach ( (array) $values as $value ) {
    			$value = trim( $value );
    			// If the value is a URL, skip it and just make it clickable.
    			if ( preg_match( '@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', $value ) ) {
    				$new_values[] = make_clickable( $value );
    				// Is not clickable
    			} else {
    				// More than 5 spaces
    				if ( count( explode( ' ', $value ) ) > 5 ) {
    					$new_values[] = $value;
    					// Less than 5 spaces
    				} else {
    					$search_url   = add_query_arg( array( 's' => urlencode( $value ) ), bp_get_members_directory_permalink() );
    					$new_values[] = '<a href="' . $search_url . '" rel="nofollow">' . $value . '</a>';
    		$values = implode( ', ', $new_values );
    	return $values;
     * We remove the buddypress filter and add our custom filter.
    function remove_xprofile_links() {
        // Remove the old filter.
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
        // Add your custom filter.
        add_filter( 'bp_get_the_profile_field_value', 'my_xprofile_filter_link_profile_data', 9, 2);
    add_action('bp_setup_globals', 'remove_xprofile_links');

    If you want to deactivate completely profile fied links, you can use this function:

    function bpfr_remove_xprofile_links() {
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
    add_action('bp_setup_globals', 'bpfr_remove_xprofile_links'); 
    Profile photo of Michael Bryner
    Michael Bryner

    Links showing

    As shown in image, the links are added by BuddyPress. They are not added by me. Ever since I added the BIO field for profiles, it has done this. I don’t know for sure if that is a bug or what, but when clicking on it, it just takes you to that members page. It looks as if BuddyPress is tagging certain words in the field to link to the user page. If that is what it is meant for, then sorry for this thread. If it isn’t, then this is a bug.

    Not sure where to put this.

    Profile photo of juliantrueflynn

    I had this honeypot working perfect before. Now I made a custom register page and it’s no longer working for no reason. All I did was move the bp-legacy Buddypress to the /buddypress folder to create a child theme for edits. Everything is working besides the honeypot.

    Here’s a link to the code I have in my register page now:

    Buddypress build:
    Buddypress Version 2.1.1
    WordPress 4.0.1
    Using DevDMBootstrap3 theme
    I haven’t edited any core files in WP/BP.

    Here’s the code I used that worked previously:

    // BuddyPress Honeypot
    function add_honeypot() {
        echo '';
    function check_honeypot() {
        if (!empty($_POST['system55'])) {
            global $bp;

    In reply to: Bp register page

    Profile photo of shanebp

    It would be helpful to your question to get some terminology sorted.


    • username aka login name: jayd94
    • display name: Daniel

    In BP, your profile would show:

    So the name on the BP ‘side’ of register = display name
    And the name on the WP ‘side’ of register = username aka login name
    Both fields are required.

    Using that info, can you restate your question.


    Topic: Profile Page

    in forum Your BuddyPress
    Profile photo of polkadotheart

    Any idea why my profile page is looking like this? I would like the website name and website to be in line with the other profile fields. WordPress is latest version. BuddyPress is latest version.


    Profile photo of Emineminero

    Hi, i would like to check if a field is empty or not.
    This would happen when the user Log in.
    Actually i have a Page Template with a piece of code that redirects the person to their profile to edit it, but i would like to detect if the user has the fields completed or not.
    Here is what i’ve been working on, but its not working:

    if (bp_get_profile_field_data(‘field=36’) == ""){ //36 is the id of the field 
    i want to check
    $var1 = bp_loggedin_user_domain();
    $var2 = BP_XPROFILE_SLUG ;
    $var3 = '/edit/group/1';
    $location = $var1.$var2.$var3;
    header("location: $location" );
    <?php else { ?>
    	header("location:" );
    <?php endif; ?>
    Profile photo of bp-help

    Hi Dan @sbrajesh also has a plugin out now that looks to me like it does the same thing as the one in your link and it is also free to download. Cheers!

    Profile photo of danbp

    A user contribution on Github, via Twitter ( @xac )

    Profile photo of arun69268

    i am using buddypres profile field tabs extension to create my register form for a dating site. I created five different tabs for fields but my registration form completes only at primary (base) tab.It is not going on next field tabs which i created next to the primary tabs.

    Is there any solution for this??
    Thanks in advance…

    Profile photo of danbp

    You said first:
    I would like to create a page for user registration and another page for editing the profile with more options.

    This is a resume of how BP already works.
    The registration page can be extended (BP xprofile component) and user can fill out these additionnal fields from within their profile page.

    Please take a look on Codex, before reinventing the wheel.

    Profile photo of mamakobe

    This might be an odd question but I can’t seem to find the answer anywhere, I am building a site that will allow users to join in nested groups upon registration. I am facing multiple issues.
    During registration I’d like the user to do the following
    Choose a “governing body” from a select box
    Depending on the choice the user is presented with another select box that contains options (jurisdictions) from the above governing body
    Then after they choose they are presented with another select box that contains “Entities” in the chosen jurisdiction
    Basically cascading selectboxes

    What I have done so far
    Created Groups and subgroups using
    BP Group Organizer
    BP Group Hierarchy
    Created conditional fields using
    Conditional Profile Fields for BuddyPress
    This works fine with one problem, the conditional functionality lies in the fields visibility therefore showing depending on the option rather than changing its values, this would mean I create hundreds of the same fields with different options.
    Also how would I associate these fields with the groups such that after the user has registered they are automatically part of this groups?

Viewing 25 results - 1 through 25 (of 4,220 total)
Skip to toolbar