Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 801 through 825 (of 5,755 total)
  • Author
    Search Results
  • #270408
    David Cavins
    Keymaster

    Hi there. If I’m understanding correctly, you’re wanting to modify URLs added to profile fields by your users. The profile fields are analyzed for search links and other links here:
    https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-xprofile/bp-xprofile-filters.php#L326

    BP uses the WP function make_clickable() to make links clickable. It doesn’t look like that function is filterable at the moment (there’s a ticket: https://core.trac.wordpress.org/ticket/32787). I guess you could do something using the filter offered on the forum link you reference, but I’m not sure how you’d know which kind of links to modify (it’s not clear from your question what the goal is).

    #270400
    Bert O
    Participant

    I have managed to get profile links to open in a new window thanks to:
    https://buddypress.org/support/topic/profile-fields-open-url-in-new-tab-_blank/

    I know want to know if there is a way to strip the output value of each link by stripping away http or https, whatever the user uses. Or even replace it with a custom label.

    Any tips?

    #270390
    katmacau
    Participant

    Hello. I am using RDP LinkedIn login to allow LinkedIn login. This works and successfully adds creates the login with the users data. However all the data gets added to their basic profile. I need the info that is added their fields to be added to the extended profile. Eg I want to take first name and last name from the basic profile and add it my full name extended profile field.

    The RDP login plugin has filters/hooks which I can use to tap into the signup process. However what I can’t find is the BuddyPress API info that would tell me how to set an extended field via code. I am looking for some kind of function like:

    set_extended_field(‘my_field_name’,$value)

    Does such a function exist? Where can I read more about this? Thanks.

    #270290

    @Onlineplaner BMI/BME plugin can import/export xprofilegroups and xprofilefields.

    #270282
    radair2002
    Participant

    @manishkrag: Hi, do your plugins ex-/import xprofilegroups and xprofilefields or just the standard user fields?

    #270247
    salvagemind
    Participant

    My BuddyPress member profile fields name not displaying it is there but not show may be the color is same or some other problem I am facing right now I am adding xprofile field but all field come with same problem field name is not displaying but the constant are displaying.

    I search I found this https://buddypress.org/support/topic/buddypress-member-profile-fields-not-displaying/ but no luck.

    You can simply register to my website salvagemind.com and go to profile view to see the problem.

    Thanks for any help

    #270131
    leog371
    Participant

    Hmmmmm, well it simply sounds like the rows and columns might not be lining up exactly. Not sure.
    I have worked out many city meta data files the same way for the purpose of importing into WordPress and faced similar issues, it almost always came down to some columns or rows not exactly the same or something like that. I would do an export of your wordpress first and compare the files, if that didn’t get me any closer i might go into php-myadmin in my cpanel and export a copy of the database portion that has all of your users info and compare that to your .net export. I think that table is going to be one of the following : Either “wp_bp_xprofile_fields” or “wp_users”. Maybe if you compare those with your .net export and work them the same in excel it will be easier?
    Not really sure without seeing the files your working with.
    I will do a tutorial on that within the next day or so, lol.

    #270108
    HDcms
    Participant

    HI,

    how to put the checkboxes and radio button horizontally in the profile fields ?
    xxx yyy zzz
    (and not:
    xxx
    yyy
    zzz)

    Thanks

    #270069
    HDcms
    Participant

    Hi,
    How to disable the editor only on the xprofile buddypress multi-line fields ?
    Regards

    Edit each of the profile fields in turn and change the Visibility setting to Enforce field visibility.

    HDcms
    Participant

    Hello,

    how to hide all the buttons that allow to modify the visibility of all the fields of the profile by editing his profile?
    Either by a function or a css but with a generic command because there are many!
    https://screenshots.firefox.com/yC7GS1lY1YGtBjnp/seventhqueen.com
    Regards

    #270030
    fishbrainz
    Participant

    Hello,
    There is code or a plugin to put a icon or picture near avatar to see the gender (male, female, couple) of a membre.

    I managed to display the type with <?php $genre = bp_member_profile_data(‘field=Genre’); ?> in members-loop.php

    But i didn’t succeded with a picture… 🙁
    I use “BuddyPress Xprofile Custom Fields Type” plugin to create fields.

    Thanks and sorry for my bad english 🙂

    #269906
    hypuk
    Participant

    Hi

    I’m using the latest version of Buddypress and WordPress.

    I’m having an issue in deleting the Long Description and Short description profile fields.

    Every time I delete one of them it adds it back.

    I have even renamed them but still it either adds a Long Description or description profile field.

    #269870
    seanbees
    Participant

    I currently used this method first, which wasn’t working for me:

    $bp->bp_nav['settings'] = false;

    Then I used this snippet instead, which happened to work, but unfortunately removed the nav items from my main menu as well instead of just the BuddyPress profile fields:

    function my_remove_em_nav() {
    	global $bp;
          bp_core_remove_nav_item( 'settings' );
    }
    add_action( 'bp_init', 'my_remove_em_nav' );

    Any idea on how to make it so it only removes the items from the profile fields rather than all the nav menus in general?

    maltelol123
    Participant

    Hey folks,

    first of all thank you for this great community plugin! It helped me a lot to realize projects.

    I really need to update my very old BuddyPress installation on a website!.

    The site still uses a very old method to copy template files from BuddyPress into the Theme directory and load them over. I use a custom theme.

    I would like to do a fresh installation of BuddyPress with it’s standard template. Of course with all current database entries, such as activites, members, profile fields – it’d be terrible if they were lost!

    Does a WordPress theme generally need to be made “BuddyPress compatible” in any way?

    I already tried to delete the template files in my WordPress theme directory, but unfortunately the website crashes with a “white screen”.

    WordPress: 4.9.1
    BuddyPress: 2.9.2

    Big thanks for your help and a happy new year!

    Regards
    Malte

    seanbees
    Participant

    I am looking to create custom BuddyPress profile sections. I have the sections created within my BuddyPress menu but it is the individual links I am having issues with. When I go to my menu and type the custom links, I am using something along the lines of

    http:websitelink.com/members/seanb/media/photos

    I tried replacing my name “seanb” with both “%USERNAME%” and “MEMBER_NAME” but neither seem to work. I have done this before but am having some trouble re-figuring it out. I am looking for a general username to use so the link is universal and will go to that specific users photos when visiting their profile page when they click that tab.

    #269844
    leog371
    Participant

    Hey Frank, I guess the best question to ask you after all this is how comfortable are you with digging into or working with html, css and basic php?

    If a pre made theme is what your looking for, how comfortable are you with taking hours and days looking thru theme demos to find your golden pony or at least making child themes or customizing code?

    And then to answer you more specifically to your “How long would it take to develop a theme like the one I described?” , I guess that just depends really. Over the years I have accumulated many libraries of code and theme snippets and I know where everything is in WP/BP core and template files. So for me, A fully custom and dressed out theme might take anywhere from 3 days to 3 weeks if I know exactly what I am working towards at the beginning and have a clear, though out, planned out idea. If I hen peck it or free hand it” like I do from time to time” It may take a day or it might take 8 months, lol.

    As a bit of comfort to your quandary, everything you asked for in your opening inquiry is all ready done for you in BuddyPress “for the most part”. A theme like the one you describe sounds like a 3 day to 1 week job to me. Keep in mind however that with me saying that, things always have a way changing and evolving into monsters, lol.

    So lets break down your theme and see how it look on paper…. He He, my favorite part…

    1. I want users to come to my site, register, and log in…… (Its all ready there) just have to set it up to your liking. It can all be customized quite a bit as well.

    2. I would love to be able to customize the way these pages look!(background image, logo, and content inside them)……… (The logo, background and most of the design items are easy breezy as long as your ok with basic html and css and not looking for flying dragons and wizards shooting lightning bolts across the screen. Alas, even those can be done with css, flash and JS, lol. )

    3. I’m not looking for a full-blown social media site (yet)…….No need to have what you dont want to use. BP has a full host of controls to limit what can be done onsite by users or what is implemented frontend in its settings. WP Dash/settings/buddypress. Select what you want to use. You also have the ability to write functions, and use hooks and actions and filters to limit or build on anything you like.

    4. I want to build a site that where users can log in, create a “blog” excerpt with media …… There are several ways to do this in buddypress, just have to plan it out and test the methods and see what works for you. Mu, Activity and Groups/Forums.

    5. They should also be able to put a location tag on it. ….. it sounds like this is what x-profile fields are good for. Just create your custom location field and add it with a template tag in the loop you want to use it in. They fill out the filed on their profile page and it will display in that loop.

    6. When they post it, the only people I want to see that are the people they added as friends or if they have their profile set to public……BuddyPress frontend “user profile area” has a settings tab, under it are quite a few privacy features, not fully comprehensive in my opinion but there are a few plugins that add on to this and you can code it in as well. either way. Easy task.

    7. And when it shows up on their friend’s news feed it should just show a featured image, title, and the beginning of their text with a like counter….. Easy enough, just write the loop that way, lol. Easy to do.

    8. When their friends click on that post it brings them to the full blog post, not just the featured image. Their friends can favorite the content or comment on it. …..The natural behavior of WP and BP posts so we are good there.

    9. On a users profile, I would like to show their recent posts, and posts they’ve favorited…. Thats what the friends tab shows but you can add custom queries, and stuff and otherwise tear it apart and pick it of the pieces you want and use them in other places to make custom loops and queries and all kinds of goodness, lol. As long as you make sure things are firing in the right places and make sure certain things are in the loops where they belong, No worries.

    10. Site homepage is basically just a file called front-page.php. Copy the page.php from the theme root and then customize the heck out it. Work it up however you like.

    As far as the themes go, I never use premade themes. I do however make full use of the libraries of code I have accumulated, (_s) and bootstrap for a lot of my work. Cheesy I know but hey, it saves me time and money and gives me freedom. I rarely find the need to actually make a complete custom theme or write much in the way of custom code from scratch anymore. And I certainly never purchase any themes. So I am not the best person to ask about themes really. I know that there are tons of themes that do all kinds of stuff available around the web. Just have to give them the litmus test and see if they fit your project.

    Let me know if you have any other questions or what have you. I will be around.

    #269755
    melhergui
    Participant

    Hi @edvard1 it’s not your theme. The plugin is broken since BP 2.9.1.

    I was having problems with multiple checkboxes and made it work like this:

    File: /conditional-profile-fields-for-buddypress/assets/bp-conditional-field.js

    line 114: jQuery.each( $selected, function (index, $el ) {
    to:       jQuery.each( [$selected], function (index, $el ) {

    And…

    lines 350 to 369:

    var parent_div = jq( jq( element ).parents( '.editfield' ).get(0) );
          
            //;find its parent having class edit field
            if ( !match ) {
                //if the condition did not match, reverse visibility condition
                
                if ( visibility == 'show' ) {
                	visibility = 'hide';
                    
                } else {
                	visibility = 'show';
                }    
            }
            
            if ( !visible ) {
                parent_div.show();
            } else {         
                parent_div.hide();
            } 

    To:

    var parent_div = jq( jq( element ).parents( '.editfield' ).get(0) );
            visible = jq(parent_div).is(':visible');
    
            //;find its parent having class edit field
            if ( match ) {
                //if the condition did not match, reverse visibility condition
                if ( !visible ) {
    	            parent_div.show();
    	        } else {         
    	            parent_div.hide();
    	        }  
            }  

    Hope it helps!

    #269661
    karabre1980
    Participant

    Hello I am using Buddypress with Woffice Theme and I have create an Intarnet where can users register. I give them the permission to edit their profile. The problem is that when they want to change something in their profile in Buddypress (for example telephone or Location) in doesn’t accept the update although it is saving normally. When you are going in the overview it has the old data. Can you please help me and tell me whats wrong?? Thank you

    #269613
    krioteh
    Participant

    In BuddyPress there is a built-in mechanism for synchronizing profile fields from WordPress.
    By default, it synchronizes only the “display_name” field, which is not always sufficient.
    Here is an example of the code by which you can synchronize any available fields in the WordPress field with the Buddypress fields

    function xprofile_sync_bp_profile2( &$errors, $update, &$user ) {
    	// Bail if profile syncing is disabled.
    	if ( bp_disable_profile_sync() || ! $update || $errors->get_error_codes() ) {
    		return;
    	}
        // Querying data from a table "usermeta", first we get the value of the custom field "address" and substitute this value for the "Address" field of the xprofile BuddyPress
        $address = get_user_meta( $user->ID, 'address', 'true' );  
    	xprofile_set_field_data( 'Address', $user->ID, $address );
      	//Similarly with other fields
        $firstname = get_user_meta( $user->ID, 'first_name', 'true' );  
    	xprofile_set_field_data( 'Name', $user->ID, $firstname );
      	$lastname = get_user_meta( $user->ID, 'last_name', 'true' );  
    	xprofile_set_field_data( 'Lastname', $user->ID, $lastname );
      	$description = get_user_meta( $user->ID, 'description', 'true' );  
    	xprofile_set_field_data( 'Bio', $user->ID, $description );
      
      	// Querying data from a table "user"
        xprofile_set_field_data( 'E-mail', $user->ID, $user->user_email );
        xprofile_set_field_data( 'Site', $user->ID, $user->user_url );
    }
    add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile2', 10, 3 );

    Unfortunately, the fields are synchronized only when the profile is updated. I do not know how to start mass synchronization 🙁

    I hope someone will find this information useful.

    #269568
    David Cavins
    Keymaster

    Hi there,

    Here’s an example of adding a custom section to the registration form. All you have to do if it’s static is add it and handle the input:
    https://gist.github.com/dcavins/e3e6a702e35d4f9ec8948c920d8b6c03

    You could similarly add other profile fields/field groups on any of the hooks available on the registration page, though I’d use a profile field group loop to output those items.

    jebus
    Participant

    Hi all,

    I’m trying to create a custom reg form with some of the Xprofile fields at the top, followed by the core fields, followed by more Xprofile fields.

    I’ve tried doing this with CSS/relative positioning, but it’s pretty unreliable due to the different elements, visibility fields, etc.

    Has anybody ever created a hard coded reg form, with the Xprofile fields placed in different locations in register.php? It’s not immediately obvious to me how this might be done outside the while loop, but if anybody can point me in the right direction I would be more appreciative.

    Thanks.

    #269539
    David Cavins
    Keymaster

    Hi Marc-

    It sounds like you’re just getting started. Custom fields are part of the extended profile component. Read more about it here:

    User Extended Profiles

    Displaying Extended Profile Fields on Member Profiles

    It is not really possible to show groups with any richness outside of the group page. Your best bet is probably to customize your group templates to show what you want. The template hierarchy will help you:

    Template Hierarchy

    An all-user overview with search and filtering is the members directory available at yoursite.com/members

    #269473
    cbeckley
    Participant

    I am attempting to display some user data on a single page so members of a group can see all of the members within that group’s info without going into each profile. I have successfully displayed 2 custom fields, but cannot display the user’s email address.

    It is a private site, so I cannot link to it. Hopefully this is something minor that I am just missing.

    I have found so many scattered suggestions for this type of thing, but nothing has worked.
    I have tried all of these types with various field names (email, Email, Email address, Account email, etc.) and nothing displays the email address.

    <?php echo bp_member_profile_data(‘field=Email’); ?>

    <?php echo bp_member_profile_data(‘field=Account email’); ?>

    <?php echo xprofile_get_field_data( ‘field=Account email’ ); ?>

    <?php echo get_post_meta(get_the_id(), ‘user_email’, true); ?>

    <?php echo xprofile_get_field_data( ‘user_email’, get_the_author_id()) ?>

    I am updating a copied version in my theme of members.php from /buddypress/members/

    Any ideas would be appreciated. Thanks!

    BP v2.9.2
    WP v4.9.1

    #269472
    ccookasi
    Participant

    I have a (private) corporate intranet that incorporates BuddyPress for Employee Profiles.

    Without giving users the ability to edit their own profiles, I would like the Member Profile Pages to display the Profile Photo, User Name (possibly regardless of “Display Name” choice), User Email, User Description (renamed “Position”), and a link to the local job description page for their position.

    Is it possible to modify the profile fields from wp-profile.php etc. using bp-custom.php and action hooks? Is there a better way to customize the member profile page template?

    Thank you.

Viewing 25 results - 801 through 825 (of 5,755 total)
Skip to toolbar