Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,326 through 1,350 (of 5,755 total)
  • Author
    Search Results
  • #252856
    modemlooper
    Moderator

    Any profile fields you create in the admin that are in the first section are automatically added to the registration form.

    User Extended Profiles

    gregsee
    Participant

    Hi folks,
    Running latest WordPress and Buddypress.
    How can I add BP profile fields to the Registration form. I dont want to use a new custom field in Profile. I want to include/use those that are aleady there in the BP profile.
    I dont need much, just Name, Website etc. but I would really like them required. Is there nowhere to easily edit the reg form?
    Thanks

    #252794
    mairaj
    Participant

    Ok thank you! I was by the way referring to the custom xprofile fields that I have on my current site (the multisite one that I have now).

    I assume when I import the back up database file to the new site those custom xprofile fields would be created automatically.

    #252786
    mairaj
    Participant

    Thank you for the reply 🙂 Since you have suggested to export TABLES OF WP_xprofile, I believe I don’t need to create any xprofile fields in the new installation.

    carrieoke13
    Participant

    Hi,

    I’ve added an extended profile using xprofile fields, and I’m displaying some of the fields on the members list page. But, if someone has left a field blank, their profile is displaying the data for the last member who did complete that field. (So, if I didn’t put my city but the person displayed before me did, that person’s city is showing in my profile.) You can see what I mean here: http://yarngroup.wpengine.com/members/

    I copied members-loop.php to a buddypress folder in my main theme folder, and here’s the code I added to display the name, city and state:

    <?php
    
    				/**
    				 * Fires inside the display of a directory member item.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_directory_members_item' ); ?>
    
    				<?php
    				 /***
    				  * If you want to show specific profile fields here you can,
    				  * but it'll add an extra query for each member in the loop
    				  * (only one regardless of the number of fields you show):
    				  *
    				  *bp_member_profile_data( 'field=the field name' );
    				  */
    				  
    				  
    				  bp_member_profile_data( 'field=Your Name' );
    			
    				  echo '<br />';
    				 bp_member_profile_data( 'field=City' ); echo ', '; bp_member_profile_data( 'field=State' ); 
    				  echo '<br />';
    				
    					  
    				?>
     
     <a href="<?php bp_member_permalink(); ?>">View Member Profile</a>
    			<div class="action">
    
    				<?php
    
    				/**
    				 * Fires inside the members action HTML markup to display actions.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_directory_members_actions' ); ?>
    
    			</div>
    
    		</li>
    
    			
    	<?php endwhile; ?>
    
    	</ul>
    <div class="clear"></div>

    Am I missing some code? Thanks!

    #252682
    riseUp
    Participant

    Hello.

    When user goes to Profile –> View, I currently see that the user can add Email Address, Describe Yourself, and Website.

    In BuddyPress administration, is there any way to add more fields to the View page for users to add more information about themselves? Thank you!

    #252630
    Henry Wright
    Moderator

    This doesn’t happen for me. When I set the page “Register” to a static front page, I can still see custom profile fields in the sign up form. Can you post some details about your set up?

    • Theme
    • Plugins active
    • Do you use custom code snippets in bp-custom.php or functions.php?
    • etc
    #252488
    shadorfeo
    Participant

    this has already been asked before but i can not figure it out…

    i make a new page for registration and one for activation but when i log out and then go to the register page it shows just a blank page with the title “Registration” on it and nothing else…

    is there a code i have to put into the page?

    i am using the latest version of wordpress and buddypress on my site and wordpress is installed in the root directory.

    i tried added the profile fields and registration is open to everyone.

    i am using the default theme and it just does not work at all…

    what am i doing wrong?

    Thanks for the help in advance.

    EDIT
    never mind i fixed it im not sure what i did but it just showed up lol

    Naomi
    Participant

    I’m running WP 4.5, BuddyPress 2.5.2, Twenty Twelve theme and TML 6.4.4

    I posted this as TML support and was told it’s a Buddypress issue

    I added custom TML fields when people register (city, state, and reason for wanting to join the site) following instructions here: https://www.jfarthing.com/development/theme-my-login/adding-extra-registration-fields/

    the fields are working as needed when users register. But since they aren’t xprofile fields, they aren’t showing up on BuddyPress member profile pages.

    How can I make them show up on member pages so all viewers can see where people are from (city, state) and also on the member directory.

    Site is here: http://www.charlottemasoneducation.org

    Thank you.

    #252347
    jakenelson09
    Participant

    Hey there! I have been working on this for the past 3 days and cannot for the life of my figure out where I am going wrong. I am trying to add an additional input field under the activity update content field. I found a few posts about it but they are from several years ago, I am wondering if they have been outdated with updates or something. Here’s what I’ve done.

    1. Edit post-form.php with input fields

    <input name="price" id="price" type="text" />

    2. Edit global.js in the default theme folder

    /* Default POST values */
    		var object = '';
    		var item_id = jq("#whats-new-post-in").val();
    		var content = jq("textarea#whats-new").val();
    		var price = jq("input#price").val();
    		var location = jq("input#location").val();
    
    		/* added in price and location values */
    
    		/* Set object for non-profile posts */
    		if ( item_id > 0 ) {
    			object = jq("#whats-new-post-object").val();
    		}
    
    		jq.post( ajaxurl, {
    			action: 'post_update',
    			'cookie': bp_get_cookies(),
    			'_wpnonce_post_update': jq("input#_wpnonce_post_update").val(),
    			'content': content,
    			'object': object,
    			'price': price,
    			'location': location,
    			'item_id': item_id,
    			'_bp_as_nonce': jq('#_bp_as_nonce').val() || ''
    		},

    3. Add the function in bp-custom.php

    function add_trackmeta_to_activity( $content, $user_id, $activity_id ) {
    
        bp_activity_update_meta( $activity_id, 'price', $_POST['price'] );
    
    }
    
    add_action( 'bp_activity_posted_update', 'add_trackmeta_to_activity', 10, 3 );

    I am not getting anything in the database. The solution is probably staring me in the face but my mind is so burnt out, I need a fresh pair of eyes to help me out.

    Thanks for your time

    Jake

    #252259
    ngoegan
    Participant

    I still can’t get it to work. I do have header images enabled so I edited this file:

    buddypress\bp-templates\bp-legacy\buddypress\members\single\cover-image-header.php

    as follows:

    <?php
    
    				 /**
    				  * Fires after the group header actions section.
    				  *
    				  * If you'd like to show specific profile fields here use:
    				  * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    				  *
    				  * @since 1.2.0
    				  */
    		
    
    bp_member_profile_data( 'field=city' );
    bp_member_profile_data( 'field=state' );
    
    		 do_action( 'bp_profile_header_meta' );
    
    				 ?>
    
    			</div>
    #252254
    ngoegan
    Participant

    I tried this and it isn’t showing up on profile pages:

    <?php do_action( 'bp_member_header_actions' ); ?>
    
    		</div><!-- #item-buttons -->
    
    		<?php
    		/***
    		 * If you'd like to show specific profile fields here use:
    		 * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    		 */
    
    bp_member_profile_data( 'field=city' );
    bp_member_profile_data( 'field=state' );
    
    		 do_action( 'bp_profile_header_meta' );
    
    		 ?>
    
    #252253
    ngoegan
    Participant

    I’m sorry, but where exactly in that code would I enter that? Like this?

    <?php
    /***
    * If you’d like to show specific profile fields here use:
    * bp_member_profile_data( ‘field=About Me’ ); — Pass the name of the field
    */
    do_action( ‘bp_profile_header_meta’ );

    bp_member_profile_data( ‘field=City’ );
    bp_member_profile_data( ‘field=State’ );

    ?>

    #252252
    shanebp
    Moderator

    You have identified the correct code location:

    Assuming your field names are City and State, try:

    bp_member_profile_data( 'field=City' );
    bp_member_profile_data( 'field=State' );

    If you need to do some formatting or add text or check for empty fields, use:

    $city = bp_get_member_profile_data( 'field=City' );
    echo $city;
    Naomi
    Participant

    I’m running WP 4.4.2 and Buddypress 2.5.2 on my site http://www.charlottemasoneducation.org

    I’d like to add the member’s city and state to the member profile page right where it says when their last activity was.

    I have added these fields in a theme-my-login-custom.php file in order for them to be part of the registration process to my private site which I’m using the TML plugin for.

    From reading other threads, it sounds like I need to edit the member-header.php file?

    Here is the section that I think I need to add code to. Can you please tell me what code I would need to add and where to add it in order to have those fields show up correctly?

    <?php endif; ?>
    
    	<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    
    	<?php do_action( 'bp_before_member_header_meta' ); ?>
    
    	<div id="item-meta">
    
    		<?php if ( bp_is_active( 'activity' ) ) : ?>
    
    			<div id="latest-update">
    
    				<?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
    
    			</div>
    
    		<?php endif; ?>
    
    		<div id="item-buttons">
    
    			<?php do_action( 'bp_member_header_actions' ); ?>
    
    		</div><!-- #item-buttons -->
    
    		<?php
    		/***
    		 * If you'd like to show specific profile fields here use:
    		 * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
    		 */
    		 do_action( 'bp_profile_header_meta' );
    
    		 ?>
    
    	</div><!-- #item-meta -->
    
    </div><!-- #item-header-content -->
    
    <?php do_action( 'bp_after_member_header' ); ?>
    
    <?php do_action( 'template_notices' ); ?>
    #252205
    concoa
    Participant

    UPDATE:
    I deleted all BP files and the plugin and did a reinstall.

    PROBLEM #1)
    I am still having trouble with the Register page. I do not know what this error refers to:

    displays an error message:
    “Profile Details
    Warning: Creating default object from empty value in /home/content/p3pnexwpnas09_data01/28/2853428/html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php on line 649”

    Line 649 is:
    $fields[ $key ]->visibility_level = $field_visibility;

    PROBLEM #2)
    Registration submission is now working, but an auto response email is being sent. Is there something in BuddyPress (or WordPress) to disable this? I’m getting an email saying:
    Hi test4,
    Thanks for registering!

    To complete the activation of your account, go to the following link: http://blahblahblah.com/activate/ef23a0f24958c3a125917f7e3bac95f8/

    I’m using s2Member to allow admin approval of registrations. This email needs to be removed. Thx.

    concoa
    Participant

    OVERVIEW OF SETUP:
    I have Extended Profiles enabled.
    In Users/Profile Fields, I have a “test” field in the primary tab.
    I have a second Field Group with another “test” field.
    I also have s2Member Pro installed with profile fields setup there.

    REGISTER PAGE NOT WORKING CORRECTLY:
    It displays the first Field Group with the first test field.
    It displays the s2Member profile fields.
    NONE of the BuddyPress second Field Group is displayed.
    Instead, it displays an error message:
    “Profile Details
    Warning: Creating default object from empty value in /home/content/p3pnexwpnas09_data01/28/2853428/html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php on line 649”

    Line 649 is:
    $fields[ $key ]->visibility_level = $field_visibility;

    AND !! Hitting the submit button (Complete Signup Now) is not completing the registration.

    S2Member is trying to help, but they now state this is a BuddyPress issue. I also note that when I make Admin edits to User Profiles sometimes new fields appear from seemingly nowhere. For example, I have had approximately 10 fields requiring First Name appear in the Primary tab even before s2Member was installed.

    ANY HELP? I am not a programmer and this is beyond my expertise.

    Andrew
    Participant

    Is it possible to prevent xProfile fields from being searchable?

    When using the search form in the members directory, it searches through all xprofile fields, but I would like it to just search members names.

    Any help appreciated.

    damagomez
    Participant

    Hello, im having problems with the registration and activity pages on my website, im new at this, so i dont know if i’ve made a mistake and where i might have made it…

    I installed buddypress through wordpress plug-in search engine, and then went to settings and set up everything as i wanted, edited the profile fields as i needed, and then when i tried to visit the pages i only get the title of the page and the rest is blank, as if it where a normal page.

    I’ve been searching different forums about people having the same problem, but i haven’t been able to find a solution, they’ve either been posted a lot of years ago, or they just say solved and do not share how they solved it.
    If anyone can help, i will appreciate it a lot!!

    I have read the codex as many suggested, but it did not help because i did everything as it indicate to do it.
    I created the register and activate page and then assigned them under Settings/Buddypress/Pages, how the codex indicates so. (i did not edit in any way the pages, i only created and assigned them.
    I made sure that in Settings/General under membership the “anyone can register” is checked.
    I’ve checked if the register.php and activate.php files do exist.
    I read that it might be a bug, so i tried uninstalling this version (V2.5.2) and installing V2.5.1 and V2.3.5, just in case that would fix it…

    I truly don’t know what else to do.
    Its my first website and i do not know a lot of coding, im learning as i go.
    Could it be a bug in the plug-in? if so… how can i fix it?

    Just in case it helps, my host company is hostgator, WordPress is updated to the lates version, so is buddypress.

    I have the following plug-ins installed (i know they are a lot, but since i do not know how to code, i sort of need them…) :

    Admin Custom Login
    Black Studio TinyMCE Widget
    Black Studio Touch Dropdown Menu
    BP Registration Options
    BuddyPress
    BuddyPress Cover Photo
    BulletProof Security
    Confirm User Registration
    Contact Form 7
    Duplicate Post
    Hide Admin Bar From Non-admins
    Lightbox Plus Colorbox
    Meta Slider
    No Right Click Images Plugin
    Page Builder by SiteOrigin
    PMPro KISSmetrics
    Polylang
    Protect My Contents
    Quick Page/Post Redirect Plugin
    SB Welcome Email Editor
    SiteOrigin Widgets Bundle
    Spacer
    Title Remover
    Wordfence Security
    WordPress Access Control
    WP Bouncer
    WP Maintenance Mode

    Thanks in advance for your help!

    #252077
    Ike Ten
    Participant

    Hi @ch1n3s3b0y @jokyfoot @ksimpson1986 @ksimpson1986 ,

    I think I found something something close.

    A free plugin called ‘Conditional Profile Fields for BuddyPress’ on buddydev.com/
    It allows you to set conditions for profile field so each user has a different set of fields based on their previous answer or input.

    Plugin Link: http://buddydev.com/plugins/conditional-profile-fields-for-buddypress/

    It does it by hiding or showing fields based on specific answer given. The great thing here is that you now have to use just one dynamic registration form for all user types or groups.

    Use this tutorial for a better understanding how the plugin works http://wptavern.com/new-plugin-adds-conditional-profile-fields-to-buddypress/

    I hope it helps.

    #252033
    racereed
    Participant

    Here is a link to the buddypress profile that I’m struggling with.
    http://learnenglish20.com/members/horace-reedgmail-com
    It’s all a bunch of place holders right now, so don’t pay too much attention to that.
    Scroll all the way down to the bottom.

    See those two blocks at the bottom. Well they used to be over to the right-side. (a programmer built it, not me) I’m trying to figure out how to get it back over on the right-margin again.

    I tried some code that I found and put it in the style.css to try to play with the margins but it didn’t seem to change anything.

    **FYI those are 2 blocks are profile fields.
    Any help would be much appreciated.

    #251970
    valuser
    Participant

    The second ask — i can’t usefully contribute!

    for the first ask

    Assuming your new user fills in her/his profile fields on registration

    Something like the following MIGHT work.

    On FIRST login a user is redirected to say .$user -> user_login.’/profile/change-avatar/’;

    then add something like this to the functions.php file of your theme

    function alaiam(){
    
    global $current_user, $wpdb, $bp;
    
    get_currentuserinfo();
    
    $user_id = get_current_user_id();
    
    $firstname = xprofile_get_field_data( "First Name" ,$user_id);
    update_user_meta( $user_id, 'first_name', $firstname);
    
    $lastname = xprofile_get_field_data( "Last Name" ,$user_id);
    update_user_meta( $user_id, 'last_name',$lastname);
    
    $gender= xprofile_get_field_data( "Gender" ,$user_id);
    update_user_meta( $user_id, 'gender',$gender);
    
    $xdob= xprofile_get_field_data( "Date of Birth" ,$user_id);
    update_user_meta( $user_id, 'dob',$xdob);
    
    /*and so on.........*/
    
    add_action('bp_before_profile_avatar_upload_content', 'alaiam', 10, 0);
    #251941
    DrHariri
    Participant

    Thanks for your response @henrywright.

    That’s a very good suggestion. I actually had no idea that was possible.

    So you are saying I can disable the profile/Xprofile fields and create my own BP plugin component to act as a profile tab? If yes, this is good news for me!

    Thanks!

    #251923
    DrHariri
    Participant

    Hi,

    I would like to start using BuddyPress but I’d rather be able to keep users’ data stored in the default WP user meta which allows met to use data with other plugins quite easily as well.

    I was wondering if there is a way to either:
    1) Sync certain fields between XProfile <=> WP User meta and to update both ways
    2) Rely completely on WP User meta and remove the profile tab while adding a custom tab where I could perhaps use a user profile plugin there such as UserPro.

    The first option is more straight I guess but I am not sure if someone was able to do something like this before?

    I would appreciate if someone could point me to examples/code snippets or functions that I (or my developer) could use to achieve this.

    Thanks!

    #251814
    Mike
    Participant

    Hi,

    I’ve got a website based on Buddypress & a theme called Sweetdate. When someone registers, they enter their profile & extended profile (I am a man, looking for a woman, between age… & age…) etc. If they go to the Members page they can see a list of all other members (demo page http://themeforest.net/item/sweet-date-more-than-a-wordpress-dating-theme/full_screen_preview/4994573). However, I want the search fields at the top of the page (I am a man, looking for, etc.) to be pre-populated with whatever values from the profile/extended profile the member chose when they registered, and then a search made automatically when the page first loads, so that the search results are immediately relevant to that user. Would this be difficult to do?

    Many thanks

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