Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,576 through 2,600 (of 3,575 total)
  • Author
    Search Results
  • #106744
    clinthorner
    Member

    I have the same requirements. I guess I am not advanced enough to use the solution posted above. I tried messing with the solution above but am really getting nowhere. Can you elaborate on this? Does anybody else have a solution?

    #106650
    Paul Wong-Gibbs
    Keymaster

    Take a look at xprofile_insert_field() in xprofile.php

    #106168
    r-a-y
    Keymaster

    No plugin exists for this at the moment.

    This has to be manually coded. If you’re a plugin developer, check out this codex article:
    https://codex.buddypress.org/developer-docs/group-extension-api/

    And also check out the groupmeta functions in /bp-groups.php.

    There are a few threads about this on buddypress.org. I’d suggest doing a search on Google.

    An example can be found here:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-fields-for-groups#post-78706

    #106159
    eliasbr
    Member

    It should be
    `echo bp_member_profile_data(‘field=province’); `

    #106140
    Dave Wright
    Participant

    And another bump!
    I am still stuck on this, searching specific x-profile fields and excluding others
    PLEASE HELP!!!

    #106007
    ssmith2
    Member

    Just started up Buddypress and Easy Albums. All ok except for no ability for a visitor / friend to ’register’, ’create account’ or ’sign up’ in the Members fields.

    I have icons of Newest – Active and Popular but nothing for visitors to register and create profile. Currently I am the only one listed on site as a member with ability to create / edit my profile. Am I missing something obvious?
    Can someone tell me where to start at getting a registration Sign up function operating?

    i_banks
    Member

    “I don’t believe it does anything in BuddyPress itself.”

    I’m sorry, I don’t understand what you mean with this line. From my understanding, every action has a function associated with it somewhere in the BuddyPress files. The line `do_action(‘bp_after_signup_profile_fields’)` (in the register.php file), seems like it does something like in the registration process…maybe some sort of an evaluation to make sure the user is ready for the next step…whatever that something is I’m trying to figure it out…

    Now, I’m not familiar with “grep” and never used it. You say that it’ll tell me all of the instances of that text. Does that give me the function(s) associated with that action?

    Boone Gorges
    Keymaster

    Use grep. That’s what I do. From the UNIX or Mac Terminal command line, cd to your buddypress installation directory. Then:
    `grep -nR ‘bp_after_signup_profile_fields’ ./`

    That’ll tell you all the locations of all the instances of that text.

    In the case of this particular do_action, I am pretty sure it is just there for the use of other plugins. I don’t believe it does anything in BuddyPress itself.

    #105480
    r-a-y
    Keymaster

    A user needs to fill in these fields in order for them to show up on their profile page.

    The profile page can usually be found here:
    example.com/members/USERNAME/profile/

    #105448
    Hugo Ashmore
    Participant

    Need to be a little more explicit with info please. You added extended xprofile fields, with new group or under the base group? What versions of BP and WP are you running? Are you using a custom theme? If you are can you try deactivating it and using the BP-default theme and verify whether the same problem still manifests.

    Luca Foss
    Member

    I followed the latter of the suggestion..it was the easiest because all of the conditional statements are to much to follow…but the error I’m getting now is

    `Fatal error: Call to a member function profile_groups() on a non-object in /home/content/s/o/c/socialowner/html/21andolder/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-templatetags.php on line 160`

    I’m researching this error as I speak…

    r-a-y
    Keymaster

    To find the profile group id, navigate to “BuddyPress > Profile Field Setup”.

    Then under the profile group you want, hover over the “Edit” or “Delete” link.

    You should see a link that looks like this:
    `/wp-admin/admin.php?page=bp-profile-setup&mode=edit_group&group_id=2`

    “group_id” is the variable you’re looking for.

    The alternative is to remove the `’profile_group_id=1’` declaration in the register template, that should show all profile fields that you have created.

    #105274

    In reply to: What Is XProfile?

    pcwriter
    Participant

    No, uploading an avatar is the second step in the registration process. Once a user fills out the form on your signup page (filling in all the fields you define in “Profile Field Setup – Base Group”) and clicks the “Complete Sign Up” button, the next page they see will allow them to upload their avatar. Users can also change their avatar right in their member’s profile after they have registered on your site.

    #105273

    In reply to: What Is XProfile?

    modemlooper
    Moderator

    after they sign up the xprofile fields there is a second screen that asks to upload an avatar.

    #105271

    In reply to: What Is XProfile?

    v_andreev
    Member

    thanks so much for the reply…

    I found it almost right after I made my second post and began adding fields already…so basically the register.php code looks for these fields and displays them…my only other question is how would someone add a avatar for their profile..is this one of the options in the admin area too?…

    #105269

    In reply to: What Is XProfile?

    pcwriter
    Participant

    @v_andreev

    Like @modemlooper said, xprofile fields are added through your WordPress backend admin area (MUCH easier than trying to hack your way through register.php).

    Go to “Buddypress” > “Profile Field Setup” and add your registration fields there. Any fields you add in the first (“Base”) group will appear on your registration page.

    #105267

    In reply to: What Is XProfile?

    v_andreev
    Member

    I came across this code in the register.php file

    I’m creating a join page with registration fields (regardless of if someone has signed in or not) and I want all of them to show, but apparently the fields stop loading when it reaches the line above.

    How does that line affect the display of my fields? Is it saying “if the ability for someone to create a profile has been approved”?..what does that mean?

    #105266

    In reply to: What Is XProfile?

    modemlooper
    Moderator

    it’s the profile fields you set up in the admin. xprofile = extended profiles. Meaning you can add as many fields as you want.

    #105081
    Philipp
    Participant

    @aljuk Another 6 hours of work and sill no solution. I tried exactly what you said. And I also tried it on my development installation – There it’s working like a charm. I don’t have an idear what to do… ;(
    I use the latest versions of bp and wp. On my testdrive I use the same plugins. I also checked another theme.
    All this work just to hide ONE profile field.
    Do you have another idear? ;)

    Thanks a lot!

    Philipp

    #105033
    modemlooper
    Moderator

    has_members()
    next_member()
    rewind_members()
    members()
    the_member()
    bp_rewind_members()
    bp_has_members( $args = ” )
    ‘type’ => $type,
    ‘page’ => $page,
    ‘per_page’ => 20,
    ‘max’ => false,
    ‘include’ => false, // Pass a user_id or comma separated list of user_ids to only show these users
    ‘user_id’ => $user_id, // Pass a user_id to only show friends of this user
    ‘search_terms’ => $search_terms, // Pass search_terms to filter users by their profile data
    ‘populate_extras’ => true // Fetch usermeta? Friend count, last active etc.

    bp_the_member()
    bp_members()
    //Misc
    bp_members_pagination_count()
    bp_members_pagination_links()
    bp_member_user_id()
    bp_get_member_user_id()
    bp_member_user_nicename()
    bp_get_member_user_nicename()
    bp_member_user_login()
    bp_get_member_user_login()
    bp_member_user_email()
    bp_get_member_user_email()
    bp_member_is_loggedin_user()
    bp_member_avatar( $args = ” )
    bp_get_member_avatar( $args = ” )
    ‘type’ => ‘thumb’,
    ‘width’ => false,
    ‘height’ => false,
    ‘class’ => ‘avatar’,
    ‘id’ => false,
    ‘alt’ => __( ‘Member avatar’, ‘buddypress’ )

    bp_member_permalink()
    bp_member_link()
    bp_get_member_link()
    bp_member_name()
    bp_get_member_name()
    bp_member_last_active()
    bp_get_member_last_active()
    bp_member_latest_update( $args = ” )
    bp_get_member_latest_update( $args = ” ) {
    ‘length’ => 15

    bp_member_profile_data( $args = ” )
    ‘field’ => false, // Field name
    bp_member_registered()
    bp_get_member_registered()
    bp_member_add_friend_button()
    bp_add_friend_button( $members_template->member->id, $friend_status )
    bp_member_total_friend_count()
    bp_get_member_total_friend_count()
    bp_member_random_profile_data()
    bp_member_hidden_fields()
    bp_directory_members_search_form()
    bp_total_site_member_count()
    bp_get_total_site_member_count()
    //Check bp-core-templatetags.php for comments about nav tags
    bp_get_loggedin_user_nav()
    bp_get_displayed_user_nav()
    bp_get_options_nav()
    bp_get_options_title()
    //Avatar Tags
    bp_has_options_avatar()
    bp_get_options_avatar()
    bp_comment_author_avatar()
    bp_post_author_avatar()
    bp_loggedin_user_avatar( $args = ” )
    bp_get_loggedin_user_avatar( $args = ” ) {
    ‘type’=> ‘thumb’,
    ‘width’=> false,
    ‘height’=> false,
    ‘html’=> true

    bp_displayed_user_avatar( $args = ” )
    bp_get_displayed_user_avatar( $args = ” )
    ‘type’=> ‘thumb’,
    ‘width’=> false,
    ‘height’=> false,
    ‘html’=> true

    bp_avatar_admin_step()
    bp_get_avatar_admin_step()
    bp_avatar_to_crop()
    bp_get_avatar_to_crop()
    bp_avatar_to_crop_src()
    bp_get_avatar_to_crop_src()
    bp_avatar_cropper()
    //Other
    bp_site_name()
    bp_core_get_wp_profile()
    bp_get_profile_header()
    bp_exists( $component_name )
    bp_format_time( $time, $just_date = false )
    bp_word_or_name( $youtext, $nametext, $capitalize = true, $echo = true )
    bp_your_or_their( $capitalize = true, $echo = true )
    bp_get_plugin_sidebar()
    bp_page_title()
    bp_get_page_title()
    bp_styles()
    bp_has_custom_signup_page()
    bp_signup_page()
    bp_get_signup_page()
    bp_has_custom_activation_page()
    bp_activation_page()
    bp_get_activation_page()
    bp_search_form_enabled()
    bp_search_form_action()
    bp_search_form_type_select()
    bp_search_form()
    bp_log_out_link()
    bp_custom_profile_boxes()
    bp_custom_profile_sidebar_boxes()
    bp_create_excerpt( $text, $excerpt_length = 55, $filter_shortcodes = true )
    bp_is_serialized( $data )
    bp_total_member_count()
    bp_get_total_member_count()
    bp_signup_username_value()
    bp_get_signup_username_value()
    bp_signup_email_value()
    bp_get_signup_email_value()
    bp_signup_with_blog_value()
    bp_get_signup_with_blog_value()
    bp_signup_blog_url_value()
    bp_get_signup_blog_url_value()
    bp_signup_blog_title_value()
    bp_get_signup_blog_title_value()
    bp_signup_blog_privacy_value()
    bp_get_signup_blog_privacy_value()
    bp_signup_avatar_dir_value()
    bp_get_signup_avatar_dir_value()
    bp_current_signup_step()
    bp_get_current_signup_step()
    bp_signup_avatar( $args = ” )
    bp_get_signup_avatar( $args = ” ) {
    ‘size’ => BP_AVATAR_FULL_WIDTH,
    ‘class’ => ‘avatar’,
    ‘alt’ => __( ‘Your Avatar’, ‘buddypress’ )
    bp_signup_allowed()
    bp_get_signup_allowed()
    bp_blog_signup_allowed()
    bp_get_blog_signup_allowed()
    bp_account_was_activated()
    bp_registration_needs_activation()
    bp_mentioned_user_display_name( $user_id_or_username )
    bp_get_mentioned_user_display_name( $user_id_or_username )
    bp_get_option( $option_name )
    bp_ajax_querystring( $object = false )
    bp_last_activity( $user_id = false, $echo = true )
    bp_user_has_access()
    bp_user_firstname()
    bp_get_user_firstname()
    bp_loggedin_user_link()
    bp_get_loggedin_user_link()
    bp_loggedinuser_link()
    bp_displayed_user_link()
    bp_get_displayed_user_link()
    bp_user_link()
    bp_displayed_user_id()
    bp_current_user_id()
    bp_loggedin_user_id()
    bp_displayed_user_domain()
    bp_loggedin_user_domain()
    bp_displayed_user_fullname()
    bp_get_displayed_user_fullname()
    bp_user_fullname() { echo bp_get_displayed_user_fullname()
    bp_loggedin_user_fullname()
    bp_get_loggedin_user_fullname()
    bp_displayed_user_username()
    bp_get_displayed_user_username()
    bp_loggedin_user_username()
    bp_get_loggedin_user_username()
    bp_current_component()
    bp_current_action()
    bp_current_item()
    bp_action_variables()
    bp_root_domain()
    bp_get_root_domain()
    //Conditionals
    bp_is_blog_page()
    bp_is_my_profile()
    bp_is_home()
    bp_is_front_page()
    bp_is_activity_front_page()
    bp_is_directory()
    bp_is_page($page)
    bp_is_active( $component )
    bp_is_profile_component()
    bp_is_activity_component()
    bp_is_blogs_component()
    bp_is_messages_component()
    bp_is_friends_component()
    bp_is_groups_component()
    bp_is_settings_component()
    bp_is_member()
    bp_is_user_activity()
    bp_is_user_friends_activity()
    bp_is_activity_permalink()
    bp_is_user_profile()
    bp_is_profile_edit()
    bp_is_change_avatar()
    bp_is_user_groups()
    bp_is_group()
    bp_is_group_home()
    bp_is_group_create()
    bp_is_group_admin_page()
    bp_is_group_forum()
    bp_is_group_activity()
    bp_is_group_forum_topic()
    bp_is_group_forum_topic_edit()
    bp_is_group_members()
    bp_is_group_invites()
    bp_is_group_membership_request()
    bp_is_group_leave()
    bp_is_group_single()
    bp_is_user_blogs()
    bp_is_user_recent_posts()
    bp_is_user_recent_commments()
    bp_is_create_blog()
    bp_is_user_friends()
    bp_is_friend_requests()
    bp_is_user_messages()
    bp_is_messages_inbox()
    bp_is_messages_sentbox()
    bp_is_notices()
    bp_is_messages_compose_screen()
    bp_is_single_item()
    bp_is_activation_page()
    bp_is_register_page()
    bp_the_body_class()
    bp_get_the_body_class( $wp_classes, $custom_classes = false )

    #104856
    aljuk
    Member

    Hmm, that’s strange. It’s working for me exactly as advertised.
    What’s the history of your theme? Is it default, child, custom etc?

    Maybe cookies…
    In the Admin, set “let user decide” for some fields.
    Log out.
    Clear your cookies, make sure to delete all cookies from the domain, and from any test domains, and any local domains (eg. mamp wamp etc. if you’re using that) that you’re developing the site on.
    Log in as a subscriber level user.
    What result now?

    #104844
    Philipp
    Participant

    @aljuk Thanks a lot for you answer. But I also tried that and I logged out as admin and signed in as a normal user. Still the same.
    Another idear?

    Thanks a lot for the link. I’ll take a look to it! :)

    All the best!

    #104829
    aljuk
    Member

    “If I activate it and set a field (e.g. birthdate) to “users only” – nothing happens. There are also no settings for the users in the frontend of buddypress.”

    If you set it to “users only” in Admin, you’re not giving your user the choice, and that’s why there is no selector in the front end. The user will only get the selector if you choose “let user decide”.

    #104828
    aljuk
    Member

    @philippmuenchen – it works fine. I’m guessing you’re trying to test it while you’re logged in as Admin? The privacy controls don’t apply to Admin. Admin can see everything. Log in as a regular user and then test.

    Age calculation: http://code.hyperspatial.com/all-code/buddypress-code/buddypress-age/

    @noizeburger – it works for all fieldgroups, not just Base.

    #104824
    Philipp
    Participant

    Hi and sorry for the second post. But I’m trying to find out since one week why the BP Profile Privacy PlugIn isn’t working for me.
    If I activate it and set a field (e.g. birthdate) to “users only” – nothing happens. There are also no settings for the users in the frontend of buddypress. So there’s something wrong? Any idear what to try to fix it?

    I’m looking forward – Hopefully for an answer! ;)

    Philipp

Viewing 25 results - 2,576 through 2,600 (of 3,575 total)
Skip to toolbar