Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,601 through 2,625 (of 3,593 total)
  • Author
    Search Results
  • 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

    #104773
    richprice316
    Member

    if you got a step-by-step or could elaborate further on this I would appreciate it mate.

    You are the first person to make me feel like this is even possible thank you!

    I am very new to php and buddypress etc so trying my best but not quite to the levels you are speaking of

    #104632
    r-a-y
    Keymaster

    You need to override the new user admin email function:
    https://codex.wordpress.org/Function_Reference/wp_new_user_notification

    Then you need to call on some BuddyPress functions to grab the xprofile data.

    xprofile_get_field_data() (located in bp-xprofile.php) will help.

    If all this is foreign to you, short answer is “it’s possible, but requires coding” ;)

    r-a-y
    Keymaster

    The create group function is groups_create_group(); it can be found in /bp-groups.php.

    You can add checks for profile fields when a user activates their account with the “bp_core_activated_user” action, available in the bp_core_activate_signup() function (this can be found in /bp-core/bp-core-signup.php).

    Hope that gives you a few pointers.

    #104574

    aljuk, thanks for the reply.

    1. I think the BP Profile Privacy plugin is just what I need.

    2. I’m not sure about the BuddyPress Private Community plugin. I think I’ll have to install it and play with it and see if it’s helpful for me..

    3. When you say “All of that should, and does, happen as a matter of course”, *Name* is a core field but doesn’t break a user’s name down into first name, middle initial and last name. So in order for me to have that level of granularity for the user name, I’ll have to add a “First Name” field, a “Middle Initial” field and a “Last Name” field. So I end up asking the user to fill in their name information twice and the value the user enters into the “Name” might not match the combined values of the “First Name” field, “Middle Initial” field and “Last Name” fields. I’d much rather have the user enter values in those fields then concatenate those entries to fill the “Name” field.

    4. So is there a way I can manage group members profile management separately from visitor management? If I set up the BP profile fields with the level of granularity I need for our members, that would be way too much information to ask a visitor to enter just to be able to register to leave comments.

    5. Sounds to me like until I can heap enough abuse on the folks over at Artisteer, I’ll have to retweak theme files every time I make a change to the theme with Artisteer. Your suggestion of constructing a child theme sounds like it would work but I’d have to have my “real” theme become a child theme to the BuddyPress default theme and that seems to me to be the exact opposite of how things ought to work. It would be really nice if there was some way to install the BuddyPress default theme as a limited child theme to my Artisteer theme without overriding my Artisteer theme formatting. That does bring up a question though… is there any way I can create page templates for profile management that use the BuddyPress default theme yet have the rest of the site maintain use of the Artisteer theme? Another option might be putting up profile management on a separate domain and synchronizing the database from there to the main site’s database. However, this sounds like a level of development that’s probably above my skill level (I’m not a PHP programmer but am at least a fair HTML guy).

    Again, thanks much for your help.

    #104370
    Philipp
    Participant

    It is in the fieldgroup “ID1”.

    #104358
    noizeburger
    Participant

    BP Profile Privacy only works for fields in the fieldgroup “Base” (ID 1). In which group did you place the birthday field?

    #104335
    Philipp
    Participant

    I activated it and made my settings but nothing happens. E.g. I said “Birthday” just for “User” but it’s still visible. There are also no settings in the frontend if I use “Let user decide”.
    I already deleted all fields with “bp_profile_privacy” in the database and activated the plugin again. But it’s still the same… No idear!?

    Thanks a lot!

Viewing 25 results - 2,601 through 2,625 (of 3,593 total)
Skip to toolbar