Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,526 through 2,550 (of 3,593 total)
  • Author
    Search Results
  • #111646
    Hugo Ashmore
    Participant

    It should have been handled by something like stripslashes when redisplaying. The backslash is an escape character to prevent the ‘ being seen as part of the script syntax and tripping things up or entering characters into the DB that could be mischievous.

    You don’t say what versions of things you are running but if latest you might want to enter a bug ticket on the trac system using your BP login credentials.

    #111568
    mistercyril
    Participant

    Hello shanebp,
    This worked out great!
    Thank you very much for the info.
    Best,
    C.

    #111491
    4ella
    Participant

    I need this xprofile fields import for dropdown menu too, I have many fields to import with big list of options , but this solution above looks like less work by editing it in buddypress one by one –:) , does someone knows better and a little bit more painless ?

    #111462
    4ella
    Participant

    Hi , I have the same problem with checkboxes like in the post on the first page , I get weird stuff , I am using on member-header.php this simple code :
    `

    Birth:

    `
    for normal entry it works but datepicker data and checkboxes data are giving me nonsenses . Can anybody help me to find a code to get normal value from checkboxes ? dirty code above I don’t see anymore – old post –:( thanks !

    r-a-y
    Keymaster
    Walid
    Participant

    Is it impossible then to get rid of this links? :s

    Walid
    Participant

    @mercime
    @r-a-y
    @hnla

    any help on this, please?

    #110900

    @r-a-y

    Thanks again for the answer. But I have the following problems:
    The echo displays the group members user id for each member (the actual number) But the profile field that I am trying to display is showing that of the members page I am on, not the group members.

    I replaced :
    ‘user_id’ => bp_displayed_user_id()

    with:

    ‘user_id’ => bp_group_member_id()

    So the output I get is such:

    Group Members Name (correct per my use of the group member loop)
    47 ( the bp_group_member_id) (this is the correct user id, but I don’t want that displayed)
    Displayed users profile field (incorrect- this should be the profile field of the Group member in the list)

    Thanks!

    #110876
    r-a-y
    Keymaster
    #110875
    shanebp
    Moderator

    This can search on custom profile fields
    http://www.blogsweek.com/category/bp-profile-search/

    Brandon Allen
    Participant

    One option is to do as @embergermedia stated. To catch everyone, you could hook in a profile edit action and check to see if all the fields you require have been completed. If they have, then you could add something in their usermeta saying they’ve completed everything. Then you could hook into bp_init, check that usermeta field, and if you don’t get the correct response, then you can redirect them to their profile, or display an error telling them they need to complete their profile. However, as both @embergermedia and @brooker said, it wouldn’t be the most user friendly way to go.

    chrisjscott
    Participant

    Got it – thanks for the direction.

    Brandon Allen
    Participant

    It’s still the same answer. There is a way, but it would take code. You would need to use hooks from the AD Intergration plugin and hooks/functions from BP to handle this. The reason I said talk to the plugin author is because you might be able to request the the plugin author adds this as a feature.

    chrisjscott
    Participant

    I figured it’d be a BP thing, as the AD Integration plug-in is BP-agnostic and it works correctly w/ WordPress (as proven by the fact that the user accounts are populated).

    In light of that, maybe I should rephrase the question to ask if there’s a way that BP could read more than shortname from the WordPress user account when creating the account profile.

    Brandon Allen
    Participant

    That would be something to ask the authors of the AD Integration plugin, but I would suspect that you would need to use a plugin provided hook, and the write you’re own custom function to do this.

    #110677

    In reply to: In Profile fields

    pelikan79
    Participant

    Hi,

    Under profile field group i have name permanently in there. Is there a way that I can remove that field?

    thank you.

    #110608
    nanchante
    Participant

    This would be a great plugin. Anyone created it? Especially useful for getting people to enter location details for mapping.

    #110516
    mabjustmab
    Participant

    I just checked with the suggested edits and it does in fact appear that my edits are not loading.
    what is going on? how do I push loop edits out?

    #110507
    aces
    Participant

    Seems there may have been a country list in version 1.0 : https://svn.buddypress.org/branches/1.0/bp-xprofile/prebuilt-fields/

    #110497
    Roger Coathup
    Participant

    In early BP versions, there used to be a few handy pre-populated profile fields – including a country list (I think).

    Would be nice to have them back. As @djpaul suggests, some SQL and a bit of plugin coding should do the trick…. Paul: is there a nice schematic of the xprofile tables available?

    velomash
    Member

    I found a much easier solution for this….

    Line 59 of the register.php file contains this code when it’s forming the query to get all the signup fields…

    The ‘profile_group_id=1’ restricts the query to only the base fields. Delete that argument and it should display all the fields. The code looks like:

    #110436
    hran
    Member

    I am having the same problem, but are you sure this isn’t a bug in the plugin? It shouldn’t need 33MB of RAM just to activate the plugin. I got the same error trying to activate Buddypress 1.2.8 on a fresh install of WordPress 3.1.1 on a high-quality host. There are a huge number of warnings that come before the memory error. Here’s the full output with debug on (I cut out another ~50 warnings on call-time pass-by-reference).

    `Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 565

    Warning: Call-time pass-by-reference has been deprecated in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-classes.php on line 228

    [many more errors on call-time pass-by-reference…]

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-friends.php on line 433

    Notice: Undefined offset: 0 in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 85

    Notice: is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. (This message was added in version 3.1.) in /sites/www.mysite.org/web/content/wp-includes/functions.php on line 3422

    Notice: Undefined offset: 2 in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 158

    Notice: Undefined property: stdClass::$loggedin_user in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-forums.php on line 530

    Notice: Trying to get property of non-object in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-forums.php on line 530

    Notice: Undefined property: stdClass::$displayed_user in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 1070

    Notice: Trying to get property of non-object in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 1070

    Notice: Undefined index: user-avatar-default in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core.php on line 160

    Notice: Undefined property: stdClass::$profile in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 816

    Notice: Undefined index: bp-xprofile-base-group-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 101

    Notice: Undefined index: bp-xprofile-fullname-field-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 102
    WordPress database error: [Table ‘z_mysitewp.wp_bp_xprofile_data’ doesn’t exist]
    SELECT value FROM wp_bp_xprofile_data WHERE field_id = 1 AND user_id = 1

    WordPress database error: [Table ‘z_mysitewp.wp_bp_xprofile_fields’ doesn’t exist]
    SELECT * FROM wp_bp_xprofile_fields WHERE id = 1

    WordPress database error: [Table ‘z_mysitewp.wp_bp_xprofile_fields’ doesn’t exist]
    SELECT id FROM wp_bp_xprofile_fields WHERE id = 1

    Notice: Undefined index: bb-config-location in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-forums.php on line 23

    Notice: Undefined index: bp-xprofile-base-group-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 101

    Notice: Constant BP_XPROFILE_BASE_GROUP_NAME already defined in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 101

    Notice: Undefined index: bp-xprofile-fullname-field-name in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 102

    Notice: Constant BP_XPROFILE_FULLNAME_FIELD_NAME already defined in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-xprofile.php on line 102

    Notice: Undefined index: fileupload_maxk in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 35
    WordPress database error: [Table ‘z_mysitewp.wp_bp_groups_members’ doesn’t exist]
    SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.user_id = 1 AND m.is_confirmed = 1 AND m.is_banned = 0

    Notice: Undefined property: stdClass::$current_group in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-groups.php on line 223

    Notice: Trying to get property of non-object in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-groups.php on line 223
    WordPress database error: [Table ‘z_mysitewp.wp_bp_messages_recipients’ doesn’t exist]
    SELECT unread_count FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0

    Notice: Undefined variable: count_indicator in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-messages.php on line 115

    Notice: Undefined index: action in /sites/www.mysite.org/web/content/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 571

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /sites/www.mysite.org/web/content/wp-admin/includes/media.php on line 1963`

    #110405
    shanebp
    Moderator

    Solution
    `
    function user_nav_add_anchor() {
    global $bp;
    $bp->bp_nav .= “#your-anchor”;
    $bp->bp_nav .= “#your-anchor”;
    //etc
    }
    add_action( ‘wp_head’, ‘user_nav_add_anchor’,9 );
    `
    Anyone know of a way to do this with a loop through all the $bp->bp_nav[] fields ?

    #110294

    In reply to: In Profile fields

    pcwriter
    Participant

    @onyx808

    Oops… my comment about “Required” fields is a bit (a lot?) misleading :-(

    Users will not be able to save their profile settings until all required fields are filled out… that’s what I meant by “trapped” :-)

    #110286

    In reply to: In Profile fields

    Marcos Nobre
    Participant

    ooooooooooooh!! @pcwriter thank you thank you thank you!!!!

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