Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,626 through 4,650 (of 5,694 total)
  • Author
    Search Results
  • #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?

    #83409
    Boone Gorges
    Keymaster

    Actually, it is possible to do this kind of verification. There’s just no UI for it.

    Look in buddypress/bp-xprofile/bp-xprofile-classes.php, method BP_XProfile_ProfileData::save(). There is an action hook ‘xprofile_data_before_save’ that happens (you guessed it) before the save. You could hook a custom filtering function to this action and validate your data that way.

    #83407
    peterverkooijen
    Participant

    No, they’re not possible. Xprofile is an underdeveloped mess with low priority in the roadmap. There is also zero privacy/security in Buddypress, so storing social security numbers is asking for trouble.

    #83397
    contoaberto
    Member

    #plz!

    #12881
    Steven
    Participant

    When a user signs up they gets to add additional information called “Skills”

    http://www.stomptheweb.co.uk/skillswap/members/jones/profile/

    For examples there are gardens and laywers in there.

    What I would like it for each of these words to be tags instead of appearing like this:

    http://www.stomptheweb.co.uk/skillswap/members/?s=gardens

    Can anybody think of a way to do this?

    If not would it be possible for me to bring back a list of all skills on the site into a tag cloud like the prebuilt tag cloud currently does with tags or categories?

    Cheers,
    Steve

    #83213

    In reply to: profile management

    lorenzo
    Member

    they don’t get to the dashboard by default, but the link appears in the adminbar. from there things are really confusing for people because in the profile from the dashboard you have the default WP profile fields. from the ‘my profile’ they get the fields of buddypress.

    now the quick and dirty thing to do would be to remove the dashboard link from the admin bar, but depending on the roles (i.e. editors and admins) it is handy to have the link.

    the question is on the buddypress side: why if buddypress is installed the standard link to edit user in the admin panel is not redirected? (i’m guessing that this would be the easiest thing to do, but i have no clue how :(

    #83119
    peterverkooijen
    Participant

    Would mm forms work?

    Buddypress profile fields are not standard WordPress though. They’re in complicated database tables called xprofile, so if you want to integrate it with anything else fuggedaboutit. You’ll need custom coding.

    could someone create a plugin for wordpress on lines of Google Docs Forms, a general and simpler forms plugin using buddypress’ profile fields component, GPL would be great, clear and clean coding should be done

    #82985

    Hey @Travel-Junkie (or anyone who knows the answer to this) where should I paste your code, inside my functions.php (..plugins/buddypress/bp-themes/bp-default/functions.php)file?

    If my template file is named bp-gamers.php (in my theme in the profiles folder), what should I rename from your code?
    I really just want a blank profile page so that I may hardcode a few fields.

    Thanks

    ps: That functionality you described on your site sounds really cool.. do you have a link?

    #82754
    kino.tv
    Member

    @emiline220

    Why dont use this plugin, it allows “permissions” to be set for xprofile fields:
    https://wordpress.org/extend/plugins/bp-profile-privacy/

    Works great!

    #82733
    Paul Wong-Gibbs
    Keymaster

    Create a new xProfile group in the wordpress dashboard; any fields not in the “Base” group will, by default, not appear on the registration form.

    #82719
    Nick
    Participant

    Oh I see, so basically I enable all the fields I want in the profile page and then manually remove them from the code in the register.php file is what you’re saying?

Viewing 25 results - 4,626 through 4,650 (of 5,694 total)
Skip to toolbar