Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,676 through 4,700 (of 5,755 total)
  • Author
    Search Results
  • #85165

    In reply to: Privacy for Users

    bryzo
    Participant

    So I’m using the BP Profile Privacy field but its not privacy protecting the activity stream or anything else…just profile fields. How can I prevent anyone but friends from seeing the profile fields, or albums, etc.

    #85146
    contoaberto
    Member

    @mwspr
    Thank u very much.

    @boonebgorges
    Would u please help? Thank u in advance.

    #13304
    xiabolai
    Participant

    Just can’t seem to get it working. Keep getting errors in setting up the location fields, can’t see map on “edit profile” page. Can anyone give more detailed instructions on installing, activating and settings? The instructions on the download page just are not enough.

    #85125
    mvvspr
    Participant

    @contoaberto

    Its better to notify using @mention feature.So that you will get your reply faster and also the notification goes to the user you intended to ask.Anyways I will do it for you.

    @boonebgorges
    hi, Boone Gorges,

    Thank u very much for the info. But I have to confess I’m very much a newbie to understand what I might have done. Would you mind please explain a bit more – maybe in a dummie way?

    #85017
    Shine
    Participant

    By brackets I meant inequality signs ><.
    When the members try to use them in their status uppdates, forum posts and profile fields, they simply don’t appear. I’m using WP 3.0 and BP 1.2.5.2.

    #84978
    Boone Gorges
    Keymaster

    What do you mean by brackets?
    1 ( these )
    2 { these }
    3 [ these ]
    or something else?

    What’s happening when users try to use them? And in what context are they using them, activity updates or forum posts or profile fields or what?

    And what version of BP/WP are you running? https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/when-asking-for-support/

    #84551
    Aslam Doctor
    Member

    I’m also facing same issue.. even I added manually insert query inside code like this (I have stored the values in session)

    $sql=”INSERT INTO wp_bp_xprofile_data (field_id, user_id, value) VALUES(1,$curr_id, ‘”.$_SESSION.”‘)”;
    result=mysql_query($sql)or die(mysql_error());

    This is storing the data in database but not retrieving :(
    @shedmore did u got this fixed up ???

    #84435

    In reply to: profile fields by id

    Boone Gorges
    Keymaster

    Cool, good luck!

    #84434

    In reply to: profile fields by id

    Horoshiy
    Participant

    ok, thank you for help! I’ll do it by grouping, it’ll be better…

    #84442

    In reply to: profile fields by id

    Boone Gorges
    Keymaster

    That will work. The only problem is that it’s not entirely future-proof. If the structure of the $field object changes in future versions of BP, you’ll have to rewrite the code.

    If I were you, I would use a profile loop, as described at https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-profile-data-loop-bp_has_profile/. That way you can use the built-in template tags, which won’t break when BP is upgraded.

    The xprofile template tags aren’t as fleshed out as I wish they were, but they should work nicely for your purpose. Put the three fields that you want to appear in column 1 in a profile field group, the next three fields in another group, etc. Then it’ll be easy to create the markup using bp_profile_groups() loop.

    #84433

    In reply to: profile fields by id

    Horoshiy
    Participant

    Maybe I should be more concrete. My main task is to get profile fields structured inside the profile page. I need to place fields in 3 columns and in right order. So let’s imagine that we have 9 fields: Login, email, password, First Name, Last Name, Middle Name, Country, City, Address, Place of birth, Date of birth. I need to place Login, E-mail and Password in the first column in the page, First name, Last name and Middle name in the second column and Country, City, Address, Place of birth and Date of birth in the third column.
    So i have field id’s which i can place in my profile page.

    Should i do it like this?


    echo '

    ';
    $field = new BP_XProfile_Field( '1' );
    $field_name = $field->name;
    $field_value = $field->value;
    echo '

    ' . $field_name . ': ' . $field_value . '

    ';

    $field = new BP_XProfile_Field( '2' );
    $field_name = $field->name;
    $field_value = $field->value;
    echo '

    ' . $field_name . ': ' . $field_value . '

    ';

    $field = new BP_XProfile_Field( '3' );
    $field_name = $field->name;
    $field_value = $field->value;
    echo '

    ' . $field_name . ': ' . $field_value . '';

    echo '

    ';
    /* and so on */

    am I right?

    #84428

    In reply to: profile fields by id

    Boone Gorges
    Keymaster

    I understand your question, and you’re right, there is no such function. But from inside of a profile loop, you can use bp_the_profile_field_name(), and it will get the $field_id implicitly from the loop iteration.

    If you don’t want to build a loop, you can get the field name from the $field_id like this:

    $field = new BP_XProfile_Field( $field_id );
    $field_name = $field->name;

    #84424

    In reply to: profile fields by id

    Horoshiy
    Participant

    no-no-no… I think you didn’t understand me… I need to get field name by id but there is NO function

    “xprofile_get_field_NAME( $field_name_or_id [, optional $user_id] )”

    such as “xprofile_get_field_DATA( $field_name_or_id [, optional $user_id] )” which exists.

    #84420

    In reply to: profile fields by id

    Boone Gorges
    Keymaster

    Yes, you can do this with the xprofile template functions, which are located at buddypress/bp-xprofile/bp-xprofile-templatetags.php. Use the profile loops in buddypress/bp-themes/bp-default/members/single/profile/profile-loop.php as a template.

    #13122
    Horoshiy
    Participant

    Good day!

    I’m interesting is there an easy way to create a new type of profile fields?
    There are checkbox, selectbox, textfield, etc. but there are no such specific fields like yearbox (like ‘2010’) or fields with restrictions (like numbers between 1 and 17) or something else…

    first of all I need yearbox, can you help me?

    thanks in advance

    Horoshiy

    #13121
    Horoshiy
    Participant

    Good day!

    is there a way to call profile fields by id, but not only data in the field but an input_name, name, description, etc.
    function “echo xprofile_get_field_data( $field_name_or_id [, optional $user_id] );” echoes just data and nothing more.

    Maybe I should rewrite function bp_the_profile_field() to bp_the_profile_field_byid( $field_id, $userid=null ); or there is another way?

    thanks in advance…

    Dmitriy.

    #84268
    hms3542
    Member

    Hi, sorry for not responding earlier. First thing, thanks for your reply.

    Then, by “custom code”, do you mean i’ll need to do something trickier than a plugin for example ? My plan was to manage some new fields in the WP usermeta table, i think that will be enough, am i Wrong ?

    Thanks again,
    hms.

    Sami kamal
    Participant

    to make registration page multilingual you need to copy the register.php from buddypress/bp-default/registration folder to your themes folder and make your changes by replacing the loop :

    http://buddypress.pastebin.com/wC4fCkbT

    hope this works for anyone interested..

    Edit: this makes only the registration page multilingual, but unfortunately it doesn’t translate the member’s profile view and edit fields.. instead they show what you saved in the profile setup fields in the backend.

    chneijens
    Member

    Hi,

    i’m using buddypress to create a lightweight crm application.
    Company information goes into the default field group and management info goes into the extended group.

    The problem, usually each company has more than one manager. So I need more than one management extended field group.

    The question, can buddypress be adapted to provide more then one extended field group that have the same field names?

    For example;
    the default field group “Company” has the fieldnames companyname, address, telephone, ect.
    The extended field group “Management” has the fieldnames firstname, name, email, gender, ect
    a second extended field group “Management” has the fieldnames firstname, name, email, gender, ect
    a third extended field group “Management” has the fieldnames firstname, name, email, gender, ect

    I have a csv file exported from my offline crm software and it’s conformed to the custom fields that I’ve created in buddypress. With key values and everything.
    I’ve manually added a second extended profile in the mysql table with the same user ID and it only shows the second(latest) extended profile data, but not both extended profiles.

    furthermore, i’ve opened the file profile-loop.php in dreamweaver, but i have no idea what to alter in order for this to work.

    I’m using wordpress version 9.2 and buddypress version 1.2.5, can someone please point me in the right direction?

    thank you

    #83882
    contoaberto
    Member

    hi, Boone Gorges,

    Thank u very much for the info. But I have to confess I’m very much a newbie to understand what I might have done. Would you mind please explain a bit more – maybe in a dummie way? :)

    #83677

    In reply to: Profile edit problem

    Jonathan Carroll
    Participant

    Interesting: I jsut noticed that if I go to the user dashboard, there is amuch more detailed profile, with may fields, this updates and is correctly working. the buddypress user profile is the one throwing the error / redirect. It also only has 1 field “Name”

    Any thoughts?

    #12939
    hms3542
    Member

    Hi all,
    Trying to manage firstnames and lastnames for my users, i’d like to know how to easily get those fields in my theme in order to build a (firstname, lastname) list for all users. Can anyone give me a tip on how to do that ?

    Thanks !

    chneijens
    Member

    Hi,

    i’m using buddypress to create a light crm application.
    I have a csv file exported from my offline crm software and it’s conformed to the custom fields that I’ve created in buddypress. With key values and everything.
    Company information goes into the first field group and management info goes into the second group.

    The problem, usually each company has more than one manager. So I need more than one management field group.
    The question, can buddypress be adapted to provide more then extended field group that have the same field names?
    For example
    field group “Company” has the fieldnames companyname, address, telephone, ect.
    The field group “Management” has the fieldnames firstname, name, email, gender, ect
    a second field group “Management” has the fieldnames firstname, name, email, gender, ect
    a third field group “Management” has the fieldnames firstname, name, email, gender, ect

    wordpress version 9.2 and buddypress version 1.2.5

    thank you for your help

    josh101
    Participant

    @johnjamesjacoby Xprofile fields groups after the main group don’t work in 1.2.5! I added a new group on my site for an bio in the profile field system then added a multi line entry for that group also named bio and in the front end I cant find it.

    #83410
    lincme.co.uk
    Member

    @peterverkooijen said; “There is also zero privacy/security in Buddypress”. Care to expand upon that Peter? Our site isn’t ‘open for business’ yet, but when it is our members will expect some privacy, ie., profile stuff set to private and private group posts actually being private. Are you saying it can’t/won’t be properly private?

Viewing 25 results - 4,676 through 4,700 (of 5,755 total)
Skip to toolbar