Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,001 through 1,025 (of 5,755 total)
  • Author
    Search Results
  • commexpert
    Participant

    HI

    I have two groups of users STUDENTS and TEACHERS
    I want to link each student to a teachers, meaning the name of a teacher should be linked to each student profile.
    In the registration form, the student should be able to select a teacher in a dropbox that would listing all the names of the registered teachers.
    The name of the selected teacher will be stored in this field.

    How can I achieve this ?

    Thanks

    #263593
    davidself1001
    Participant

    I have a multi-line text area field but the users text is not word wrapping. How do i fix this?

    #263534
    djsteveb
    Participant

    with my default bp installs just about everything IS public.. it’s actually not easy to make the bp pages like activity and groups and such private.

    I think most of those things are fine to be public – and people can choose to make groups members only, logged in only, or public viewable.. default is all public I think..

    Most profile fields the user can choose similar privacy settings for certain fields if you allow..

    Sometimes I make a group non-pulbic viewable as super admin..

    I also choose a lot of things to be blocked by the robot search engine spiders – as there is no need for them to go pulling 100 pages of activity feed and such – so even though most of my BP site is publicly viewable, only about half of it is (supposed to be) crawled by the big engines – most follow the robots.txt directive – but not all..

    #263529
    denmektigafisen
    Participant

    Hi. I would like to costumize how the user profiles look. Is this possible? If yes, how?
    I don’t mean the fields, I know how to insert those. What I want to edit is how the profile looks. Now it looks like this (But I only have one field Right now):

    https://s29.postimg.org/m8yzpt3gn/N_r_jag_inte_orkar.png

    My second question is, how do you allow users to put <style> tags in a profile field? I know the risks about custom HTML and I’ve been up a few hours searching for a solution, but I can’t figure out which file I need to edit.

    Thank ypu.

    #263491
    argoncobalt
    Participant

    I’m working on a networking website, and in their profiles, users are able to list fields where they have expertise, interests, fields they are able to mentor in, etc. Here’s an example of a user profile page on the website: http://latinasthinkbig.com/members/pam_campos-palma/

    My client wants me to implement a feature that makes these tags clickable, i.e. turns them into a search query that allows users to look for other people who have listed those same tags in their profiles.

    Any idea how I would go about doing that? Please let me know, thank you!

    #263470
    danbp
    Participant

    Where did you find that code?

    Have you tried to replace it by:
    SELECT * FROM bp_xprofile_fields WHERE parent_id = 0 AND group_id > 1

    #263464
    _natty_
    Participant

    i got this error from such long time and no update solve it… how can i solve it?

    SELECT * FROM bp_xprofile_fields WHERE parent_id = 0 AND ID!= AND group_id > 1

    as you can see there is a missing operatore before “AND”

    AND ID!= AND

    mpcadm
    Participant

    I solved the problem. It’s in “Profile Fields” in Users. Want to delete this.

    #263430
    shanebp
    Moderator

    You should see all fields, even empty ones, on the Profile > Edit page.

    #263428
    prophet224
    Participant

    Ok, I didn’t know that. Shouldn’t the fields still appear on my own profile page so that I, as a user, could fill them out if I wanted to? They don’t show when viewing another users or one’s own.

    I will take a look at the plugins! Thank you!

    #263427
    shanebp
    Moderator

    Empty fields will not be shown on Profile > View.
    Are you sure there is data in those fields?

    You could narrow down the issue by deactivating the LearnDash plugins one at a time and see if the issue persists.

    #263426
    prophet224
    Participant

    So, my site is working fine so far with one exception. Although the additional user profile fields that I have added appear in Registration, and appear as options to modify their visibility in Settings (and currently show set to ‘Everyone’), the additional fields and any data filled into them during Registration do not appear when viewing a user’s profile. All new fields have been added to the ‘Base’ group, but only ‘Name’ appears.

    There are a bunch of things working together, so I think maybe something is overriding the new fields, but I’m not sure what.

    I have tested this on Twenty-Fifteen and the problem still occurs.

    Below are the main plugins in play, and the site link. Thank you for any help or suggestions.

    – Matt

    Site: http://test.corsairs.network
    Theme: Atahualpa 3.7.24
    BuddyPress v2.7.4
    BuddyPress for Learndash v1.1.0
    bbPress v2.5.10
    LearnDash and bbPress Integration v1.2
    LearnDash LMS v2.2.1.2

    #263414
    shanebp
    Moderator

    You can change parameters by passing an array in your overload.

    Example – you may need to change the passed values.

    <?php 
    $args = array(  
            'hide_empty_groups'      => false,
    	'hide_empty_fields'      => false
            );
    if ( bp_has_profile( $args ) ) : ?>
    #263405
    john.horning
    Participant

    Okay – discovered that the overload file needs to be in wp-content/themes/buddyboss-child/buddypress/members/single/profile and verified it by making a random change to the file, but I’m still not seeing fields without values.

    PS For some reason, the system won’t allow me to paste the code.

    #263397
    john.horning
    Participant

    Thanks for the quick response, but doesn’t seem to be working for me. I created the template overload of profile-loop.php and stored it in wp-content/themes/buddyboss-child/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile. I’ve pasted the entire file below after modification.

    I can’t find it now, but there was a thread somewhere that indicated that the following line needed to be changed in bp-xprofile-template.php so was wondering what you thought of that.
    $hide_empty_fields_default = ( ! is_network_admin() && ! is_admin() && ! bp_is_user_profile_edit() && ! bp_is_register_page() );

    Anyway, here’s my profile-loop.php:
    `

    john.horning
    Participant

    When a user is viewing their own profile, I would like to show them all fields, regardless of whether they have values or not. I don’t want to force them to enter values, but I do want to make it obvious which fields are empty.

    So I understand that hiding fields is done in this file: bp-xprofile-template.php. Can someone tell me how to modify it so no fields are hidden when users are viewing their own profiles? I realize it’s poor practice to modify plugin files so am also open to other suggestions on how to accomplish this.

    #263371
    mrblade
    Participant

    hi, use the xprofile plugin. I set the directory page to show only one profile, with ( bp_has_members( ‘per_page=1&type=random’ ) ).
    I would like to show the fields of the current profile (bp_directory_members_item) in the sidebar, or in a widget. I have tried in some ways but the problem is that the sidebar is out of the member loop.

    for call xprofile fields i use this in bp-custom.php

    
    add_action('bp_directory_members_item', 'bphelp_dpioml');
    function bphelp_dpioml(){
    $bphelp_my_profile_field_1='field1';
    $bphelp_my_profile_field_2='field2';
    if( is_user_logged_in() && bp_is_members_component() ) { ?>
    <div class="bph_xprofile_fields" style=" margin-left: 25%;">
    <?php echo $bphelp_my_profile_field_1  ?>:&nbsp;<?php echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_1 );  ?><br />
    <?php echo $bphelp_my_profile_field_2  ?>:&nbsp;<?php echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_2 );  ?><br />                    
    </div>
    }
    }
    

    anyone have any idea how can I do?
    Thanks!!
    andrea

    #263289
    danbp
    Participant

    Hi, that’s what i expected. You’re not after coding errors, but enduser errors, ie you omitted this field…

    For each xprofile field you create, BP let you select some option. Depending on them, you can see some messages when a field is left blank. These message are displayed by field type, and so far i know, there is no easy way for cibling precisely a given field once you’ve defined a field type.

    The xprofile component is not such a sophisticated tool like ContactForm 7 or similar form plugins. It was created to insert more fields inside the basic WP registration page. Because of this, it is volontary left “simple”. If you need more functionnalities over your custom fields, search for a compatible form plugin who allow that.

    I don’t think that BP let you do much more in matter of field option as actually. Not out of the box and not without a lot of custom coding.

    #263264
    penpalculture
    Participant

    Hello!

    I have different field groups on my buddypress. So users can edit different field groups on their profile. Now my issue is on two of the group fields – when you click on them in the front end, it redirects to an imagine – for example: http://www.penpalculture.com/downloads/ms_5413. Instead of the correct url: http://www.penpalculture.com/members/caragiulia/profile/edit/group/5/ – when I open the url directly it works but not when you click on the field itself. If that makes sense.
    Deleting the image it directs to also doesn’t help, just an other photo will show up. I’ve deleted the whole group field before and then just an other field group had the issue.
    I’ve deactived all plugins that could be related to this problem, changed to the normal theme but nothing worked. I’m running out of idea’s what could be the issue.

    Thank you for your help.

    #263246
    noobiestrikesagain
    Participant

    Hello everyone!

    I am trying to make a checkbox before ‘Account Details’ on registration page.
    Step 1.

    Is there any way so that when user click continue, Rest of registration page loads through AJAX or something?:
    Step 2.

    More like step registration?

    Here’s my code for step 1:

    function tos_register() {
    ?>
    <input type="checkbox" name="tos" value="termsandconditions"> By clicking continue you are agreeing to the <a href="">Terms and Conditions.</a><br>
    
    <div class="submit">
                        <input type="submit" name="signup_continue" id="signup_continue" value="<?php esc_attr_e( 'Continue', 'buddypress' ); ?>" />
                </div>
    <?php
    }
    add_action( 'register_form', 'tos_register' );
    
    function tos_intial() {?>
        <div class="register-section" id="profile-details-section">
           <?php 
        do_action('register_form'); ?>
    </div>
    <?php
     }
    add_action('bp_before_account_details_fields', 'tos_intial',20);

    I was able to code everything but I am not able to use break and continue in php with registration page. Maybe through Nonce? I shall be very grateful for your suggestions.

    Looking forward for replies.

    Thanks a lot!

    noobiestrikesagain
    Participant

    Hello everyone!

    I am trying to make a checkbox before ‘Account Details’ on registration page.
    Step 1.

    Is there any way so that when user click continue, Rest of registration page loads through AJAX or something?:
    Step 2.

    More like step registration?

    Here’s my code for step 1:

    function tos_register() {
    ?>
    <p><input type="checkbox" name="tos" value="termsandconditions"> By clicking continue you are agreeing to the <a href="">Terms and Conditions.</a><br></p>
    <div class="submit">
                        <input type="submit" name="signup_continue" id="signup_continue" value="<?php esc_attr_e( 'Continue', 'buddypress' ); ?>" />
                </div>
    <?php
    }
    add_action( 'register_form', 'tos_register' );
    
    function tos_intial() {?>
        <div class="register-section" id="profile-details-section">
           <?php 
        do_action('register_form'); ?>
    </div>
    <?php
     }
    add_action('bp_before_account_details_fields', 'tos_intial',20);

    I was able to code everything but I am not able to use break and continue in php with registration page. Maybe through Nonce? I shall be very grateful for your suggestions.

    Looking forward for replies.

    Thanks a lot!

    #263213
    bsreverman
    Participant

    That’s the problem – when I try to delete the field from my admin dashboard>users>xprofile fields than the situation I described in the initial post is what is happening. The developers of my theme said they had encountered this as a buddypress issue before and asked me to contact you. As this happens in twenty-fourteen as well I’m assuming it is not a theme issue.

    #263212
    danbp
    Participant

    I mentionned the front-end xprofile admin because you mentionned you want to delete some fields from “base” group. As site admin, you can access any user profile from front-end and modify the fields.

    As site admin, you have also the possibility to access those fields from within the admin dashboard, where you can physically delete xprofile fields…

    User Extended Profiles

    As i don’t want to login to dropbox to see your screenshot, i ignore what you mean precisely at this time… except “delete some fields” which is, so far, enough for me.

    FYI, any xprofile field goes on the registration page. And the fields themselves are in the admin under dashboard > users > xprofile fields

    #263211
    bsreverman
    Participant

    Hi Thanks for your reply but I’m not sure how the codex you sent me is helpful. I’m trying to set up the registration page as the admin – not edit those fields after the fact. Here is a screenshot of the backend of my user profile fields page. There is a button to delete fields, but no save button anywhere on the page. What am I missing.

    https://www.dropbox.com/home/Screenshots?preview=Screenshot+2017-01-27+19.54.00.png

    #263210
    danbp
    Participant

    You say nothing about where you try to delete your fields.

    So i assume you are using BuddyPress the standart way and are working as “site admin” in the backend.

    Read here:

    Profile → Edit

    Generally, when removing something comes back after you did it, it is because you forgot to save your changes. So far i know, there is no ghost or 4th dimension inside BuddyPress. 🙂

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