Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,476 through 2,500 (of 3,608 total)
  • Author
    Search Results
  • Nahum
    Participant

    in the function, where color = your main field heading, I’ve used a dropdown. and Red is one of the drop down items to select from.

    I don’t know if it works the same if the field was just a text field. I imagine so.

    Nahum
    Participant

    @gregfielding I forgot where I found this (maybe bp-tricks)

    put this in your bp-custom

    `//CHECK IF THE ACCT IS CERTAIN ACCT TYPE

    function My_Function ($user_id) {
    global $bp;
    $type_member = xprofile_get_field_data( ‘Color’, $user_id );
    if($type_member == ‘Red’) {
    return true;
    } else {
    return false;
    }
    }`

    Then to display in sidebar
    `
    loggedin_user->id)) : ?>
    Red Sidebar

    Some other Sidebar
    `

    gregfielding
    Participant

    Trying to call the loggedin_user_id, but doing to wrong…

    `loggedin_user->id) && bp_get_profile_field_data(‘field=783’) === “Yes”) : ?>
    sample code
    `

    gregfielding
    Participant

    Here’s the code I’m trying to use in my sidebar:

    `

    sample code

    `

    #115874

    I use S2member to monitor my sites membership, it provides hooks and such (not too sure about the terminology) that allow you to display content to certain user roles. I have a user role for companies (experts). I also have a profile field group just for them. It is the last group.

    I have added inline css using last-child selector to hide the menu option to edit this profile group from everyone except members that have a level 2 membership. And since Buddypress will only show profile data if the field has been filled in, it only shows on Experts (level 2 ) users public profiles.

    If this is confusing, let me know and I’ll try to give exact steps for how I accomplished this.

    pcwriter
    Participant

    @gregfielding

    Check out this thread. You can adapt the code provided for xprofile fields by simply replacing the ul class with `table.profile-fields`.
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/make-drop-down-menu-links-open-in-new-page/

    There are also several plugins that might get the job done too, but you may have to fiddle with them. Search the wp repo for “Open external links in a new window” for a few examples.

    Magi182
    Participant

    I was able to hack this plugin to accomplish most of what I needed:

    https://wordpress.org/extend/plugins/bp-export-users/

    You have to edit the array in the plugin file to use your buddypress profile fields (you can add or delete), but other than that, pretty slick.

    #115224
    Meini
    Member

    Sorry guys for some reason I don’t get emails sent to me when there is activity in my groups and I haven’t been too active here for a while. I have made a start and produced something usable, but haven’t worked on it for a while, so I would like to make this code available to anyone who is interested to expand on it. I managed to implement a feature to force users to complete mandatory fields in their profile if they haven’t done so.

    Help yourselves… http://www.utechworld.com/files/public/buddypress-utech-user-manager.zip

    Have fun … :)

    #115202
    4ella
    Participant

    Some GROUPS import plugin would be great because the force of the buddypress and similar social network is mainly in Groups , groups represents local business as companies , sport clubs , company divisions , theaters , museums , schools (Groups =classes) . Members represents employees & athletes & students .
    Many local activities , many associations has a list of those clubs & companies & schools in their CSV files , they would use it very nicely with buddypress , then they can use BP powerful forums for their employees , maps , reviews , docs , galleries .
    I have a csv lists of bars , nightclubs from all over the world (200K) , with custom fields like :

    name
    country
    province
    city
    address
    phone
    email
    basic club description
    and one Group profile picture =logo

    which serves for everybody – girls searching for jobs (I am using Docs for explanation info ) , clients searching for reviews , photo galleries , club owners searching for both – girls working there , clients coming there , many BP webmasters are using Groups for similar purposes , many people who doesn’t know buddypress yet and has those huge csv lists would be potentially a new BP users , especially because of that great feature (bulk Groups import plugin).
    Nobody will want to create one group for 5 minutes , they would like to import basic xxx groups to set up basic database and to give an example to the new group admins creators =(club owners as admins) in my case , maybe they would also like to sync it with their excel database in future.
    I understand that BP developers have a lot of work to do , so I don’t ask that kind of code or plugin urgently , but if it is not too difficult (only you know it if it is , because for me 3 lines of simple code seems to be very difficult ) , would be nice to have it for all of us = BP users , if it is a quite difficult take it pls only as e new plugin suggestion .

    #115195
    tonydbaker
    Member

    Did you ever create a wordpress/buddypress plugin for this? I need to limit characters on activity, but I’m not a programmer. I can activate a plugin though! Also, I need to limit characters on a couple of custom profile fields. Thanks and Let me know!

    #115141
    gdeglin
    Member

    Thanks 4ella! Just sent you an email. We don’t sync profile fields yet, but we have some other features that make us more interesting than the other Facebook connect plugins out there.

    #115090
    4ella
    Participant

    very nice avatars , I am using facebook autoconnect premium , I am satisfied with that (except facebook fields support – location , age , language ) , I am also member of buddydev.com where I can use its facebook connect too, but avatars from there changes the size in sidebar and in profile and till now I didn’t have a time to play with css files to change it and to put it in live environment , I like Brajesh plugin more because of facebook fields = buddypress profiles fields sync , feature which autoconnect doesn’t have , do you support that too ? I am using facebook autoconnect a lot , so if you want I can try to test it out for you too . Using custom avatars like I have seen your examples would be great because many people doesn’t want to show their original facebook photos .

    #115087
    4ella
    Participant

    I had the same question 1 month ago here on BP and nobody responded , hope that somebody will respond you because I have a csv file with 20K nightclubs and I would like to create 20K groups where every club will have their forum , review , blog , gallery , wiki =docs . I would like to add there some groups profile custom fields where I should add custom fields to describe every club , but there’s no fully working plugin yet , Groups Extras from @slaffik seems to be left, Groups Frontpage has only a few fields.

    junger
    Participant

    @candy2012 just to clarify, the order of the fields should be

    `

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />

    `

    It works great!

    #114767
    DoctorDR
    Member

    @jpfaraco the following method worked fine for me.

    But the methods discussed in other posts did not, namely;

    “ and “

    Perhaps somebody more knowledgeable than I could explain why, since the first method was recommended several times in the past by @hnlahttps://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-show-custom-profile-fields-in-a-template-file/

    #114280
    Bowe
    Participant
    #114279
    blauweogen
    Participant

    For anyone else looking for getting an if statement to work, I got to work. This is from member-loop.
    `

    some text

    Here is the same for the member-header.

    some text

    `

    candy2012
    Member

    Hi Brandon,
    I’d love to learn more about how can I implement what you suggested (I am not a programmer, so I’d really need some code here :-) )

    “hook in a profile edit action and check to see if all the fields you require have been completed. ” .. how ?!?!?
    Can you help with the function pls?

    “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.” – would be fantastic, but again … how to write that?

    The issue with “friendly or not for the user” is all related with what your site wants 2 achieve; if you simply need all that information to make your site useful and do not want to end up as a fakes collection a la Facebook, than you just NEED to find a way to enforce that on users …

    Thank you in advance, woudl be really great to have some feedback on that!

    (I find that user progression pretty much useless, and it does not work properly in WP 3.1.2 either :-( ); that’s just my opinion on it ..

    #114274
    candy2012
    Member

    what do you mean by “miss”?!? All those mandatory fields are useless if not forcing the user to fill them in (which right now does not happen)
    It’s a complete lack of logics, don’t you see that?

    right now you have so-called mandatory fields which actually are optional, cause no one, no where, can force the user to fill them in!

    #114191
    candy2012
    Member

    works well for me :-)
    I would have loved to have a splitted registration form though (like fields from group1 on the 1st page, fields from group 2 & 3 on the following form registration page, etc), to prevent scare away users if you happen to have more fields you want them 2 fill in …

    but I must be honest, I have NO clue as of how to achieve that ..

    If you happen to find a solution, I’d appreciate if you’d post it back here :-)

    C.

    #114161
    webbietl
    Member

    Is there a way to add extended profile fields info to the Bookings Report? When people register, I ask them if they are Vegetarian and I need that info when I manage the bookings to know how many vege meals to serve. I tried using for an added column but it only fetches my preference in all the columns.

    Hope to see the option to add extended fields in Books report.

    #114141
    billzy
    Participant

    Custom Profile Fields Buddy press plugins… there is a also a few permission plugins in there also… wordpress.org i found them months and months back still work…

    #113901

    In reply to: Member Profile Extras

    Virtuali
    Participant

    `one, too: cursor on “buddypress with logo” on menu, on left. it will show arrow to expand, see option there.`

    ???

    Just go to your dashboard and create more profile fields under “Profile Field Setup”

    #113839

    @paulhastings0 Try this filter, it will sync user name on the fly

    just paste this block of code in your template functions.php

    `
    /////////////////////////
    ///// To sync user names on the fly, it will show xprofile fullname of user
    /////////////////////////
    function wpi_sync_member_name($data) {
    global $members_template, $bp;

    #$firstname = xprofile_get_field_data( 1, $members_template->member->id ); // 1 = firstname > wp_bp_xprofile_fields.id
    #$lastname = xprofile_get_field_data( 51, $members_template->member->id ); // 51 = lastname > wp_bp_xprofile_fields.id
    #$fullname = $firstname .’ ‘.$lastname;
    #return $fullname;

    return bp_core_get_user_displayname( $members_template->member->id );

    }
    add_filter( ‘bp_get_member_name’, ‘wpi_sync_member_name’ );
    `

    Paul Wong-Gibbs
    Keymaster
Viewing 25 results - 2,476 through 2,500 (of 3,608 total)
Skip to toolbar