Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 5,126 through 5,150 (of 5,698 total)
  • Author
    Search Results
  • #57371
    closed account
    Participant

    @mlovelock

    Thanks for the tip. I’m pretty keen to establish clickable links if possible.

    I tested this in the $social_networking_fields = array

    'Website URL' =>'www.' ,

    It seems to work for me as long as I make the instructions clear in the field description about how to format the url. i.e. with [mydomain.com] and no http:// or www.

    My site is still in dev so i have no stats on user understanding of this.

    cheers

    Paul

    #57368
    mlovelock
    Participant

    @member11 – rather than enclosing your website URL in brackets (and making your users do the same) you’d be better off specifying the website URL field in the config file as @r-a-y suggests, so that it’s not linked to the search facility:

    Open up the custom-profile-filters-for-buddypress.php file and in the $no_link_fields array (starting on line 14) add in your field, so mine looks like this:

    $no_link_fields = array( // Enter the field ID of any field that you want to appear as plain, non-clickable text. Don’t forget to separate with commas.

    ‘Skype ID ‘ ,

    ‘Phone’ ,

    ‘IM’ ,

    ‘Web Site’

    );

    – where my web site field is called Web Site.

    Also you may want to add in any social networking URLS that your site uses in the $social_networking_fields array that’s below this array. Same principle.

    #57364
    r-a-y
    Keymaster

    I use a plugin by Boone Gorges called Custom Profile Filters:

    http://dev.commons.gc.cuny.edu/2009/06/21/updated-version-02-of-custom-profile-filters-for-buddypress/

    Needs some manual configuration in the $social_networking_fields array, but you should be able to do what you need.

    Give that a shot.

    #7699
    closed account
    Participant

    Hi,

    I’m setting up my profile fields, and would like to allow members to display their own website url’s.

    When I drop the url into a text box, the link that is generated sends me to the search results for the url within BP.

    Is there a way to redirect the url in a new window to the member’s website.

    thanks

    Paul

    vividbreeze
    Participant

    Thanks Catherine, but im looking to see all of the profile fields that people see when they are on the register page. On the backend, i only see adding the blog/user/email none of the other fields………..

    #57239
    Brajesh Singh
    Participant

    Is that a premium theme ?,I don’t have access to it,so my opinion may not be good enough.But I hope,you can achieve it using the following approach.

    1.Do some css modification,that can help you to make it 2 column

    if not then.

    Look at the function

    bp_get_the_profile_field_options in bp-xprofile-templatetags.php, Here resides the logic for what you are looking for.

    But Note,editing this is not a good idea,so better try it using css.

    vividbreeze
    Participant

    I am adding like 30 items to be placed for check boxes and it lists them straight down instead of side-by side or even in a nice row. I am using the BP Corp theme.

    Is there a way I can set it up to become like 2 or 3 columns of checkboxes?

    #7650
    Jean-Pierre Michaud
    Participant

    ok, i suppose it’s just not existing, but i have 50 or 100 users to create on my BP, and the only thing i can do as admin is to create the account and send an email for password creation…

    how come… i need to fill these users profile with information too, and it is not possible… btw it looks like we can not access these custom fields in the adminCP if we want to edit any user…

    is there something i can do, or an existing plugin could do it?

    #57051
    mlovelock
    Participant

    Try the custom filters for BP plugin – https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/

    Allows you / your users to be more prescriptive about what BP ‘auto-links’. Don’t think it will completely stop BP auto-linking some things – though you could, if you wished, tell the plugin to exclude ALL fields from being auto-linked.

    You / users can also use the square brackets ‘[ ]’ in profile fields to specify words or phrases they do want linking.

    The plugin’s pretty handy for specifying fields like web site / twitter that shouldn’t be auto-linked.

    Boone Gorges
    Keymaster

    I’m playing with writing a plugin that adds some data about profile fields but I’m not sure where to store the data. The logical place is in wp_bp_xprofile_fields, where I’d add a column or two to store my additional data. I was hoping that someone could tell me whether this is wise. If the structure of that table changes in the future, will upgrade scripts erase any additional columns I’ve added? Or are there other perils?

    I can always keep my new data in an array in the options table for my BP blog, of course, and avoid any potential problems. But I’d rather put data where it makes sense.

    #56909
    David Bisset
    Participant

    I had a similar issue, and this is how i fixed it. Maybe it will help.

    BTW, using WPMU 2.8.4a and BP 1.1.1.

    bp-core-classes.php: around line 224:

    $total_users_sql = apply_filters( ‘bp_core_users_by_letter_count_sql’, $wpdb->prepare( “SELECT DISTINCT count(u.ID) FROM ” . CUSTOM_USER_TABLE . ” u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id LEFT JOIN {$bp->profile->table_name_fields} pf ON pd.field_id = pf.id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND pf.name = %s AND pd.value LIKE ‘$letter%%’ ORDER BY pd.value ASC”, BP_XPROFILE_FULLNAME_FIELD_NAME ), $letter );

    $paged_users_sql = apply_filters( ‘bp_core_users_by_letter_sql’, $wpdb->prepare( “SELECT DISTINCT u.ID as user_id FROM ” . CUSTOM_USER_TABLE . ” u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id LEFT JOIN {$bp->profile->table_name_fields} pf ON pd.field_id = pf.id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND pf.name = %s AND pd.value LIKE ‘$letter%%’ ORDER BY pd.value ASC{$pag_sql}”, BP_XPROFILE_FULLNAME_FIELD_NAME ), $letter, $pag_sql );

    For me, it was the pf.name in the WHERE that was coming back with nothing. I understand the MYSQL, but not understanding the logic behind that. I changed it to what I was hoping to nail in the first place:

    $total_users_sql = apply_filters( ‘bp_core_users_by_letter_count_sql’, $wpdb->prepare( “SELECT DISTINCT count(u.ID) FROM ” . CUSTOM_USER_TABLE . ” u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id LEFT JOIN {$bp->profile->table_name_fields} pf ON pd.field_id = pf.id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND pf.name = ‘Last Name’ AND pd.value LIKE ‘$letter%%’ ORDER BY pd.value ASC”, BP_XPROFILE_FULLNAME_FIELD_NAME ), $letter );

    $paged_users_sql = apply_filters( ‘bp_core_users_by_letter_sql’, $wpdb->prepare( “SELECT DISTINCT u.ID as user_id FROM ” . CUSTOM_USER_TABLE . ” u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id LEFT JOIN {$bp->profile->table_name_fields} pf ON pd.field_id = pf.id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND pf.name = ‘Last Name’ AND pd.value LIKE ‘$letter%%’ ORDER BY pd.value ASC{$pag_sql}”, BP_XPROFILE_FULLNAME_FIELD_NAME ), $letter, $pag_sql );

    Works fine for me. I’ve heard the latest edge version of BuddyPress fixes this somehow… but this worked at install for me so something must of changed. I have ALOT of custom profiles and the member import was a-typical so maybe in my case that had something to do with it.

    #56897
    Philipp
    Participant

    Hi and thanks al lot for you answers!

    So it’s not enoght to change the code like this:

    <?php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=2’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    Shall I write:

    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”<?php echo $all_pf_fields;?>” />

    or:

    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids” value=”1,2,3,4,5″ />

    I’m very sorry, but I didn’t get what you mean with the Profileloop. It would be so glad if you could write what to change or to ad excactly…

    Thanks a lot!

    Philipp

    #56895
    shane54
    Participant

    I installed WPMU and buddypress and all work great but blogs subdomains dont work – blank page

    My Apache error:

    [Tue Nov 17 21:21:52 2009] [error] [client 83.16.234.122] WordPress database error Table ‘aa11935_pozy.wp_bp_xprofile_data’ doesn’t exist for query SELECT * FROM wp_bp_xprofile_data WHERE field_id = 1 AND user_id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_get_field_data, BP_XProfile_ProfileData->get_value_byid, referer: http://trzebiatow.eu/wp-admin/plugins.php

    [Tue Nov 17 21:21:52 2009] [error] [client 83.16.234.122] WordPress database error Table ‘aa11935_pozy.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_ProfileData->save, BP_XProfile_ProfileData->is_valid_field, referer: http://trzebiatow.eu/wp-admin/plugins.php

    [Tue Nov 17 21:21:52 2009] [error] [client 83.16.234.122] WordPress database error Table ‘aa11935_pozy.wp_bp_groups’ doesn’t exist for query SELECT id FROM wp_bp_groups WHERE slug = ‘plugins.php’ made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, groups_setup_nav, BP_Groups_Group->group_exists, referer: http://trzebiatow.eu/wp-admin/plugins.php

    can you help me? whats wrong… install was OK

    #56867
    Brajesh Singh
    Participant

    hi Phillip

    Yes yo can.

    By default your registration page will show only the fields from first profile field group.

    You can change it.

    You will have to edit registration/register.php

    Look for the code

    bp_has_profile( 'profile_group_id=1' )

    and replace it with

    bp_has_profile( )

    Now your register page will show all the fields.

    But stop,This is not enough,you need to aggregate all the field ids and put it as hidden field.

    So Take a look at the the line

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />

    remove it from the profile loop.Now create some code inside the profile loop,aggregate all profile ids and then

    put this code outside the profile group loop,

    where I ssume you have aggregated all profile fields in the variable $all_pf_fields.

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php echo $all_pf_fields;?>" />

    Please note,all $all_pf_fields should be the comma separated list of all profile ids(say 1,2,3,)

    This will make it work,and your registration page will show all profile groups fields

    #56866
    Simon Dabkowski
    Participant

    Each field group has an ID value. You can modify the registration.php file to include additional groups by repeating the following and changing “1” to “2”:

    <?php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=1’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    to

    <?php if ( function_exists( ‘bp_has_profile’ ) ) : if ( bp_has_profile( ‘profile_group_id=2’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    #56859
    Philipp
    Participant

    Hi!

    It’s me again. After many hours thinking how to handle my problem I have an idear which could help.

    But for this I also need your help and your opinion… ;)

    I would like to add two profile fields which the user has to answer at the registration:

    1.) In which Month do you go abroad? “March 2010”, “September 2010”,…

    2.) How long are you going to stay abroad? “6 months” or “12 months”

    After that I would need a Widget or Plugin, that the Visitors can search for people who are abroad at the moment or search for those, who left in “March 2010”,…

    Do you think, that this could be possible?

    Now I added these profile fields into buddypress. But there are more than 200 members at the moment. Do I have to go to every profile to change the answer in “September 2009” or is it possible to do it automaticly? E.g. with phpmyadmin? It is saved in the table “wp_bp_xprofile_data” with the field_ID “266”. And I know, that every user how is registred yet went abroad in September 2009.

    The next point ist the question, weather there is a plugin that searches for deathly users who didn’t login or didn’t write a post e.g. 6 months. So I could delete them.

    So. Thats my long, long plan. But if you have a better Idear – Please let me know. Or if not, PLEASE help me how to realize this!

    Thanks so much and many greatings from Jerusalem!

    Philipp

    #56853

    In reply to: BP Member Filter

    Jean-Pierre Michaud
    Participant

    i installed it… and it is the best example possible for the suggestion i made for a /bp-plugins/ directory… we can not actually install this plugin on the fly with the installer, we need to move files around. we also have to replace two files… that could be a problem if we have another product that need to overwrite these 2 files again. (adding actions into these files is needed though)

    suggestion:

    bp-profile-setup : when we setup some custom field, would be good to have a checkbox “is searchable”… so we can filter or search thru these fields only when possible. this could be good if we want to avoid some details to be trackable…

    #56644

    In reply to: BP Member Filter

    Jean-Pierre Michaud
    Participant

    suggestion: popular keywords. similar to auto-tags based on post content, would be amazing for big sites to have the same for profile fields, so we have a cloud (or a dropdown) of popular profile field answers.

    challenging i suppose.. lol

    #56613

    In reply to: BP Member Filter

    Xevo
    Participant

    I believe the xprofile fields are the fields like “name”, so basically your users their account details.

    I like the fact that you can order your users like this, A to Z is kinda… lame and outdated. I’ll definately try this out later. Thanks JJJ.

    Edit: JJJ was 51 seconds faster then me. :)

    #56612

    In reply to: BP Member Filter

    Extended Profile – Basically the profile fields you setup for your audience

    An example would be here at buddypress.org, if you wanted to search for people who put “puppies” in their interests field. Rather than searching for puppies and possibly getting someone with the name “I Love Puppies” it will isolate your search down to the field you’re searching in.

    Clear as mud? Haha

    #56611

    In reply to: BP Member Filter

    stwc
    Participant

    I want to thank you for this, but I don’t even know what ‘xprofile fields’ refers to! ;-)

    #7554

    Topic: BP Member Filter

    in group forum Third Party Plugins

    Super preliminary “you broke it you bought it” edition… This plugin for BuddyPress will allow you to filter users by XProfile fields when viewing your members directory.

    http://johnjamesjacoby.com/files/2009/11/bp-filter.zip

    Just waiting for the WP plugin repo before this goes there.

    index.php and members-loop.php will go in…

    themes/bp-default/directories/members/

    …or in the same location in your custom theme. They will *need* to be modified to fit the xprofile fields you intend to filter users by. I’ve included some examples in index.php.

    Jeff Sayre
    Participant

    This is a free, open source project primarily powered by volunteers’ efforts. So don’t expect to get instant results.

    As r-a-y has stated, there used to be several pre-built fields and site developers also had the option to create their own pre-built fields by importing their list via a .cvs file. But, as Andy states in this thread, that feature is no longer available:

    https://buddypress.org/forums/topic/making-prebuilt-profile-fields

    So, you either have to code a solution yourself or hire a developer to do it.

    By the way, up until two-weeks ago, there was only one official BuddyPress developer. Now there are two. The rest of us are unpaid volunteers–some of us with coding experience, some of us with design experience, and some of us just interested in running social networking sites.

    You can ask for additonal insights on the #buddypress-dev IRC channel. But even there, it is simply a group of developers with their own projects and responsibilities. Only Andy and jjj are the official voices of BuddyPress development.

    pivey
    Participant

    I need to have 5 custom dropdowns each with more than 150 entries.

    So.. this would make a 700-800 manually entered fields one by one….. and lots of Coca Cola :-)

    Besides the solution to dump these option values directly into the DB, is there a solution adding huge amount of values at once like comma seperated etc…?

    Maybe extending the function?

    #7492
    pivey
    Participant

    Hi,

    i have looked around for a solution to implement jQuery multiselect dropdowns and datepicker for dropdowns and date related fields created with “Profile_checkboxes” ….to gather user information and dispaying it on the user profile.

    Especially the multiselect tool will improve multichoice handling.

    Like descriped here:

    Multiselect: http://code.google.com/p/dropdown-check-list/

    and for the datepicker : http://keith-wood.name/datepick.html

    Any idea is greatly appriciated

Viewing 25 results - 5,126 through 5,150 (of 5,698 total)
Skip to toolbar