Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 3,426 through 3,450 (of 5,755 total)
  • Author
    Search Results
  • PE Scholar
    Member

    @djpaul – Just the standard, out-of-the-box BuddyPress registration process for now. Couple of additional fields, all added as standard (via BP profile settings).

    We are looking into using Gravity Forms for user registration in the future, mainly so that we can hook Twitter (& other social url’s) into extended & custom profile field, and also to make the registration process self-contained (not requiring email activation), but right now, we’re just using out-of-the-box functionality/forms.

    FYI – We’re also using the Mingle theme by Parallelus but having raised this issue over on their support forums, I was informed that it’s highly unlikely to be a theme-related issue, which is fair enough really.

    carmelneta
    Participant

    hey,
    Trying to create a profile fields of a user that will be visible to adim only.
    so far I`ve tried to use the current_user_can wp function in the The Profile Data Loop, but it didn`t go so well.
    Any ides?

    Thanks,
    Carmel.

    Well, yes and no @hotsitez….

    Here’s what I have:

    I went into WordPress/BuddyPress via wp-admin — then navigated to Buddy Press > Profile Fields

    On the Extended Profiles Fields page, I added a “Start Date” for our members to populate which is the date they started with our company. Then on the Base (Primary) tab on that page, I got my extended field positioned where I want it to display.

    Perfect (so far).

    Now what I want to do is apply some PHP to calculate how many months and years the person has been with our company and parenthetically display it next to the start date value on the member’s profile page in Buddy Press when people view a person’s profile.

    How To Do That?

    So where/how in member-header.php do I add that bit of PHP code? Note, I am a PHP coder, so I have no problem producing the code to make the calculation — I am not asking for that guidance. I simply need to know (a) what script/document file do I go to to add my code, (b) where in the page production stream in that script/document file do I add my code, and (c) how do I grab the start date value that is stored in the BuddyPress DB?

    This maybe too complicated for Buddypress to do, but I am willing to give it a shot.

    [Note: I toyed around with member-header.php per @hotsitez suggestion. The profile area that this script impacts is the upper “header’ area for a member. I am interested in getting into the flow of the Profile > Base page.]

    Roger Coathup
    Participant

    @natetheaverage –

    an outline solution (there are lots of areas where you’d have to work to implement it):

    When a group is created, you could write a hook that creates a corresponding xprofile field group (remember to hook on delete group as well to remove the profile field group)
    In the member’s profile screens, you would hide that xprofile field group if the member is not a member of the group
    In a hook on Join Group, you’d want to display an additional screen that prompts for the user fields, and when that is submitted use the xprofile API to write the data to the user’s profile
    I guess finally, you’d also want to modify the members loop inside the group to show that information

    There’s a lot of code for you to trawl through

    So on my site every time a user joins a group they have the option of listing some details about their personal connection to it. Right now I am having to manually create each of the three user fields so they will show up on profile->edit. I am using either mySQL or admin page to do this.

    I can not for the life of me figure out where or how to use existing functions to automate the process.

    any suggestions? ideas? or am I doomed to try and write something that will be mediocre at best.

    ps this is my first attempt at development with buddypress.
    If it helps this is the site http://www.chameleonalchemy.com

    hotsitez
    Member

    Frank – while I am new to BuddyPress (started it on a site today), i think you are working on similar layouts at moment that I am. The file I just finished re-working was “member-header.php” – I had added Profile Fields like Gender, Age, Etc. to display Gender for Example I used:

    ‘[?php bp_profile_field_data( ‘field=Gender’ );?]’

    basically add the name of the Profile Field you wish to display and use the Field Title name you gave it in the format above.

    Other than that its just editing CSS and adding text etc to layout. I am still working on many things – its the one area I really want to pop is the Profiles pages.

    I hope it helps!

    #137398
    Paul Wong-Gibbs
    Keymaster

    This is really not easy to change. The options for the date field are generated deep inside the bp_get_the_profile_field_options() function, right near the bottom of it:

    `for ( $i = 2037; $i > 1901; $i– )`

    I would suggest you use the ‘bp_get_the_profile_field_datebox’ filter and manually strip out the OPTION fields that you don’t want.

    #137387
    abbersbolton
    Participant

    @RogerCoathup Thanks for that I will look in to it- it didn’t happen to me when I built first edition on local server. It may be one of a number of plugins, I will test each one to see if they cause problem and then try another theme. Shouldn’t be the theme because custom community theme is supposed to be compatible with BP but hey ho you never know.

    @cj-kruger Yes I think I am, BP Klout and BP Twitter. I’ll look to see how it goes but at the moment the two plugins seem to be fine together unless of course they are causing the problem.

    I will test this week and report back. Thanks all.

    #137359
    CJ Kruger
    Participant

    Im guessing from what you have said you are using my twitter and klout plugins, what I could do is build a custom plugin for you – having all your requested features in one interface..

    It will not be free though it wont cost a arm and a leg, if you are interested contact me at nit3watch@gmail.com

    #137358
    Roger Coathup
    Participant

    BuddyPress profile fields do show by default when you visit a profile. So, it sounds like either your theme, or a plugin is causing the problem.

    Did you create your profile fields from the BuddyPress menus in wp-admin?

    The most likely candidate for the problem sounds like the plugin you are using to add buttons and maps to the user profiles.

    Try deactivating that plugin – do the profile fields show?

    Try switching to bp-default theme – do the profile fields show?

    If they are still not showing — deactivate all your plugins except BuddyPress, use the default theme, and go to the Profile Fields section in wp-admin … are they definitely set up correctly in there? Are privacy settings correct? Do the profile fields show now in the front end?

    By breaking your search down for a solution step by step like this, you’ll be able to determine what is causing the problem (your theme or one of your plugins).

    #137343
    abbersbolton
    Participant

    Well (I’m sorry I don’t have a clue how to insert a pic like you have) I’d like them to show up on the member’s profile page, i.e. when they click on your name. I want it to be in the header I suppose, or just somehow accessible. At the moment, when I click on a member, there is no “public profile” tab or anything like there is on my own, so all you see is the activity module.with activity, groups, forums etc.
    I just want other people to be able to access this info even if it means an “info” tab a la Facebook!

    To briefly explain, I have a similar set up to yours – Twitter button and klout score and a user location map so these things are in the header already, but other info like for example, Facebook page url, web address – I want these custom fields to also show and not just serve as input for plugins etc.

    Thanks

    #137336
    CJ Kruger
    Participant

    They will be there under Profile>Public

    Where is it you would like them to show up?

    For example these are custom fields being called in the group header, same thing can be done with the members header

    abbersbolton
    Participant

    Can someone please help with how to show up the custom profile fields that we make for registration? I don’t understand to be honest, why they are called “profile fields” if they are not for showing up automatically on the profile, but I’d greatly appreciate if someone could tell me if it’s some sort of code I need to enter and where exactly I need to enter it to make them show up?
    I’d like all of my base profile fields to show up as I’ll be running a private site.

    P.S. (off topic) Is it just me or is the buddypress.org site search facility just completely broke? It just always sends me to the blog….
    Many thanks.

    stoi2m1
    Participant

    So I have managed to list all of the profile fields by including the edit.php file from my buddypress theme.

    I have then tried to trick the $bp object into looking like its setup for the profile component and edit action by setting the follow items like so:

    `$bp->current_action = ‘edit’;
    $bp->current_component = ‘profile’;
    $bp->displayed_user->ID = $user_id;
    $bp->displayed_user->userdata = $bp->loggedin_user->userdata;`

    How do I get the fields to populate with the current users data?

    valuser
    Participant

    With bp-multi-network membership is shared across networks, the members directory in each network will list all active members, yet each member has a separate profile within each network.

    bp xprofile fields are network specific. If a member joins via one network that members registration xprofile fields are specific to just that network.

    So say for example you had networks based on location, New York, Los Angeles, Vancouver, etc etc

    At the moment there appears to be no way of showing, in the members directory of each network, from which network each member originated. (other than on a particular network the particular members that originated in that particular network)

    For example John Doe (from New York network) can be shown in the New York as originating from there, but his origins can’t be shown (with xprofile fields) say in the Los Angeles Members Directory unless he actually fills out the profile fields in the Los Angeles network.

    As a way round this I have attempted the following and I need some help to complete it (if it is possible).

    Inserted a field in the registration form using @johnjamesjacoby suggestion (though old) from http://buddypress.org/community/groups/creating-extending/forum/topic/how-to-add-custom-usermeta-to-registration/?topic_page=1&num=15

    After registering a few users I then tried the following on different networks
    where 80 (and other integers) was the userid of new members and “thenetwork” was the registration field added via @johnjamesjacoby ‘s code.

    `<?php $user_info = get_userdata(80);
    echo $user_info->thenetwork;
    ?>`

    It returned the correct data for all userids.

    BUT when I added the code below to the members-loop.php

    `thenetwork; ?>`

    it returned the members id for each member but NOT the data from $user_info->the network.

    Can this be done ? If so how ? Is there a simpler way ?

    ericreynolds007
    Participant

    I was successful in displaying member profile fields for each profile displayed in my member directory, using the following code and action. Now, i need to display the same profile fields when a member views a friend request notification. Currently, only the profile name of the requesting member and “Accept” and “Request” display. Is it as easy as adding an additional ‘add_action’ function calling the friend requesting member? If so, does anyone know the slug? Thanks.

    ‘function add_member_custom_extended_profile() {
    $data_name = bp_get_member_profile_data( ‘field=Affiliation’ );
    $data_jobs = bp_get_member_profile_data( ‘field=Member Since’ );
    echo ‘ Affiliation’ . ‘ – ‘ . $data_name . ‘
    ‘;
    echo ‘Member Since’ . ‘ – ‘ . $data_jobs . ‘
    ‘;
    }
    add_action(‘bp_directory_members_item’, ‘add_member_custom_extended_profile’);’

    #137032

    In reply to: Private profile fields

    valuser
    Participant

    In 1.6 beta 2 https://buddypress.org/2012/07/buddypress-1-6-beta-2/ there is a facility to restrict visibility of profile fields to —-> Anyone, Logged In Users or My Friends.

    In addition there is https://wordpress.org/extend/plugins/buddypress-profile-privacy/ for earlier versions of buddypress. This can restrict visibility of profile fields to —-> Everyone, My Friends, or Only Me

    #137026

    In reply to: Private profile fields

    interglobalmedia
    Participant

    I’m interested too. Some users might want that.

    #30329
    douglerner
    Member

    I currently have an older, proprietary social network that’s been running for years, with about 10,000 members.

    I can export from that site in any custom format needed.

    Is there a format I can create which will import users with the following info intact?

    – User name
    – Email address
    – Date joined (very important!)
    – Friends
    – Groups (I would also have to recreate the groups)
    – Personal avatar
    – Profile info (I would make sure the profile fields match)

    Thanks!

    doug

    p.s. Is there a way of receiving notification of replies from these support forums?

    Roger Coathup
    Participant

    It’s possible – but not via the extended profile fields.

    The best solution probably involves developing a custom BP profile component to handle the images, and then some front end manipulation to make it appear ‘in position’ in profile edits / views.

    Is is possible to add an “Image” type of field in the Extended Profile Fields?

    Basically the client wants me to replicate what’s here (note the field to add an image half way down): http://www.citrustwistkits.com/wp-content/uploads/2012/07/New-Gallery.png

    Is this even possible?

    #136867
    valuser
    Participant

    See and test https://buddypress.org/community/groups/miscellaneous/forum/topic/buddypress-1-6-beta-2-is-ready-to-test/

    SOME privacy issues have been addressed. But not to the extent of being able to (out of the box) hiding members profile, groups, pages from visitors.

    Just, now, visibility of individual profile fields can be allowed to be toggled/or fixed by admin between


    > Anyone, Logged In Users or My Friends

    #136770
    valuser
    Participant

    bear with the ignorance !

    `` What do I replace this with ?

    #30249
    idesigns
    Member

    I need to have a way to add html/php to profile fields. I know this is not the best idea for security reasons, but client is insisting on it.

    I can even do an iframe if needed, but of course the html is stripped out. It would be nice to have an HTML option in the drop down for the profile fields, but If I can add it to the text box then that will work too. The site is locked down to only memebers that are part of the company. So how would I make it where I can add html/php or an iframe to the profile fields?

    Thanks for the support

    #136721
    ed
    Participant

    So I found the css solution:

    I just added the following into my themes css:

    .display-name h4 { display: none !important; }
    .display-name table { display: none !important; }

    This will not show the base profile fields in the public view but will still allow the member to change username.

    Hope this helps.

Viewing 25 results - 3,426 through 3,450 (of 5,755 total)
Skip to toolbar