Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1,876 through 1,900 (of 5,755 total)
  • Author
    Search Results
  • #227729

    In reply to: Separate Business User

    Henry Wright
    Moderator

    Hi @navinachettri

    1. Have you searched the plugin directory?
    2. This can be done via hooks. It will need some custom code (not much, just a few lines).
    3. You could hide or show xProfile fields according to role. How exactly roles are created and managed will be dependent on point 1
    4. Again, to distinguish business users from ‘normal’ users, you’d use the roles created via the plugin you’re using from point 1. The jobs and adverts could each have their own custom post type
    5. This will need to be custom coded

    Hope that helps?

    #227727
    parambyte
    Participant

    Hello. I am creating a buddypress community (latest version of WP and BB) and want certain fields of the extended profile fields to be non-editable by members (like first name, surname, membership number etc).

    How can this be dong?

    vanleurth
    Participant

    Hi everybody,

    I have a registration page with one additional xprofile field named location.
    I would like to have that field pull data from the database instead of from the profile field values. This is, when using xprofile fields the fields can be filled manually by entering the options under the profile menu in buddypress. But instead of having the field read from an static option list I would like the field to pull the data from a db.

    This is what i’m thinking.
    1. Create register.php and put it in my child theme under buddypress
    2. Hack the register.php file using wpquery to pull values into drop down fields.

    Anyone has done this before?

    Any links or help is appreciated

    Thank you

    V.

    #225864

    In reply to: Members Directory

    Chrisw83
    Participant

    For anyone looking. Here is an update.

    1) I have created a page and called it, Homeowners Directory. In buddypress I have selected this page to show the members directory Buddypress -> Pages -> Members. How do I change the title of this page from Members to something else?

    /wp-content/plugins/buddypress/bp-members/bp-members-loader.php

    ‘directory_title’ => _x( ‘Members’, ‘component directory title’, ‘buddypress’ ),

    Change Members to what you need.

    2) Currently on the Members Directory the members Name is shown, how do I add other profile fields here?
    (Note, I am using s2member)

    Add the following code below “><?php bp_member_name(); ?><br />

    Change street_address to your s2member profile ID.

    <?php
    $id400 = bp_get_member_user_id();
    $fields = get_s2member_custom_fields($id400);
    echo $fields[“street_address”][“user_value”];
    ?>

    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    4) When you click on and view someones profile, what file do I need to edit to add a Return button to go back to the members directory?

    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php

    #225229
    danbp
    Participant

    hi @kristinrutten,

    have you imported users from an older wp site ?
    Are you hosted on wpengine ? (toc toc @hnla ? )

    Try to use the repair tool: dashboard > tools

    What about avatar settings ? dashboard > general > discussion

    About plugins
    buddypress toolbar was intended for 1.5/1.6/1.7 – outdated now.
    BuddyPress Members Import did you use it more as 1 time ?
    On a default install, WP and BP users are in the same table: wp_users
    In BP settings you can sync WP and BP users. Extended profile fields are stored in 4 other tables: _xprofile_somename
    And WP has is own import tools…
    IMO you can deactivate them.

    Deactivate all plugins, but BP and activate 2013 theme. At this stage the avatars should appear.

    #223908

    In reply to: Members Directory

    danbp
    Participant

    1) https://codex.buddypress.org/getting-started/configure-components/

    2) https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/edit-xprofiles-admin-screen/

    https://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/

    3) is built in on members directory. Each profile item becames clickable by default, letting users find others having entered the same information.
    Example:
    User A = City -> New York (NY is clickable)
    User B = City -> New York (NY is clickable)
    User C = City -> San Francisco (SF is clickable)

    When user B click on NY he will see user A as search result
    When user C click on SF he will only see himself

    4) He use the buddy menu. This menu can be installed by going to dashboard > apparence > menu. If BP menu is not in the left side, under the other menus, open the screen option (top right corner) and check BuddyPress. Now you can set your BP menu like any other WordPress menu.
    https://codex.wordpress.org/WordPress_Menu_User_Guide

    When you’re new to something, you must read the documentation first. Also before asking on a help forum, you must search if your question wasn’t already asked and answered.

    Happy install ! 😉

    #223906

    Topic: Members Directory

    in group forum Requests & Feedback
    Chrisw83
    Participant

    1) I have created a page and called it, Homeowners Directory. In buddypress I have selected this page to show the members directory Buddypress -> Pages -> Members. How do I change the title of this page from Members to something else?

    2) Currently on the Members Directory the members Name is shown, how do I add other profile fields here?

    3) How do I make the search feature search all of the member fields? I have used s2member to create all the new username fields.

    4) When you click on and view someones profile, what file do I need to edit to add a Return button to go back to the members directory?

    I can provide access to the site if it is needed.

    Thanks,
    Chris

    #223419
    ericreynolds007
    Participant

    Thank you. I was able to move the code below in the edit.php file. However, I could only place it below the field input or above the field label. I cannot position it between the field label and the field input.

    <div class="clear"></div>
    
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    <div<?php bp_field_css_class( 'editfield' ); ?>>
    
    <?php
    $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
    $field_type->edit_field_html();
    	do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    ?>
    				
    <p class="description"><?php bp_the_profile_field_description(); ?></p>
    
    <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
    	<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _e( 'Change', 'buddypress' ); ?></a>
    </p>
    adamt19
    Participant

    Let’s say you have 5 XProfile fields each of which have 5 potential answers, with a simple 1-5 relationship between the answers, and you’re trying to build a progress bar.

    The answers all vary in their labeling, so the most obvious solution would be to check the literal string value of each answer and modify your progress bar accordingly.

    But if you make even a slight adjustment to the text of any answer, you obviously introduce a breaking change.

    Also, if you change the text of a profile answer, it doesn’t change the saved data for users who answered the question before the change.

    So, how can I use the answer ID, instead, so that if we make changes to the text of a profile field, I don’t have to include both the old and new answer in my checks?

    danbp
    Participant

    hi @roddaut,

    don’t thought to much, a theme can influence over all a site, including the admin. This happens in 90% of the issues handled on this forum.

    Thought the latest Canvas was 2014.10.14 – version 5.8.5

    funkolector
    Participant

    Hi guys,

    I recently set up a fresh new buddypress, but while i’m configuring the main profile fields, I got a javascript bug in the Admin :
    http://i59.tinypic.com/5p3qfk.png

    I deactivated all plugins, reset my wp-content directory name, etc…
    Stil got this weird bug…

    Any idea?

    Tanx in advance for you help!

    #220263
    TAC28
    Participant

    Thanks again 🙂

    I know how to edit the Profile Fields now.

    I have changed the wording in the register.php file and just want to know where to upload it so the changes will show up?

    #220262
    danbp
    Participant

    Members are the heart of BuddyPress. When a user register on a BP activated site, this user is automatically a “member”.

    So i guess “they are not registering for the site, just the members area” is just impossible. Don’t know what you already did to get a “private” member area, but if you have an issue, it’s mostly because you did something wrong. 😉

    To confirm to readers what you already get to work:

    To modify the registration page, on which appears the login fields belonging to WP (user, username, email & password), BP adds his own additionnal fields, under condition you activated the xProfile component.

    By default, BP add only one field in the mandatory field group “Base”: NAME.

    When the admin add a new field, he can choose between different field status, and depending this status, you will see phrase such as “This field can be seen by: “.

    These settings are avaible in Dashboard > Users > Profile Fields

    #220260
    TAC28
    Participant

    Hi and thank you danbp,

    I have read the documentation but not the codex yet.

    I also had read that article on the modifying the registration page but I can’t see anything relating to changing the text on the live registration page. I don’t want it to say “Registering for this site is easy….” because they are not registering for the site, just the members area. I have changed the text in the register.php file but wherever I upload it to the changes do not show up.

    It did help me find the setting in Profile Fields to change the “This field can be seen by: Everyone” text to “This field can be seen by: All Members” 🙂

    #220257
    danbp
    Participant

    hi @tac28,

    as you’re a first timer, i would suggest that you read attentively the Codex, and try to understand how BuddyPres works.

    I am using a child theme based on Headway Base and have no need of a bp theme.

    You can use any theme you want with BuddyPress.

    Modifying the registration page is explained here.

    xProfile fields settings is explained here.

    #213735
    b2marketing
    Participant

    Hi

    Sorry had to go to bed.

    Yes it is a custom profile field I created and it is working when using Buddypress 2.0.2 but updating to latest 2.1.1 then all members disappear from the loop and I just get the “else” statement saying: No members found.

    I created the custom field by going to users -> profile fields.
    I then use the if statement above like this. Please see gist.
    https://gist.github.com/philipb2/bd689aa4b843235ec414

    Thanks

    #212780

    Topic: 2.2 top features

    in group forum Requests & Feedback
    SK
    Participant

    Have you tried BuddyPress 2.1.1? In one word, it is awesome.

    People may disagree, but I feel that with 2.0 and 2.1, BuddyPress has finally started coming into its own. A few of the features added/improved in these versions are:

    • Completely reworked and totally cool @mentions
    • New profile field types: URL, Number
    • Automatically downloaded translations
    • User Profile editing via Dashboard > Users
    • User management – Pending and Spam
    • Much, much faster

    Now, time to gear up for BuddyPress 2.2, scheduled for release on Christmas eve. Some key items billed for this release are:

    • #787 Link profile field data more smartly
    • #2086 Make slugs translatable
    • #5451 Groups query overhaul

    What would you like to see in 2.2? I’ll kick open the floodgates with my Christmas Wishlist (are you listening Santa a.k.a. @johnjamesjacoby @boonebgorges @djpaul @imath ?)

    • #4132 Account activation revamp and #5583 Simplify registration
    • #4539 Member photo galleries
    • #5564 Member search / Directory filters
    • #4126 Allow admin to select fields to display in user “excerps” on Groups’ user list page
    • #5500 Date xprofile field enhancement
    • #5502 Custom xprofile field: Address and #5496 Friends/Members near me
    • #5625 Use wp_editor for “multi line text area” xprofile field in frontend
    • #4357: Merge BuddyPress & bbPress user profiles
    #212524
    adamt19
    Participant

    @shanebp in wp_bp_xprofile_fields there is only one instance of each field/question

    #210720
    crell
    Participant

    Hi,
    Thanks for responding.
    It’s passing to an internal site URL.

    This link below is a recent post
    http://ashbournecyclingclub.co.uk/2014/10/group-ride-monsal-head

    If I then select “Edit my profile” from the menu, it takes me to:
    http://ashbournecyclingclub.co.uk/2014/10/group-ride-monsal-head/1/
    (note it’s appended “/1” to the end of the URL

    Theme is Heuman
    Wordpress 4.0

    Plugins are:
    Advanced Custom Fields
    Version 4.3.9 | By Elliot Condon | View details

    Akismet
    Version 3.0.2 | By Automattic | View details

    Black Studio TinyMCE Widget
    Version 2.0.4 | By Black Studio | View details | Home | FAQ | Support | Rate | Follow | Donate

    BuddyPress
    Version 2.1.1 | By The BuddyPress Community | View details

    Categories Images
    Version 2.4.2 | By Muhammad Said El Zahlan | View details

    Cat Post Type
    Version 1.0.1 | By Michel Bobillier aka Athos99 | View details

    Coming Soon / Maintenance mode Ready!
    Version 0.5.3 | By coming soon | View details

    Contact Form 7
    Version 3.9.3 | By Takayuki Miyoshi | View details

    Contact Form DB
    Version 2.8.16 | By Michael Simpson | View details

    Custom Facebook Feed
    Version 2.1.2 | By Smash Balloon | View details

    Enhanced Media Library
    Version 1.1.2 | By WordPress UX Solutions | View details

    Events Manager
    Version 5.5.3.1 | By Marcus Sykes | View details

    Jetpack by WordPress.com
    Version 3.1.1 | By Automattic | View details

    Leaflet Maps Marker
    Version 3.9.2 | By MapsMarker.com e.U. | View details

    Limit Login Attempts
    Version 1.7.1 | By Johan Eenfeldt | View details

    Maps Marker Pro ®
    Version 1.9 | By MapsMarker.com e.U.

    NextGEN Gallery by Photocrati
    Version 2.0.66.29 | By Photocrati Media | View details | Get help | Contribute

    Post Css Class
    Version 1.0.1 | By Michel Bobillier aka Athos99 | View details

    Quick Featured Images
    Version 8.2.1 | By Martin Stehle | View details

    Regenerate Thumbnails
    Version 2.2.4 | By Viper007Bond | View details

    TinyMCE Advanced
    Version 4.1.1 | By Andrew Ozz | View details

    Types – Complete Solution for Custom Fields and Types
    Version 1.6.3 | By OnTheGoSystems | View details

    Wordfence Security
    Version 5.2.6 | By Wordfence | View details

    WordPress SEO
    Version 1.6.3 | By Team Yoast | View details

    WP-PageNavi
    Version 2.86 | By Lester ‘GaMerZ’ Chan | View details

    WP FullCalendar

    1a-spielwiese
    Participant

    The problems are still unresolved:

    ++ Cfr. regarding problem A. (Making xProfile fields required only for members with a certain user role):

    https://wordpress.org/support/topic/making-bp-xprofile-fields-required-for-certain-user (posted today)

    ++ Hide theses xProfile fields for members with other user roles:

    https://wordpress.org/support/topic/bb-xprofiles-acl-does-not-work (posted one week ago)

    ++ Cfr. regarding problem D. (Making answers unchangeable):

    https://buddypress.org/support/topic/how-to-make-some-xprofile-field-to-uneditable/#post-206808 (posted two days ago).

    #207682
    Kris35
    Participant

    Hi @1a-spielwiese,

    Thanks for this. I had a look on your registration page where you have a few countries for members to select, but when I choose one, the same dropdown menu appears. Im not using any plugin at the moment – just the extended profiles in the components of Buddypress at the top of the list which includes checkboxes for activity streams, friend connections etc. I don’t want to use a plugin that hasn’t been updated in two years either.

    If I go to Users>Profile fields, this is where I was hoping to do this but the only way I can see to do it is to add, UK, then a list of counties. USA and then a list of states, and so on which would mean I would have a list a mile high of all the different countries and local areas.

    Am I missing something?

    Thanks a bunch,

    Kris

    #207115
    1a-spielwiese
    Participant

    A less elegant, but working solution regarding locations within states you can find on my registration page (section: ‘Profile Details – Teil III: Geographisches’):

    http://1a-spielwiese.de/registrieren/

    You can ask at first:

    • In which state (USA or UK?) do you live?
    • and then:

    • In which US-federal state respec. in which UK-county to you live?
    • and finally you can introduce the names of the federal states of the USA with ‘US-‘ and the names of the counties of the United Kingdom with ‘UK-‘.

    (You can ask this questions within the ‘base group’ of your xProfile fields – then they get displayed on your registration page automatically. Or you can make your further xProfile fields displayed on your registration page as well:

    https://buddypress.org/support/topic/reshaping-the-registration-page/#post-203615 [section 2nd].)

    #207114
    1a-spielwiese
    Participant

    Yes, there should be a way, but I was not able to follow the instructions / to realise that way.

    The basic idea is:

    • Create two (or more) new WordPress user roles, e.g.: Users-UK and Users-USA.
    • Then you can assign one xProfile-field, ‘In which [federal] state do you live?’, exclusively to your users with the user role Users-USA; and another x-Profile, ‘In which county do you live?’, to your users with the user role Users-UK.

    —

    The instructions for that solution you find there:

    https://buddypress.org/support/topic/resolved-different-profile-types-and-different-user-roles/

    (The user roles there are ‘bands’ and ‘fans’).

    And my report about my attempt to apply that instructions you find there:

    https://buddypress.org/support/topic/different-profile-types-and-different-user-roles-part-ii/

    My user roles are (sport) ‘teams’ and ‘fans’.

    —

    But unfortunately, I was not able to hinder, that ‘fans’ get displayed the questions (xProfile-fields) for ‘teams’ was well; and the ‘teams’ the questions for ‘fans’…

    —

    Further problem:

    Even if there is a solution regarding later profile edits – even complicate seems to be, to make already the registration page “input senstive”, because during registration the new user isn’t yet registered (i.e.: has no user role yet).

    Cfr. there:

    http://forum.wpde.org/buddypress/133961-registrierungsseite-umgestalten-anleitung-und-fragen.html (section 4. – unfortunately in German).

    Kris35
    Participant

    Hi. In extended profiles, I can’t see a way to add (say) states to America and counties to the UK. I have added a drop down box for countries but is there a way in which a new registration when they clcik on their country, another option appears for them to select their region within the country they live in?

    Thanks,

    Kris

    #206290
    danbp
    Participant

    To make a field uneditable, you can remove it from the edit page of each profile.
    You just have to enter the file ID, separated by coma if necessary to hide more than one.

    Add snippet to child-theme functions.php or bp-custom.php

    function bpfr_make_profile_field_uneditable( $retval ) {	
    	
    	if( is_user_logged_in()  && bp_is_profile_edit() ) {
    	
    	$retval['exclude_fields'] = '20,21,22';	// field id's
    	
    	} 
    	return $retval;
    	
    	}
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_make_profile_field_uneditable' );

    Reference:

    Using bp_parse_args() to filter BuddyPress template loops

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