Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 8 results - 3,601 through 3,608 (of 3,608 total)
  • Author
    Search Results
  • #33681

    In reply to: Custom Profile Fields

    thezohan10
    Member

    Pio, thanks for your answer, i solved it, of course creating a CVS file for my option.

    Thanks!

    #33673

    In reply to: Custom Profile Fields

    thezohan10
    Member

    Damn, i must have missed some trunk file grrrrrrrrr :) couse it does not work for me, i´ll take a deep look at that. Thanks!

    #33670

    In reply to: Custom Profile Fields

    Alessandro Fazzi
    Participant

    A bit of trunk ago it worked for me…so I think you can try! ;)

    #33505
    Andy Peatling
    Keymaster

    Profile data is stored in the following tables:

    wp_bp_xprofile_groups – The profile groups

    wp_bp_xprofile_fields – The fields, what type they are, the name etc.

    wp_bp_xprofile_data – The data for each user for specific fields

    Avatars are stored in:

    wp_usermeta – with the meta_keys:

    ‘bp_core_avatar_v1’ – the URL to the avatar thumbnail

    ‘bp_core_avatar_v1_path’ – the filesystem path to the thumbnail

    ‘bp_core_avatar_v2’ – same as v1 but the full size image

    ‘bp_core_avatar_v2_path’ – same as v1 but the full size image

    #33498
    iprashant
    Member

    Ok got the solution.

    I want to pin point some thing here plz let me know if im going wrong.

    I wanted activity should display in local languages also.

    So i have updated

    1. /bp-activity/bp-activity-templatetags.php

    2. wp_bp_activity_sitewide table

    Updates are as follows.

    1.

    here coz of local language when we create post url getting converted to utf so its long test with sting and special chars that is the reason in the formation of site wide activity sprintf is used so it is not allowing big utf type url.

    In function bp_activity_content_filter

    I commented //$content[0] .= ‘%s’;

    and in function bp_activity_insert_time_since

    return sprintf( $content, ‘  ‘ . bp_core_time_since( strtotime( $date ) ) . ‘ ‘ . __(‘ago’, ‘buddypress’) );

    replaced with

    return $content . sprintf( “%s”, ‘  ‘ . bp_core_time_since( strtotime( $date ) ) . ‘ ‘ . __(‘ago’, ‘buddypress’) );

    2. In wp_bp_activity_sitewide table updated content field with utf8_general_ci

    This is for site wide activity to work with local languages. For profile make changes with other tables related to user_activities all other works fine.

    #33354
    ron_r
    Member

    Did you set up the profile fields under site admin?

    #33315
    Nola1974
    Member

    OK, I completely re-installed everything and I can add new profile fields now. Must have been something in the old database.

    #33274
    Andy Peatling
    Keymaster

    Right now the basics on the front screen are done and it is live at: http//testbp.org

    If you get hold of the trunk, it was checked in last night.

    I need to use the __() function on the “First Name” and “Last Name” fields so they can be translated – after which you should be able to translate them the same way you translate WordPress. For now, you can simply edit the names in the database – in the “wp_bp_xprofile_fields” table.

Viewing 8 results - 3,601 through 3,608 (of 3,608 total)
Skip to toolbar