Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 3,301 through 3,325 (of 5,755 total)
  • Author
    Search Results
  • #141576
    Guido
    Member

    Hi Paul (and everyone else),

    I noticed a file and code about default WP profile:

    In file ‘profile’ there’s a line called ‘Display WordPress profile (fallback)’ and in the same folder (Profile) there’s a file called ‘profile-wp’ with all default WP profile fields in it.

    I’m not a programmer, but is it possible to adjust those files so default WP profile fields are displayed in members profile? What do I have to adjust?

    Guido

    #141552
    4ella
    Participant

    Gravity forms has this very useful feature and I can’t imagine this plugin without conditional fields, I am using it a lot in every single form, try to take a look how this plugin works, maybe you will find some solution how to implement it.

    #141533
    redrocktoday
    Member

    I am not saying my project will have countries, states, cities etc. profile fields. I am only using the states dropdown list as an example. But definitely a few layers of nested profile fields are needed for my site. For whoever chooses to use multiple layers profile fields in their design for user registration, I am sure they already have the values(might be just 1 or 2 or 5) for each layer in their mind, it is certainly not unlimited; on the contrary, it may most likely have very limited number of option values in each field for users to choose from. And that is why I say it is a basic requirement in the perspective of admins of a BuddyPress site. It is the capability of having this nested/conditional profile fields provided in the 1st place that matters, not how many values that are going to the fields that matters.

    #141519
    Roger Coathup
    Participant

    This is far from ‘BASIC’, and also impractical from an interface perspective – for your specific requirement: 50 States each having say 50 cities, equates to 50 x 50 = 2,500 drop down controls you’d have to configure just on your 3rd layer.

    It also doesn’t take into account handling this in a generic way, and other fields (apart from drop downs) that might equally well want conditional behaviour attached to them (checkboxes, value entered in number field, etc.).

    Specialist form generation software might want to try and tackle this, but it’s not suitable for the base set of profile field functions offered by BuddyPress.

    —

    The best way to implement this for your Countries, States, Cities, etc. is to add the fields programmatically — if you search on Github, you’ll find a number of PHP arrays that have already been produced / maintained listing states and their corresponding cities.

    You can iterate over these arrays in your code (a plugin, or functions.php, etc) and generate the fields programmatically using the xprofile functions provided in the BuddyPress API.

    #141517
    redrocktoday
    Member

    @hugo: I think providing the choices with nested/conditional custom fields and the ability to be bond with automatic group assignments during user registration should be at the heart of making BuddyPress useful in a BASIC way. These are not some fancy stuff that we should expect come from the Plugins. Plus, if we depend on Plugins for all these patches to the foundamental parts of our BuddyPress powered sites, and if the Plugins not updated on time with the new release of BuddyPress Core, then we are completely doomed!

    Please, everyone, in the core dev team, reconsider this request. Thank you!

    In terms of the automatic group member depending on certain profile fields, here is another user’s request … https://buddypress.org/community/groups/miscellaneous/forum/topic/automatic-group-member-depending-on-fields-in-profile/

    #141506
    drrxa
    Participant

    I have a working code now, the following code is able to insert a select box profile field to the ‘base’ group with any long list of options that might be hard to insert manually through the user interface. this specific example will insert a profile field with the title of “Country” that contains all countries as options. Use this code in your `functions.php` or `bp-custom.php` file and you will notice a new profile field with the title of “Country” the next time you visit the Base group in Profile Fields admin area. You can then update and change the options to suit your needs and after that click “Save” button to register this field.

    Be aware that the following code will not add a new “Country” profile field as long as a profile field with the title of “Country” already exists, meaning that if you change the title to “List of Countries” for example, it will add a new profile field with the title of “Country” to your profile field, so I think it is better to use this code only once and whenever you need to insert a long listed profile field, and then remove the code from `functions.php` or `bp-custom.php` and keep on other place for future use.
    `
    add_action(‘bp_init’, ‘add_custom_country_list’); // That might not be the perfect hook to use
    function add_custom_country_list() {
    if (xprofile_get_field_id_from_name(‘Country’)) return;
    $country_list_args = array(
    ‘field_group_id’ => 1,
    ‘type’ => ‘selectbox’,
    ‘name’ => ‘Country’,
    ‘description’ => ‘Please select your country’,
    ‘is_required’ => true,
    ‘can_delete’ => false,
    ‘order_by’ => ‘default’
    );
    $country_list_id = xprofile_insert_field($country_list_args);
    if ($country_list_id) {
    $countries = array(‘USA’,’Germany’,’England’); // Google for “country list php” and replace this one
    foreach ($countries as $i => $country) {
    xprofile_insert_field(array(
    ‘field_group_id’ => 1,
    ‘parent_id’ => $country_list_id,
    ‘type’ => ‘selectbox’, // it is ‘selectbox’ not ‘option’
    ‘name’ => $country,
    ‘option_order’ => $i+1
    ));
    }
    }
    }
    `

    #141479
    Quint
    Participant

    There is a workaround which should work but I can’t confirm until I figure out the last step. Anyway, what you could do is use FormidablePro (probably the most flexible and affordable form creation plugin in the wild) to get your data and then dump (form submittal) them into the appropriately mapped XProfile fields. I am told this is possible. …But I don’t know how to do that last step.

    #141474
    Paul Wong-Gibbs
    Keymaster

    Not aware of any plugins that do this. It’s been mentioned before, but I haven’t seen anything good recently.

    #141472
    Hugo Ashmore
    Participant

    It’s not exactly the easiest thing to implement the core devs have their work cut out with present dev requirements; this would be something that one of the community would need to run up and submit as a patch for perusal.

    #141469
    redrocktoday
    Member

    These nested/conditional profile fields will have many applications for creating larger websites, not just location related sites… If you can make it to the Core, many would benefit.

    It would be great if next release of BuddyPress could come with this nested profile fields, and in addition, a functionality that allow admins to create initial groups based on certain user profile fields -which seems very nature. And as a social networking platform, these functionalities should come from the core of software, not from Plugins – as many group related plugins will be depending on these functionalities to make themselves sophisticated enough to make foundamental user experience more fullfilled.

    #141438
    creamundo
    Participant

    have the same problem!!!!!!!!!!!!!!! help

    #141420
    Paul Wong-Gibbs
    Keymaster

    Adding the template fields is one thing, but you’d need to write a bunch of glue logic to handle saving and fetching the input to/from the WordPress profile.

    #141403

    In reply to: profile page

    Tammie Lister
    Moderator

    You shouldn’t need a plugin to have emails sent or to have profile fields. Are you using the BuddyPress default theme? I ask because something could be wrong there – not sure there is though.

    Now, when I say you don’t need plugins to send emails or have profile fields it all depends on ‘what’ and ‘how much’ you want.

    https://codex.buddypress.org/getting-started/configure-buddypress-components/#users-profile-fields should be a starting point for you on profile fields though.

    Guido
    Member

    Hi,

    I want to add extra default profile fields from WordPress (first- and lastname) in the BP registerpage (besides username, email and pass).
    I have found the BP-file where I can add extra fields: register.php

    I have tried to copy-paste field-code from WP-file user-edit.php, but that’s not working unfortunately.

    I noticed in register.php every field starts with ‘signup_’ (for example: signup_username).

    Only adding new fields in register.php starting with ‘signup_firstname’ and ‘signup_lastname’ is not enough, what do I have to do next?

    Guido

    #31789
    salvador5266
    Participant

    i am brand new(like today) to wordpress and buddypress both so please be patient with me. I realize alot of plugins are optional but my buddypress does not seem to be working right, there are no fields to edit any user profile infomation, and it is not sending a new user email out to create a new account. Is there a list of minimum plugins i need to install. right now all i have installed is buddypress, askimet and bp profile menu(which also does not seem to work) also i would like to make this site a 2 membership level site with a free trial period what do I need in order to do that?

    #141321

    In reply to: Profile fields

    Roger Coathup
    Participant

    If you are a PHP developer, you can rework the profile fields (in edit.php ) to use the wp_editor() function.

    You’ll also need to take a look at the filters that strip tags from profile fields and set appropriately to your needs.

    The question was asked recently on this forum — so, have a Google.

    #141319

    In reply to: Profile fields

    Tammie Lister
    Moderator
    #31762

    Topic: Profile fields

    in forum Miscellaneous
    mutedart
    Member

    Hello,

    I want to use tinymce editor on the text area for the fields that come in his profile. I want the user to be able to see it and add necessary formatting if there is need. Any help?

    #31756
    redrocktoday
    Member

    I need conditional profile fields to be added to the default BuddyPress template: a drop-down select boxes, depending on what is selected, a second dropdown select boxes should appear to let user select, then depending on what is selected for the second, a third dropdown select boxes should appear, and in total, I need four layers of these conditional profile fields.

    For example, the first drop-down could be states(Arizona, California, Texas etc.), then depend on what user selects, the second dropdown displays the towns in that selected state, so if the user selected ‘California’ in first dropdown, a set of towns in California will be available in the option list for the second dropdown; if the user selected ‘Texas’ in first dropdown, a set of towns in Texas will be available in the option list for the second drop down, and so forth…

    I am wondering if there is a stablized BuddyPress Plugin having this functionality already available at this time?

    I myself have found the following plugin intends to do this, but not working well:

    http://wordpress.org/extend/plugins/buddypress-conditional-profile-field/
    This plugin allows me to configure multiple options in the first dropdown, but then when I tried to configure the second dropdown, it provides an ‘Enter Related Option’, basically you have to enter in the textfield(no dropdown) one of the states from your first dropdown, then you enter option values in the option fields for the state of your choosen, that’s it. So at this second step, you have to choose either enter the towns for ‘California’ or ‘Texas’ or ‘Arizona’, but not for all of these states! If you configure this way, say you entered the towns of California in the option fields at the 2nd step, then you’ll see all the towns in California available in the 2nd dropdown no matter you selected ‘California’ or ‘Texas’ or ‘Arizona’ from the 1st dropdown; and, you don’t have a choice to move to the 3rd and 4th dropdown select boxes either…

    Does anyone know whether there are some other BuddyPress plugins could get this job done?

    Many thanks!

    #141280

    In reply to: Theme compatibility?

    Sergio De Falco
    Participant

    Paul, anyway it’s pretty simple to use both methods. We know that default wp_users support first_name, last_name, nickname and description (bio). Maybe you could make possibile to modify each of that from buddypress (i made it in my theme) and make a base group with these fields. Then if administrators want to add more fields and groups you could populate xprofile table. In this way you could have a more deep integration into WordPress.

    #141269

    In reply to: Theme compatibility?

    Paul Wong-Gibbs
    Keymaster

    Mercime’s pretty much right. There might be ways to use a custom post type with user meta, but revising the structure of the profile fields database tables isn’t a current priority.

    #141254

    In reply to: Theme compatibility?

    @mercime
    Participant

    == why buddypress doesn’t use user_metadata and have a proprietary xprofile table. ==

    I believe one reason would be that WP doesn’t have an API for BuddyPress’ more sophisticated profile fields/groups, or something of that nature. At least that’s what I recall a core dev answering the last time that question was asked :-)

    #31722
    drrxa
    Participant

    I am new to BuddyPress and I would like to create custom field in the ‘base’ group through the BuddyPress hooks not through the profile fields admin interface. I have been searching for a tutorial or tips on how to do that but did not find any. I imagine that there would be a function to create that field that will look something like this:
    `
    bp_create_field($field_name, $group_id, $data_type, $required, $field_type, $options = array())
    `
    and then hooking this function to whatever hooks to dispaly and save that field on the backend and frontend of the website. is that possible? or there is another way to do that?

    Thanks

    #31721
    rcpessoa
    Member

    I have a clean installation of Buddypress, but Im having an issue with the fields I create for users to edit on their profile.
    I want that when I add a dropdown field to a user, like for example “department” the field is clickable, and on click it should redirect to a member page with a list of all the members that have that filed with the same option chosen… right now it’s not happening, it takes me to the list of ALL members.

    you can take a look at the site here: http://blogs.eui.eu/test

    Thank you,
    Raul.

    #141159
    Ben Hansen
    Participant

    can anyone actually verify this plugin boone put up works? it appears to have the option but when i tested it the policy is not enforced and even logged out users can see the private fields on our site at least.

Viewing 25 results - 3,301 through 3,325 (of 5,755 total)
Skip to toolbar