Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,701 through 1,725 (of 5,755 total)
  • Author
    Search Results
  • mrgiblets
    Participant

    Hey guys,

    Using this in member-header.php :

    <div>Location: <?php bp_member_profile_data( 'field=Location' ); ?></div>

    But I only want to show this div when the Location field is occupied.

    A usual way to do it in WP with a custom field using post meta would be something like :

    <?php if($location = get_post_meta(get_the_ID(), 'location', true)): ?><div>Location: <?php echo $location; ?></div>

    But I don’t know how to check for this particular field within buddypress as I’m not sure how these fields are being stored as variables, or where they are being stored. In fact I haven’t seen any database queries anywhere on my buddypress journey yet which makes a nice change as it happens 😉

    danbp
    Participant

    I told about BuddyDrive because you have a download button aside a description written in french. And that plugin author is french, like me. And i’m a user of this plugin….

    You use a premium theme, and we can’t help you much here if you have an issue with it. As we have no free access to it’s code.

    As site admin, you can configure the registration form and add some description if you need some near a field.
    Go to dashboard > users > profile fields

    If you need some more details about BuddyPress feel free to read the Codex. And don’t hesitate to ask your theme support.

    Have a nice day too.

    #237341
    aymanomar85
    Participant

    1- WordPress 4.1
    2- install directory
    3- subdirectory
    4- wordpress upgrade 4.1.1
    6-BuddyPress 2.2.1
    7- last version
    8- yes i have many plugins

    8.1-Advanced Custom Fields
    8.2-bbPress
    8.3-BP Login Redirect
    8.4-BP Profile Search
    8.5-BP Profile Widgets
    8.6-BuddyPress
    8.7-BuddyPress cover
    8.8-BuddyPress Edit Activity
    8.9-BuddyPress Follow
    8.10-BuddyPress Security Check
    8.11-Buddypress Social
    8.12-BuddyPress Xprofile Custom Fields Type
    8.13-Email newsletter
    8.14-Facebook Friends Inviter
    8.15-HashBuddy
    8.16-rtMedia for WordPress, BuddyPress and bbPress
    8.17-Social Login
    8.18-User Name Availability Checker for wordpress/buddypress
    8.19-Wordpress Social Invitations – Lite

    #237276
    mcpeanut
    Participant

    Hi again, is there any kind of mapping plugin that will allow me to let users add their location?

    The reason i ask this is because i already know how to manually add locations for users to choose from by by creating xprofile fields then adding a conditional field based on what is picked by the user, now to me it seems this would be one hell of a monstrous task to pull off, i have currently got a full list of towns/citys that reside in the uk and it is huuuuuuuuuuuge! nevermind tackling other countries, to type them all in manually would take me forever.

    There must be an easier solution out there?

    danbp
    Participant

    hi @mcpeanut,

    this snippet useable from BP 2.0.1 and above, can be added to bp-custom.php
    it will hide the field ID 1 which is the default Name field to all, except site admin.

    it will also avoid the user to edit that field. So if you use this, i recommand you tell them on register page that once they entered a name it they could change it later. You can than ask them $$$$ to do it. 😀

    function bpfr_hide_profile_field_group( $retval ) {
    	if ( bp_is_active( 'xprofile' ) ) :	
    	
    	// hide profile group/field to all except admin	
    	if ( !is_super_admin() ) {		
    		//exlude fields, separated by comma
    		$retval['exclude_fields'] = '1';  
    		//exlude field groups, separated by comma
    		$retval['exclude_groups'] = '1'; 			
    	} 
    	return $retval;		
    	
    	endif;
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );

    More here:

    Using bp_parse_args() to filter BuddyPress template loops

    danbp
    Participant

    No.

    Why ?

    Because this is an error message. If you see it when you’re on profile fields admin, it is better for you to see this as nothing. As admin, it is you who set up field access. It is required ? Make it not required or fill in that field.

    Jaremilus
    Participant

    i have all requirement fields in group B and user must fill them when sign up… but as admin i see info:

    Please make sure you fill in all required fields in this profile field group before saving.

    when i try to edit it.

    how to disable field requirements only for admins and for user with moderator role?

    #237003

    In reply to: Particular Dating Site

    Henry Wright
    Moderator

    Hi @zigmund

    This will all be possible, likely with xProfile fields. To get started with BuddyPress, check out the docs (there’s links to subpages on the left-hand-side).

    Hope the info helps.

    nate22
    Participant

    On the members profiles, I figured out how to add custom fields but every item ends up being a link.

    So, I found out how to delete the links here (unless this is old and outdated):
    https://buddypress.org/support/topic/resolved-removing-links-to-searches-in-profile-fields/

    But, I am wondering what the best practice is for modifying Buddypress. I don’t want to lose any modifications I make when I upgrade to the latest Buddypress. It seems that the above method will get lost if I upgrade.

    #236911

    In reply to: CPT per each BP-User

    Pietro
    Participant

    Thank You dandp …
    …
    Mmm … it doesn’t seems to be enough … I do not really need custom fields into the bp-profiles … I need to connect to any bp-user a PRIVATE Custom Post Type. Something like a post. But personal, which nobody can see, except administrators for instance, or people who is allowed by the user itself …
    … I hope it is more clear …
    I will keep thinking about this. Hopefully I will find a way.

    Thank You.
    Pietro

    #236910

    In reply to: CPT per each BP-User

    danbp
    Participant
    #236909

    In reply to: Username vs Real Name

    danbp
    Participant

    @matthias70,

    these fields are required by the system.
    WP ask for username, password and email. When BP is activated, he uses WP’s name option Public Name so he can rely to WP. This field called Name is the only one which is required by BP for that reason.

    When you visit dashboard > users > your profile, you have a tabed page with profile options (the original WP user manager) and Extended profile (which belongs to BP) where you can edit your profile. On WP’s tab you see login, first name, last name and public displayed name. On BP’s tab there is only Name, which reflects what is in first and or last name.

    In wp_users table, you have user_login, user_nicename and display_name

    user_login and user_nicename have the same content
    display_name contains first and/or last name (if exist from a previous WP install, before BP installation).

    Depending what and where something needs a name to work (avatar, comment, notice, activity, etc), one or the other name option is fired.

    If you don’t need/want real names on front end, you can use this plugin:
    https://wordpress.org/plugins/buddypress-usernames-only/

    #236826
    Alice Kaye
    Participant

    WordPress: 4.1.1
    BuddyPress: Latest
    Theme: Aggregate by Elegant Themes
    Website: heartwoodgaming.com

    Hi guys,

    I’m really at my wits end and not sure where to proceed from here. I have a live site that is going on about a month now, we have around 25-30 users at this current time and they’re constantly reporting to me that a page here and there is showing “No Results Found.”

    Up until this point, it’s been okay and I’ve just re-saved the permalink structure each time, but today the worst thing possible happened and my login page became “No Results Found.”

    Thankfully, I was logged into my site via my PC, so I could update the permalink structure, but what if I hadn’t been? I don’t know how to fix this, I don’t know what’s causing it.

    The major issue is, it’s intermittent so deactivating and reactivating plugins one-by-one may not be the most useful route for this simply because I can’t guarantee when it’s going to happen, in order to deduce what the issue is.

    Any help in this matter is extremely appreciated.

    Permalink Structure: Post name (http://www.heartwoodgaming.com/sample-post/)

    The following is a list of my currently installed plugins:

    • Akismet
    • All in One SEO Pack
    • BadgeOS
    • BadgeOS Community Addon
    • bbP private groups
    • bbPress
    • bbPress Enable TinyMCE Visual Tab
    • bbp style pack
    • BP Registration Options
    • BuddyPress
    • BuddyPress XProfile Custom Fields Type
    • Contact Form 7
    • DP Pro Event Calendar
    • Enhanced Media Library
    • GD bbPress Attachments
    • GD bbPress Tools
    • Link Library
    • myCRED
    • Really Simple Captcha
    • rtMedia for WordPress, BuddyPress and bbPress
    • Sidebar Manager Light
    • Theme My Login
    • Thin Out Revisions
    • TinyMCE Advanced
    • TinyMCE Visual Editor Comment
    • User Role Editor
    • WP Symposium Toolbar
    Steffen Jung
    Participant

    Hi,

    I was wondering why the “default user profile fields” like website, twitter, etc. are not accessible via the Buddypress profile page on frontend. I have searched the whole internet but didn´t find an easy way on how to make this fields available and editable.

    Background of my question:
    – I´m using WP together with WP Events Manager
    – In WP Events Manager you can add easily custom user profile fields
    – So if a user subscribes to an event you can save additional information like “special interests” and saving this directly in user profile
    – But then after event registration the user can not update this data in his buddypress profile
    – He can only update it if he goes after login on his profile in backend (/wp-admin/profile.php)

    Thanks for feedback and sharing your experience.

    BR
    Steffen

    #236547
    ch1n3s3b0y
    Participant

    @danbp – I’m guessing this is the function I need order_by_most_favorited() to edit to work with XProfile fields?

    I’ll try it now and see if it works with XProfile fields.

    #236429
    pixelguy
    Participant

    Hi,

    i want to edit my BuddyPress profile on a single page instead of serveral tabs/pages.

    By now, every profile group generates a new tab with an own URL. Even if there is only one field within a group.

    Is there any solution to display all groups on a single page? So the user can edit and save all fields without clicking through serveral tabs.

    #236428

    In reply to: Registration Page

    IHaveToDoThis
    Participant

    Go to your profile page on your site. Next to ‘View’ there is ‘Edit’. Click on ‘Edit’ and you can change fields like your name, etc. and you can also see it’s visibility. You can change visibility settings by going to your admin dashboard and playing around with the profile fields under the Users tab. Your users will be able to see their profile visibility under their profile tab and have the ability to change it (if you give them that option).

    Hope this helps! Took me a while to get it too.

    vinay24k
    Participant

    This code is working. But its showing Current user custom fields for any profile i visit. But i want Particular user custom field under particular profile. How can i do that ? I tried adding ,123 as suggested in that documentation but getting error

    <?php do_action( 'bp_before_member_header_meta' ); ?>
    
    	<div id="item-meta">
    
    		<?php if ( bp_is_active( 'activity' ) ) : ?>
    
    				<?php do_action( 'bp_directory_members_item' ); ?>
                                    <?php $theUserID = bp_get_member_user_id();?>
                                       <div id="profile_data">
                                    <li><?php echo get_user_field('gender_id', $theUserID);?></li>
                                    <li><?php echo get_user_field('College_name', $theUserID);?></li>
                                    <li><?php echo get_user_field('course_name', $theUserID);?></li> 
                                    </span>
    	</div>
    
    #236363
    @mercime
    Participant

    then added that to the buddypress pages

    @seph
    Make sure that you didn’t add the Register link under any of the main BP component pages (e.g. Members, Groups, Blogs, Activity) in the menu links.
    Make sure that you didn’t add any text in your “Register” page so that BP can automagically add the Registration Form and the first group of the Profile fields in thepage.
    Make sure that you’re not logged in when you go to the Register page.

    rezon8dev
    Participant

    Hello,
    I’m running the most current versions of wp/bp and have a theme called KLEO running. I’m attempting to use xprofile fields for my users to add embeds from the included oembed providers in stock wordpress. I have tried share links, iframes and shortcodes and can’t get them to display on a member profile page. The activity stream etc. displays them no problems I just can’t get them to display on any member profile page . Can anyone shed some lite on this for me??

    vinay24k
    Participant

    I have Custom fields of S2 members as follows :
    Gender
    College
    Course

    I want to add these to members profiles under Last Activity. With little nowledge and surfing over internet i found that i need to add a code in Members-loop.php I also found that the following code will do the thing. But it didnt work for me :

    				<?php do_action( 'bp_directory_members_item' ); ?>
    
                                    <?php $theUserID = bp_get_member_user_id();?>
                                    <div id="profile_data">
                                    <span class="profile_fields">
                                    <li><?php echo get_user_field('gender_id', $theUserID);?></li>
                                    <li><?php echo get_user_field('College_name', $theUserID);?></li>
                                    <li><?php echo get_user_field('course_name', $theUserID);?></li> 
                                    </span>
    	</div>

    Please help me to do it right.

    #236227
    somethingelse
    Participant

    ^+1 wow, i totally need this too… DESPERATELY.

    if i had realized just how difficult this was going to be to accomplish,i never would have started this project with buddypress. what is the point of xprofile fields if they are not easily searchable?

    there are so many GREAT things about buddypress, it’s super frustrating that this thing which seems to straightforward is so challenging.

    i have been searching … the “buddypress profile search” plugin is not the answer… it isn’t user friendly enough. I just want one search box – “find a teacher in your city” that will search 4 xprofile fields of all our teachers… ONLY THOSE FOUR FIELDS… and return the results.

    i’ve tried a google site-search tool, too…
    the trouble is that our teachers have bios, and in those bios they often include cities where they have trained, or toured, and we do NOT want those included in the “Find a teacher” results.

    i have Base City, and 3 “additional teaching locations” fields… those, and NAME, are the ONLY fields i want searchable.

    i can pay for help.
    but i figured this would be something simple i could do myself!

    #236219
    ckchaudhary
    Participant
    function wdw_bp_get_field_options( $field_id ){
    	global $bp, $wpdb;
    	return $wpdb->get_col( $wpdb->prepare( "SELECT name FROM {$bp->profile->table_name_fields} WHERE parent_id=%d AND type='option'", $field_id ) );
    }

    You can call the above function passing id of the field( fieldabc in your example ). This will return all options of the field in an array.

    #236094
    @mercime
    Participant

    Do you recommend I create text/content and install a form plug-in for my ‘register’ page associated with the BPress first before working on adding Member Profile Fields?

    @dleit please do not install any form plugin for your “Register” page. Leave it blank as BuddyPress will dynamically add the necessary forms. What you need to do is set up the profile fields. Remember that whatever field you add in the first group of the profile field will appear on the right side of the Reigstration form.

    It just doesn’t seem like it will solve the “user registration is currently not allowed” issue.

    After you add the member profile fields/group(s) you want for your community, I suggest going to the admin menu Settings > General and Allow Registrations. BP Codex is your friend https://codex.buddypress.org/getting-started/register-and-activation-pages/

Viewing 25 results - 1,701 through 1,725 (of 5,755 total)
Skip to toolbar