Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,026 through 1,050 (of 5,755 total)
  • Author
    Search Results
  • #263208
    #263194
    mvnielsen
    Participant

    Hi there.
    I installed the Sweet Date theme and all the plugins, eg BuddyPress, and wanted to edit the profile fields and add new ones.
    Then something happendes, and suddanly I had 2 of everything – one in Danish and one in English – and now I cant delete any of them?!
    So when u go to the webpage, under the profile, you see 2 of everything, even though they’re not even active in the settings – how do I delete them?!?!?

    Thank you 🙂

    bcanr2d2
    Participant

    I am trying to show the field/fields that are required, but do not have any data.

    The following works when they are not set (during the members first visit to the site)

    //Check For Mandatory Profile fields - 
    $has_profile_pic = get_user_meta(bp_loggedin_user_id(), 'has_avatar', true);
    $has_cph_maxtopay = xprofile_get_field_data('Cost Per Hour');
    $has_age_ranges = xprofile_get_field_data('Age Ranges Of Children Able To Sit');
    $has_age = xprofile_get_field_data('Age');
    $has_suburb = xprofile_get_field_data('Suburb');
    $has_mobile = xprofile_get_field_data('Mobile Phone Number');
    $has_gender = xprofile_get_field_data('Gender');
    $member_type = xprofile_get_field_data('Member Type');
    
    //Check to see if profile items are set 
    //If not get error on screen to display
    if (empty($member_type)) {
    $error = $error + 1;
    $error_text = $error_text .'<li>Member Type</li>';
    } else {
    if (empty($has_cph_maxtopay)) {
    $error = $error + 1;
    $error_text = $error_text .'<li>Cost Per Hour/Max To Pay</li>';
    }
    if (empty($has_age_ranges)) {
    $error = $error + 1;
    $error_text = $error_text .'<li>Age Ranges Of Children Able To Sit/Age Ranges of Kids</li>';
    }
    if (empty($has_age )) {
    $error = $error + 1;
    $error_text = $error_text .'<li>Age</li>';
    }
    if (empty($has_suburb )) {
    $error = $error + 1;
    $error_text = $error_text .'<li>Suburb</li>';
    }
    if (empty($has_mobile )) {
    $error = $error + 1;
    $error_text = $error_text .'<li>Mobile</li>';
    }
    if (empty($has_gender )) {
    $error = $error + 1;
    $error_text = $error_text .'<li>Gender</li>';
    }

    I know I’m probably using the wrong function, but the xprofile_get_field_data will return the currently saved item for a user. Hence the reason why it works so well on a new user, the fields are emtpy. I want to check on the unsaved data when they click on save as well, so that I can show them what field is in error, and also highlight the field as well, so they can be guided visually to fill it in.

    IE They clear their cost per hour value, and I want to tell them it’s empty, and not just the generic Please make sure you fill in all required fields in this profile field group before saving.
    Let me know where I am going wrong with this.

    danceshout
    Participant

    Hi Guys,

    Google and the search function here weren’t helping me, so hopefully this hasn’t been covered here a million time before.

    In the profile loop is it possible to exclude showing one field based on the value of another?

    I’m aware of plugins to change visibility of fields, and I am using one, but in this particular instance I would like an admin to be able to check a radio button when editing a profile to prevent a single field from showing for some users some of the time.

    For an example – I have an extended profile field called “Twitter” – and I’d like to have an extended profile field called “Show Twitter” with options of Yes or No. If the admin selects No, then the Twitter field doesn’t show up on the profile page.

    Hopefully I’ve explained this correctly.

    Is there a way to do this within profile-loop.php?

    #263100

    In reply to: import xprofile CSV

    A paid plugin available to import users BuddyPress xprofile fields data.

    BuddyPress Members Import

    #263088
    mrjarbenne
    Participant

    In case anyone runs into this forum topic looking for a similar fix. I needed to do two more things to get this perfect (thanks @danbp for the great start).

    Under each field, the default privacy is displayed, so you need to make sure that for every option you add, the default is either “All Members”, or “Only Me” so that “Everyone” doesn’t appear as a default under each field, despite the fact that you’ve hidden the option to chose it once the user hits the Change button.

    Additionally, under the name field, “Everyone” is the default, and it can’t be changed. This isn’t really accurate if you site is private, so I have hidden the line that says that the Name field is visible by Everyone with an additional CSS snippet.

    /* Remove Everyone option from Profile Fields to ease confusion on a private site */
    
    li.public {display:none!important;}
    
    #buddypress div#item-body div.profile form#profile-edit-form.standard-form.member-information div.editfield.field_1.field_name.required-field.visibility-public.field_type_textbox div#field-visibility-settings-toggle-1.field-visibility-settings-notoggle {display:none!important;}
    #263077
    djsteveb
    Participant

    @johanna75 – looks like an interesting plugin – not sure if it’s a free plugin with paid extensions, or a premium plugin altogether – or how it works- you are best off asking those plugin makers more than likely. I see they have 2 premium add on extensions that seem to fit in with what you are asking about though: the geo members directory and the xprofile fields extensioons – which seem to be priced from $29 – $130 each.

    again, not sure how any of the plugin is working for you – it kind of sounds like there is some info that has been added to your member’s profiles.. and if it that’s the case – you may have some luck with adding the “bp profile search” plugin – which is free. There some quick docs on how to get it up and running on a page or wdiget with certain features -> http://dontdream.it/

    That may be all you need… if not, I would cough up the money for the premium addon and ask the author of the main plugin – sounds like it’ll be faster and easier to get working..

    the buddypress forums are likely going to leave you hanging with no answers if you ask about anything like plugins, themes, custom mods that are premium / aka costs money.

    I’d love to know if your plugin maker there has a way to turn off the “google maps” part – I mean it sounds nice on the features page – but I’m pretty sure html5 has a geo location feature that can be tapped into without using google maps.. and if I was to use a plugin like that, I would certainly not be sacrificing my user’s privacy by using something that depended on the big G to get their data. Surely there are other ways / other options.

    my 2cents.. your situations may be different

    #263054
    psmorrow
    Participant

    Hi,

    I would like to add xprofile fields to each member in a group’s list of members. I have been able to add fields to the members directory, like this:

    
    function my_diretory() {
    if ( $member_type = xprofile_get_field_data( 'Type', bp_get_member_user_id() ) ) :
    		echo '<br/><div class="type">';		
    		echo "Member type: ";
    		echo $member_type;
    		echo '</div>';
    	endif;	
    
    }
    add_filter ( 'bp_directory_members_item', 'my_directory' );

    But, how do i add this info to list of members of a group?

    If anyone can help, i will be eternally grateful!!!!

    Thanks in advance!

    #262992
    stunley
    Participant

    Hi Shane. Like so? This still disables the site.

    function tiquality_add_custom_field() {
    
    	if ( bp_is_active( 'xprofile' ) ) :
    
    ?>
    	<div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
    		<table class="profile-fields">
    			<tr class="my_mail">
    
    				<td class="label">Contact me</td>
    
    				<td class="data"><a href="mailto:<?php bp_displayed_user_email(); ?>"><?php bp_displayed_user_email(); ?></a></td>
    
    			</tr>
    		</table>
    	</div>
    <?php 
    
    	endif; 
     
    }
    add_action('bp_profile_field_buttons', 'tiquality_add_custom_field');
    #262968
    psmorrow
    Participant

    I found this:

    post

    which adds xprofile fields to member directory, but I can’t seem to get this working for the group members directory.

    psmorrow
    Participant

    Hi,

    I am interested in adding xprofile fields on the list of members of a group. Some examples include: gender, age, interests, etc.

    Any help is sincerely appreciated!

    Thanks in advance!

    #262853
    stunley
    Participant

    I added the following code (from this post) to enable email addresses in user profiles – which works but only when a user is logged in.

    How can I change it to show the email address regardless of whether one is logged in or not?

    function tiquality_add_custom_field() {
    
    	if ( bp_is_active( 'xprofile' ) ) :
    
    		if ( is_user_logged_in() ) {
    ?>
    	<div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
    		<table class="profile-fields">
    			<tr class="my_mail">
    
    				<td class="label">Contact me</td>
    
    				<td class="data"><a href="mailto:<?php bp_displayed_user_email(); ?>"><?php bp_displayed_user_email(); ?></a></td>
    
    			</tr>
    		</table>
    	</div>
    <?php 
    		}
    	endif; 
     
    }
    add_action('bp_profile_field_buttons', 'tiquality_add_custom_field');

    I tried deleting the line…

    if ( is_user_logged_in() ) {

    but it took down the whole site.

    WP v 4.7.1

    #262771
    rufrage
    Participant

    Hello,

    I am using BP 2.7.4 and the most recent WordPress version (4.7.1).
    The registered members all need to fill out the profile field “Tätigkeit”, which is basically “job” in english. I added the job information to each profile in the members-loop now.
    People are supposed to search for job-names and find every member, that has the keyword in any of their profile-fields (I did all that with BP Members Search already).
    Now for a better overview, I want all the people with the same job listed underneath each other, e.g. at first everybody with party-location-rentals as their job, then everybody with party-catering as their job, etc.
    This would be easy to archieve, if I was able to just sort the members by their job and in a alphabetical order. At the moment, the are ordered alphabetically, but by their name.

    How can I just switch the attribute they are sorted by from username to the field Tätigkeit? I have been digging through a bunch of php files lately, but couldn’t find the responsible one yet.

    I will appreciate every reply that gets me a little closer to solve my problem.
    Thanks in advance and have a good time!

    #262748
    fidelduque
    Participant

    Hello everyone! I guess this is not a common issue, I haven’t found anything to solve this. I got 3 sites in a multisite wordpress system. some of the main site users will access the other ones. They need to have their profile in all of the sites. so far I managed to get the custom fields data but can’t get the avatar. Any hint?

    Thanks

    #262730
    bcanr2d2
    Participant

    I have a BuddyPress profile form that currently has fields being shared between different member types, so they can be forced to be mandatory.

    I would like field A (highlighted) to be able to change the labels/legends highlighted with B, so that once a user selects a value I can show the relevant text (which needs to change for each drop down value)

    I already have PHP code to control these labels AFTER the user has selected a member type, I just need to know what to before hand, before they save these values.

    The first field is field_6.

    The second is field_19 The third is field_505 The fourth is field_56

    I believe a javascript piece of code would make this work appropriately, but is not my strong suit programming language wise.

    #262702
    danbp
    Participant

    Also by default, a field description can only be filled by a site admin, not by suscribers or visitors. But it is to you to know what is harmfull or not when you customize something in your site.

    If you are the only one allowed to create xprofile fields, i doubt that you will voluntary introduce malicious code into your field description… In this case it is certainly harmfull to allow yourself some html tags. 😉

    djsteveb
    Participant

    I set up a secondary set of ‘hobbies/interests’ to select multiple via checkbox. When a user checks a dozen of them.. they get displayed on the profile page as a Comma Separated Paragraph.

    using 2104 theme..
    so i get:
    Base
    profile f 1 – name
    profile f 2 – state
    Interests/Hobbies
    blah blah,blah, blah blah,
    blah, blah blah, blah

    how do I tell the member profiles page to display these as a ul / li I guess?
    Interests/Hobbies
    blah blah
    blah
    blah blah
    blah

    Any info appreciated,

    Steve

    #262651
    freddykan
    Participant

    Wordpress 4.6
    Buddypress latest version
    http://www.ankspon.co.uk/register

    1. I would like to hide this text that appears on the profile details section of my registration page. “This field can be seen by: Everyone” – It makes the registration form messy. How do I hide it?

    2. Where can I edit the text that appears at the top of this page, supplied by the buddy press plugin? “Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.” – I can’t see it in the plugin or page.

    Thanks
    Freddy

    #262570

    In reply to: phone number or email

    danbp
    Participant

    Hi @froshdimeji,

    the registration process is part of WordPress. Check on the codex or on the wp forum, but i doubt that a phone number can be used instead of an email. Perhaps it can be added to the mandatory username, password and email fields. But sorry, i have never heard about such.

    Note that BP allows you to add fields to the register page, but these fields will never be part of the registration itself. So even if you add an xprofile phone type field, it won’t be considered (as first) as mandatory for registration.

    #262526
    alghaith
    Participant

    Hello, im using woffice and i want the user to change his password and profile picture only from the front end .

    i dont want him to :

    – change his name

    – edit anything in (Editing ‘Base’ Profile Group)

    – change his email .

    – change anything in (Send an email notice when: )

    i have this link :
    https://buddypress.org/support/topic/dont-allow-users-to-change-some-fields-after-sign-up-hide-those-fields/
    but i don`t know if it will be like my customization
    thanks so much.

    —————————-

    1. Which version of WordPress are you running?
    WordPress 4.7 running Woffice Child theme.

    6. Which version of BP are you running?
    2.7.4

    10. Which theme do you use ?
    woffice

    11. Have you modified the core files in any way?
    yes

    12. Do you have any custom functions in bp-custom.php?
    i dont think so

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    bult in

    15. Which company provides your hosting?
    siteground

    #262506
    meatsro
    Participant

    I clicked on the Extended Profiles to Customize my community with fully editable profile fields that allow my users to describe themselves, but it is not working. The profile menu link does not work when you click on it. How can I fix this error.

    #262349
    johnnyfever72
    Participant

    Hi all,
    I am just wondering how I can have different extended profiles for different member levels? I am using Paid Memberships Pro and have 2 different membership levels, a free “Clients” level and a paid “Artists” level. I need the clients to have different profile fields than the artists. The clients just need some basic information about them where the artists will have much more to fill in. Things like different types of art they do or what studio they currently work at etc. Obviously the free clients don’t need these types of fields in their profiles.

    Hope this makes sense.

    Thanks,
    Johnny

    bcanr2d2
    Participant

    I am trying to get around different fields being required in different member types, by trying to change the label of the field for a specific member type

    When using the following code, it changes the name of the field, and not just the label!
    Any Tips, please.
    I have it visible to all users, and will display in the backend as Cost Per Hour when it is edited (shows the other name when not edited).

    function filter_bp_get_the_profile_field_name( $field_name ) { 
        // make filter magic happen here... 
    
    	$user_id = bp_loggedin_user_id();
    	$bp_user_member_type = bp_get_member_type($user_id);
    
    	// field name (case sensitive)
    //	if ($bp_user_member_type == 'parent'  ) {
    	if( $field_name == 'Cost Per Hour') {
    $field_name = 'Maximum Amount To Pay For Sitting';
    //var_dump($field_name );
    //die("filter_bp_get_the_profile_field_name");
    
    	}
    //	}
        return $field_name; 
    }; 
             
    // add the filter 
    add_filter( 'bp_get_the_profile_field_name', 'filter_bp_get_the_profile_field_name', 10, 1 );
    #262226

    In reply to: Problem With Pages

    danbp
    Participant

    Hi,

    BP pages are not ordinary WP pages. BP use the page system to assign a permanent slug, while content stays dynamic. Usual WP pages are static.

    BP pages must be unique. This means also without assigned template, model and of course, should be a slug to a page, and not a sub-page. These page are not intended to be published and exist only for internal use. You don’t need to build a menu for register and activation. Normally, these items come up, depending the context (theme, plugins, widgets) and/or the user status.

    Related to “activation” and “register” and most of BP components, you need to declare a “page” for each, despite the fact that BP will only use them to insert a template. Registration will receive xprofile fields which are added to the existing WP registration form.
    And another template for the Activation stuff, depending the context: activation key, success message and so on.

    #262210
    danbp
    Participant

    If you create a field group called Business Details, you simply add as many fields you want!
    Let’s say, you want that users can fill about 5 companies or society. In this case, you need to create a field for each input, in other words 5 fields. And if you need more details for each, you add the fields you need, one by one:

    Business 1: [___]

    Address 1: [___]

    Office 1 hours: [___]

    Business 2: [___]

    Address 2: [___]

    Office 2 hours: [___]

    Or if you use a lot of details, you group each businness separately.

    For better clarity of the default profile details output, when you have a lot of information to display, is to use this very handy plugin: buddypress-profile-tabs

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