Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,701 through 2,725 (of 3,593 total)
  • Author
    Search Results
  • Hugo Ashmore
    Participant

    @rogercoathup hmm yes like the sound of personalised content, in fact like the sound of that a great deal. think I was struggling to fit the profile checkboxes in to the equation despite having played around with using profile fields to, in some manner, confer extra meta data on members but penny finally dropped, and I’m wondering whether this can be taken further.

    @tak5haka It’s a really nice idea, I had played with profile fields to see how effective it was to use radio button choices and/or checkboxes to use in profile checks to control display actions. Completely agree on personalisation of data, stickiness etc.

    zoltok
    Participant

    Hi Chouf1,

    Perhaps you’ve misunderstood. Accented fields are not a problem to create or use if you’re using the basic template – my problems only arose when I tried to call those fields and use them conditionally in the members loop in a customized theme. So, for example , that would be equivalent to displaying the results from your “Champ supplémentaire n° 4 bis ” on this page: http://bp-fr.net/members/. I haven’t touched the core code, the modifications are in my theme files.

    If you have an alternative solution though, please feel free to share it.

    #95782
    ovizii
    Participant

    how does the synchronization work?
    I’d love to get a plugin to match certai nfields against certain other fields win wp profile and bp profile!

    #95691

    In reply to: Extended user profile?

    Roger Coathup
    Participant

    @boonebgorges released a plugin to control which fields are auto linked – have a search for that.

    You can also turn them all off by removing the appropriate filter (do this in your functions.php or bp-custom.php). I can’t remember the filter off the top of my head – have a search on these forums – it’s been covered plenty of times.

    #95550
    Matt Edminster
    Participant

    @djpaul

    You once mentioned having a proprietary solution for user lists using xprofile fields.

    In redesigning my organization’s website I need to 1. display certain users (organization members in various departments) in a directory and 2. limit certain kinds of content creation to these lists (group creation only for organization members). We still want the site open to the public and use it to recruit new staff so I can’t just close down registration. Also, I can’t use wp roles because write permissions don’t line up with our organizational groupings (eg, some organization directors will be contributors while others are editors).

    I’d be interested to know what you’ve come up with and would be willing to purchase it if it meets our needs and fits our budget.

    #95476
    Roger Coathup
    Participant

    There’s no off the shelf plugin for this, but it is possible to develop a solution (a lot more than a workaround!):

    You could either do this by having a profile type for businesses, or developing a solution around custom posts / custom fields.

    You’ll then have to build your own custom listing directory – not too hard! The BP profile directory already has a built in search that you could adapt / use directly.

    We are building similar in a number of current BuddyPress client projects – and Poolie has also developed a very nice listings site based on BuddyPress: http://plazaa.de

    Jean-Marc
    Participant

    Sure have you considered the group document plugin? Each Shop Profile could be a group. Install the plugin and see if that can help.

    #95255
    Rose Taylor
    Participant

    @hnla

    Thanks for the help. I understand how to create additional groups and fields. In there it says only fields added to the base group or ID=1 will be displayed on the registration page. Looking at Dorothy’s page it looks like she has multiple groups in there. I wanted to do the same. I don’t see a way of creating a group under that base group.

    I could create all of the fields under the base group but this will cause display issues under the profile. I want certain info to display in a certain order (company and contact information). Code in register.php only calls one group. Not proficient in php enough to change it to call one or more by ID. Obviously the base group is 1. Can change this to any other but need to add multiple. i.e. group 1 and 3. Any ideas would help me a lot.

    <?php if ( function_exists( 'bp_has_profile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?
    missing closing at the end i know
    Do you know also why all of the information in a profile display as a link? Please see http://marketplace.questus5.com for more information. Thanks in advance for any help.

    #95153
    Hugo Ashmore
    Participant

    @questus5

    Look at your bp admin section, you will see the custom profile link you use that to create new groups and fields, as long as a new group is created under the ‘Base’ level then it will appear on the registration page.

    @dorothysulzmann
    As a workaround I would move the three type selections labeled ‘Fan off’? to just after the primary details and use the tree types as just that to confer a user type to each member but also run a simple jQuery show/hide on the further groups so all are hidden and then a check is performed to catch the radio selection and the appropriate group revealed with perhaps a ‘none’ control selection default.

    The proper approach would be to complete a section and then pass the form control fields in a session or buffer to the next view to complete further sections but with BP that will likely start to get complicated, as techguy says there is no quick easy way to do this but with client side scripting it wouldn’t be that difficult.

    James
    Participant

    thnaks @boonebgorges ,
    somehow first place where I get mistake is your mentioned `if` before `bp_has_profile`
    taking all together I got this code for profile-loop.php :

    `

    <?php
    $field_id = xprofile_get_field_id_from_name( ‘Account Type’ );
    $field = xprofile_get_field( $field_id );
    $value = $field->data->value;

    if ( bp_the_profile_group_name() == ‘Account Type’ && $value == ‘Selection 1’ ) {
    (if ( bp_has_profile( ‘profile_group_id=1,4’ ) ) ?>

    <div class="bp-widget “>

    <tr>

    }

    `

    does this code make any sense for anyone?
    Am I correct, that even if I will get this code to work, it still returns only one selection of radio button?

    thank you!

    islandcastaway
    Participant

    Figured it out .

    global $bp;
    echo get_usermeta( $bp->displayed_user->id, ‘aim’);

    islandcastaway
    Participant

    Can anyone point me in the right direction please?

    #94517
    Hugo Ashmore
    Participant

    To get you started create three new profile fields for users to complete, probably radio button choices, the users will select one of these at signup? make the selection obligatory.

    Now in the members profile loop you will use a simple check to determine which field has been returned or selected by the user and display whatever particular elements you want for that selection.

    The code used here is not the type you want, in a profile loop it’s easier as you can run checks using something like:
    if(bp_get_member_profile_data( ‘field=account type’ ) == ‘special’) :
    ‘ Do stuff based on the type above’;

    #94516
    Hugo Ashmore
    Participant

    maybe you could write full code?
    here are several topics on this question, but as I see, those who have done it do not want to share their result.
    @janismo please take care not to come across as treating this support forum as though it was a service with some sort of obligation on the part of the members to write code for people :)

    If you look around you will see that many of the experienced BP developers spend a great deal of their time helping out non coders with a great deal of code.

    Not including this thread where I didn’t really end up having to help to any real degree I have responded on two other threads today about profile fields, along with other threads I have read or participated in I know that the answers you seek are available. Sometimes you have to piece together bits of the jigsaw to start with, then show us how far you have got and the problems you might be having and we’ll help out further; of course also someone may come along and just write what you want :)

    I only know what I do about the profile fields and manipulating them from needing to do so myself then reading a few posts but other than that I sat down and started coding and worked it out the hard way.

    #94512
    James
    Participant

    hi @jarvo1980 ,
    could you please tell whether is it possible to use your approach/code to make 3 types of account and each of them would lead to different custom profile fields?
    probably, this is exactly what you want to do, maybe you could write full code?

    thank you!

    P.S. there are several topics on this question, but as I see, those who have done it do not want to share their result.
    one of them:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/can-you-run-multiple-profile-loops-in-singleprofile-loop-php/

    If someone knows how to, please share. I’m sure, a lot of people would love to use it.

    #94490
    Hugo Ashmore
    Participant

    Edit// just saw your last post- not sure how that slipped past :) so you are using xprofile field data and so yes your first example won’t work I think you’re on the right track now and it is easier if in a members loop. There was a post earlier today discussing this. Have a search back about 20 odd posts

    Then we would need to know the mechanism you’re using to pass that variable around I guess.

    When you say “select account type” what exactly do you mean, is this a snippet of custom code you have written or are you using the custom profile fields to create new profile fields? If new profile fields ( the best way I would have thought ) then you are taking the wrong approach to fetching those fields back.

    #94387
    Natasha
    Participant

    Thank you very much for responding so fast!

    The company wants to develop with different profiles, for example for people in human resources, technology, etc. for different areas of the company.
    I’m looking at the function you gave me. My question was if suddenly you had already somewhat developed because i have little experience in PHP. :)

    Thank you very much.

    #94361
    islandcastaway
    Participant
    #94344
    Anton
    Participant

    Thanks @nit3watch

    Will test it out tonight. Did you ever release a plugin where you can add more profile fields to groups such as address, website, etc?

    #94318
    Roger Coathup
    Participant

    @arxpoetica

    I don’t know if you found any code in the meantime, but in case you haven’t:

    The basic function to insert a new profile field is: xprofile_insert_field()

    And, to populate a field use: xprofile_set_field_data()

    They are defined in bp-xprofile.php

    #94317
    Roger Coathup
    Participant

    @slashnata – no entiendo tu pregunta exactamente

    #94270
    Natasha
    Participant

    Hello Roger, at the company where I work are asking me to do a development similar to your questions …. and you develop something?, suddenly you develop a plugin?

    Thank you very much!!!

    #94164

    In reply to: BuddyPress Spam

    Pisanojm
    Participant

    I’m using:

    Si Capthca
    BuddyPress Humanity Plugin
    BP Signup Xtra (with required birthdate and checkbox)
    Extra Profile Fields that require text input.
    Bad Behavior with HTTP:BL enabled…

    I’ve not noticed any spam logins yet…. knock on wood/cross fingers.

    #94149
    LPH2005
    Participant

    Writing from ignorance but should the Field Name start with the capital letter P?

    `bp_member_profile_data( ‘field=Province’ )`

    #94005
    Ashwani
    Participant

    I have found ans to first question also. I have hooked my function to ‘bp_after_profile_field_content’, so now all new fields I can display before ‘Save’.

    Still working on 3rd question.

    Regards,
    Ashwani

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