Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 451 through 475 (of 4,122 total)
  • Author
    Search Results
  • happyday1
    Participant

    When my users sign up on my page they can choose to be:
    -Seller
    -Buyer or
    -Both Seller and buyer.
    That I have set up as a dropdown select box under the profile fields.

    But when I go to the profile search I can only search for each of the three profile types. I would like to ensure that if I search for “seller” all the members who see them self as “both seller and buyer” should also occur in the search results.
    How do I do that?

    coolhunt
    Participant

    hey guys..

    my standard (most recent updated WP/BP install) doesnt have a link to the @username when @mention on the profile field of a user.

    you guys have any ideas how to enable @mention inside buddypress profile fields

    subhamkotnala
    Participant

    Hi,
    How can I add file upload field type in profile fields?
    Thank you.

    imborx
    Participant

    Hi,

    I would like to add some users to groups according to their profile fields selection. For example, in the users profile there’s a “city” field and the user select “london”, so that user should be added to the group called “london”. How can I do that?

    I checked a couple of plugins but are old or they don’t do what I need:

    BuddyPress Group-O-Matic


    https://wordpress.org/plugins/buddypress-auto-group-join/

    Thanks!

    #305493
    allnamestaken
    Participant

    In wordpress Users /Profile Fields
    Date selector will not change date format. picture of the problem

    #305455
    shanebp
    Moderator

    What does profile filters mean?
    Profile fields ?
    If so, perhaps a profile fields search plugin is what you want.

    #305446
    webmister76
    Participant

    Hi guys šŸ™‚
    My users have many custom fields in their profile.
    I’m trying to create a member page, with different loops, because I need to split them in different groups with different criteria.

    I’m using the my_custom_ids function, but I’m getting crazy…

    <?php if ( bp_has_members( my_custom_ids( 'Nome', 'testB' ) ) ) : ?>
    is working. The loop displays only one user, named “testB”

    <?php if ( bp_has_members( my_custom_ids( 'Nickname', 'web9' ) ) ) : ?>
    is working. The loop displays only one user, with the nickname “web9”

    <?php if ( bp_has_members( my_custom_ids( ‘Role’, ‘iscritto’ ) ) ) : ?>
    is NOT working. Also Administrators are displayed.
    This is not the only problem. It happens also with other fields, but I can’t understand why…

    rmchale
    Participant

    Hi,

    Is there a way to hide the rich text editor toolbar in a multi-line text area field based on the users role.

    I don’t want to have to create separate fields for each user role.

    Thank you

    #305274
    polywebjeff
    Participant

    Hey! I have a My Profile page containing 2 forms in which these are the fields to fill to modify your informations. Those are separated in two because they are in 2 seperate groups of xprofile profile fields. I want to send both groups of fields at the same time with the same “save changes” button. I know jQuery will not work since the page refresh made by the submit prevent the first form from sending. I also know I have to call an Ajax call for that. Can someone help me find that call please? Here is my code, shortened:

    if ( bp_has_profile( 'profile_group_id=1' ) ) :
        while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
            <form action="<?php bp_the_profile_group_edit_form_action(); ?>" method="post" id="profile-edit-form1" class="standard-form <?php bp_the_profile_group_slug(); ?>">
                <?php
    
                /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
                do_action( 'bp_before_profile_field_content' ); ?>
    
                <h2><?php printf( __( "My Profile", 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2>
    
                <div class="clear"></div>
    
                <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
                    <div<?php bp_field_css_class( 'editfield' ); ?>>
                        <fieldset>
    
                            <?php
                            $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                            $field_type->edit_field_html();
    
                            /**
                             * Fires before the display of visibility options for the field.
                             *
                             * @since 1.7.0
                             */
                            do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
                            ?>
    
                            <?php
    
                            /**
                             * Fires after the visibility options for a field.
                             *
                             * @since 1.1.0
                             */
                            do_action( 'bp_custom_profile_edit_fields' ); ?>
    
                        </fieldset>
                    </div>
    
                <?php endwhile; ?>
    
                <?php
    
                /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
                do_action( 'bp_after_profile_field_content' ); ?>
    
                <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
    
                <?php wp_nonce_field( 'bp_xprofile_edit' ); ?>
    
        <?php endwhile; endif; ?>
    
    <div class="submit">
            <input type="button" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?> " onclick="submitForms()"/>
        </div>
    
        <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
    
            <?php wp_nonce_field( 'bp_xprofile_edit' ); ?>
    </form>
    
        <?php
    if ( bp_has_profile( 'profile_group_id=2' ) ) :
        while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
            <form action="<?php bp_the_profile_group_edit_form_action(); ?>" method="post" id="profile-edit-form2" class="standard-form <?php bp_the_profile_group_slug(); ?>">
                <?php
    
                /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
                do_action( 'bp_before_profile_field_content' ); ?>
    
                <h2><?php printf( __( "About me", 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2>
    
                <div class="clear"></div>
    
                <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
                    <div<?php bp_field_css_class( 'editfield' ); ?>>
                        <fieldset>
    
                            <?php
                            $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                            $field_type->edit_field_html();
    
                            /**
                             * Fires before the display of visibility options for the field.
                             *
                             * @since 1.7.0
                             */
                            do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
                            ?>
    
                            <?php
    
                            /**
                             * Fires after the visibility options for a field.
                             *
                             * @since 1.1.0
                             */
                            do_action( 'bp_custom_profile_edit_fields' ); ?>
    
                        </fieldset>
                    </div>
    
                <?php endwhile; ?>
    
                <?php
    
                /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
                do_action( 'bp_after_profile_field_content' ); ?>
    
                <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
    
                <?php wp_nonce_field( 'bp_xprofile_edit' ); ?>
    
        <?php endwhile; endif; ?>
    
        <div class="submit">
            <input type="button" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?> " onclick="submitForms2()"/>
        </div>
    
        <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
    
            <?php wp_nonce_field( 'bp_xprofile_edit' ); ?>
    </form>
    
    pixieblitz
    Participant

    Hi!

    I have “City” and “State” as required additional profile fields. What would be the best way to change things so that in the activity stream, instead of showing “Jane became a registered member 42 minutes ago” it shows “Jane from City in State became a registered member 42 minutes ago”? I would prefer to modify a template or add a new function rather than installing an additional 3rd party plugin.

    Thanks!

    #305159

    In reply to: Age instead Birthday

    Venutius
    Moderator

    Hi Ben,

    How did you get on with this? I’ve been playing with profile fields and I’ve come up with a solution to this, however there is a bug in BP which prevents it from working:

    https://buddypress.trac.wordpress.org/ticket/8082#ticket

    Also, in doing this I realised that it would be simpler to add this as a feature to the existing datebox that comes with BP, it already has an option to display the elapsed time and it’s not too difficult to add another option for Age:

    https://buddypress.trac.wordpress.org/ticket/8083#ticket

    #305133
    Venutius
    Moderator

    Hi there,

    In Users>>Profile Fields there is the default Base profile Field Group. The fields are included in the Registration form inputs, if you make any of these required the user can’t sign up unless they fill them out.

    You can create other field groups, but the fields on these are not included in the registration page and would need to be filled out after registration.

    At the front end, site users viewing the page sitename.com/members/username/profile, There user can edit these fields by accessing the age sitename.com/members/username/edit.

    As an admin you can view these details by going to the Users page in admin, for each user there is an Extended link which allows you to view and edit the users Extended Profile (xProfile).

    When you are editing the profile field there’s a setting to Autolink the profile field, this should include it in the Members search.

    #305131
    somatherapist
    Participant

    Hi, I’m using WP 5.1.1 and BuddyPress 4.2.0

    I don’t really know PHP (therapist, not a programmer), so I’m flying by the seat of my pants here. I have created several profile fields but I haven’t found where they show up for members to use them. Also is there a way for members to search the member group by profile fields?

    website is southaustinpsychotherapygroup.com/biblio-therapy and requires password “bibliotherapy”

    Thanks!

    #305114
    Venutius
    Moderator

    Well one option would be to set up a parental contact as mandatory profile fields, then run a reminder plugin that gets your scouts to enter those details before they can continue to the site. That’s the easy part.

    what you would do would be to trigger a function on the messages_message_before_save action, this would return to your function the message object of every message before it got saved and processed.

    You can get the recipients array from $message_info->recipients and the person sending the message is get_current_user_id();

    You’d want to check the role relationship and if it’s Scout – Scout Leader then you would look up the profile field data using the function xprofile_get_field( $field_id, $user_id, true );

    #305112
    Venutius
    Moderator

    So you could put the parental contacts into profile fields and then run a filter on all outgoing email to check the role relationship and copy in the parental contact as appropriate?

    #305049
    beekoff
    Participant

    Thanks for your suggestions @venutius. With these the only options I’m going to wait for BuddyDev to update a workaround into BuddyPress Member Types Pro plugin (he’s very proactive, and says it’s now in queue).

    Hopefully Nouveau and future BP templates will make conditionally hidden (but required) xProfile fields inert in this state. These fields are so important to augmenting registration on BP sites, and so hopefully it gets baked into the code (instead of having to find workarounds).

    I appreciate your help!

    Sam

    #305048
    Venutius
    Moderator

    Yep tht function works for the main WordPress signup fields, not the extended profile fields. However, thinking about it what this would do would make all those fields options, so why don’t you make all the fiedls optional in your settings, then you would not get the error, obviously it means making fields you want filling out optional but the way Nouveau works there’s not really an alternative if you are going to hide them for some member types.

    The alternative would be to create a multi-stage signup form where the first page takes in the basic signup information and member type then the second page displays the extended profile info specific to the member type.

    BP Better Registration splits the form into sections, I wonder if that could be used to create such a signup form?

    #305038
    Venutius
    Moderator

    See my response in https://buddypress.org/support/topic/bypass-email-requirement-2/ it includes a function to remove the required setting for profile fields in BP Nouveau, I think it will help.

    #305028
    rgilman
    Participant

    Any solution to this? I also need images to be allowed in xprofile text fields.

    #305010
    beefi1123
    Participant

    On BP Legacy and Noveau, the fields to the left under View Profile – Base are whited-out. I can see that there are descriptors, and if I highlight, I can read them, but otherwise, I cannot. Does this have something to do with my theme (Hestia) or is there a way I can change the text color? The details to the right are readable in black text, so it’s weird the stuff on the left isn’t. To clarify, I have no add-ons for BP.

    #304998
    a608237
    Participant

    I’ve been trying to follow examples to show social media fields as a linked icon for some time (including examples in this forum) and it just hasn’t been happening, and I dont know why.

    For example, with facebook:

    $fb_page = xprofile_get_field_data(‘Facebook’, $UserID);

    if($fb_page) { ?>
    < a href=”http:facebook.com/”<? php echo $fb_page ? >/” target=”_blank” title=”Facebook”>HI</ a> <? php
    }

    This code was just to test if I could even just hyperlink text to facebook.com. But it is not working. Instead, the following is output on the front:

    myFacebook.Field/” target=”_blank” title=”Facebook”>HI

    What is going wrong?

    Wordpress:5.1.1
    Buddypress: 4.2
    theme: twentyseventeen

    beekoff
    Participant

    Hi – I’ve run into an issue (via BP Member Types Pro plugin) where the registration button won’t submit under the following circumstance:

    – the registration form contains required xprofile fields that have been conditionally hidden

    The plugin itself is doing its job of first associating xprofile fields with member roles, and then allowing them to conditionally show/hide on the registration form as needed (based on member roles). But in turns out that such a form won’t submit, as the code running the registration process is still checking for any of these fields that are required (even though they’re hidden). It’s not distinguishing. I’ve touched base with the plugin’s developer (Brajesh @ BuddyDev) and he’s said, “I do agree that there should be a simple way for [developers] to mark a field as non required (in html attributes). It is still doable but too complex at the moment. Please do report it.”

    Might anyone have a workaround?

    Much thanks,
    Sam

    #304986
    Venutius
    Moderator

    I guess one option would be to use a text widget to display the profile fields using shortcodes such as are provided with BP Profile Shortcodes Extra. Then you’d just need to hide these from displaying in the page content which could be a simple case of some CSS?

    #304975
    mocreate
    Participant

    All,

    I’ve tweaked the layout of Buddypress as far as I can with CSS, but wondering how I can have some profile fields head to a sidebar and others head to a main column.

    Example: https://familytravel.org/pm_group/liling-pang/profile/

    Personal Details, Contact Information and Social Media I’d like to have live in a sidebar to the right of the About section.

    Thoughts and tips appreciated! I’m ok to modify a template, but I need to know which one and how to separate the content areas.

    #304939
    a608237
    Participant

    Thanks Venutius,

    I am slightly closer to what I want to achieve. There is something slightly odd about the way it appears on the front end using those hooks: before each ‘block’ of fields (i.e. Base, Profile, extended) it seems my_function is called once, but it is not in a loop of any sort.

    Is there a way to get it to call my_function say.. before the Base Fields?

Viewing 25 results - 451 through 475 (of 4,122 total)
Skip to toolbar