Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 426 through 450 (of 3,593 total)
  • Author
    Search Results
  • #282205
    lookingahead
    Participant

    OH guess what…? 😀 Figured it out.

    I have a solution that so, sooo…..SSOOOOOOO many other people have been looking for, and I’m elated to say I’ve found it.

    Been cruising Stack Exchange, various WordPress plugin support threads, installing plugin after plugin, reading blogposts made by developers, comments made by disillusioned masses….I mean, it’s endless.

    But THANK GOD I found a solution!

    So it turns out that the code that BuddyDev mentioned was not to blame for the 500 error I mentioned in my intro. It was actually due to one of the two plugins that is recommended in BuddyDev’s tutorial (and they are now fixing that bug). 🙂

    I figured this out as I tried to reproduce the error while activating plugins in a different sequence.

    The first time I did this, I’d had BuddyPress disabled when I’d installed both plugins. I’d also already put the code mentioned in their tutorial into my bp-custom file. I then activated BuddyPress, and the site failed.

    This time, I had BuddyPress already activated, then installed and activated one of the two plugins BuddyDev recommended to use in the tutorial…and all was well. THEN…I installed the second plugin. And upon clicking ‘Activate’ the site failed again. NOTE: on the second attempt to reproduce the 500 error, I hadn’t put the code from the tutorial into my bp-custom file….

    And according to BuddyDev, even before I tried to reproduce the error, the bp-custom code I was using was sound.

    So when the site failed upon my attempt to reproduce the error, I knew: that plugin was to blame.

    Then, I found out more about that plugin…it is designed to be used for users to have extra fields to fill out upon signup, fields that would show in their Member Profile. And I have Member Profiles disabled. Wa-la!

    I then asked BuddyDev if I needed the plugin that failed…and THANKFULLY they said, ‘no — not needed for what you want to do.’

    WHEW!! 😀

    So, a summary:
    – Use custom code in bp-custom (pasted below)
    – Use one plugin in particular from BuddyDev
    – Do not use another plugin recommended by BuddyDev

    The plugin to DEFINITELY use, that was listed in their tutorial: ‘BuddyPress Member Type Generator’…that affects the ability for Webmasters to set custom member types AND an avatar specific to every custom type created! 😀

    The other plugin that was recommended in that tutorial, that is NOT needed to change user avatars for custom member types…not ever, as it has nothing to do with avatars — it was merely recommended in their tutorial so people could manage user profiles: ‘BP XProfile Member Type Field’

    SO. If you want to have a different default avatar for different member types, then you will need to use the ‘BuddyPress Member Type Generator’ plugin. Not the other one.

    Steps to take:
    1.] Download the ‘BuddyPress Member Type Generator’ plugin from BudyDev

    2.] Read their tutorial (I’ll paste a link below in follow-up comments to this comment)…do everything EXCEPT install the ‘BP XProfile Member Type Field’ plugin — it’s not needed for assigning an avatar via custom member type; it just is recommended in their tutorial to use so you can manage user fields 🙂

    3.] Use the code I’ll also paste below (in the follow-up comments) — modify it to your site’s name but insert your site name where I typed ‘sitenameprivate’…etc.

    4.] For creating more avatars with custom member types in the future, you’ll always have to update that same code in the bp-custom file…via FTP/SFTP; tbh that process is easy as pie once you realize how to do it

    5.] For making your life easier with switching out avatar images for member types without having to re-do the bp-custom file: just save over the image in your media library that is used for that particular member type…so the path is the same and your code won’t need to be changed

    Simple, yet difficult to find.

    Thank GOD FOR BUDDYDEV!!! <3

    #282003
    giannisff
    Participant

    Hello all, i’m happy to be back after a lot of years. The project is… i have 10 xprofiles fields “places i love”. Place1, Place2…. and so on. Is there a way to transfer all of the places to a google map? Then i try a new tab to the user profile named “Places i love” to show the map.
    I have check some plugins with no luck.
    Thank a lot.

    #280876
    Prashant Singh
    Participant

    Hi,

    That is a default profile field and you can not change the visibility of that. But if you will create other profile fields then you will be able to change their visibility easily.

    Thanks

    #279677
    3diuk
    Participant

    Thanks, with your advice I was able to add the fields to the users edit profile page, but I dont see a way of getting the information to appear on their profile page when others view it.

    Can you advise?

    #279666
    Prashant Singh
    Participant
    #279456

    In reply to: members page

    Venutius
    Moderator

    One option would be to take a look at BP Profile Search with this you should be able to specify which fields get searched.

    #279275
    tsortore
    Participant

    Here is my theme and a list of plugins, most of which came with the premium theme. There have been no complaints I’ve found of the groups not working “out-of-the-box” with this theme.

    *** These were the only plugins that did NOT come with the theme.

    Theme: WOffice
    Active Plugins:

    • Akismet Anti-spam
    • All in one WP Migration
    • BP xProfile Location ***
    • BuddyPress
    • Buddypress Xprofile Fields Custom Css Classes ***
    • DP Pro Event Calendar
    • Eonet Live Notifications
    • File Away
    • GamiPress
    • LocateAnything ***
    • Slider Revolution
    • Unyson
    • User Role Editor ***(suggested and tested compatible plugin)
    • Wise Chat
    • WP ERP
    • WP ERP – PDF Invoice
    • WP Bakery Page Builder

    Still no luck getting group creation working.

    Thanks for your response! Any ideas?

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

    #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

    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

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

    #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

Viewing 25 results - 426 through 450 (of 3,593 total)
Skip to toolbar