Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1 through 25 (of 3,636 total)
  • Author
    Search Results
  • #181487
    Avatar of @modemlooper
    @modemlooper
    Moderator

    Most plugins that add user fields are for the WordPress profile. The new Extended profile in the admin is for BuddyPress specific user information.

    Avatar of yoshimitsu1234
    yoshimitsu1234
    Participant

    wp-admin/profile.php link on wordpress admin panel shows fields like facebook twitter google+ profile fields, biographical info etc. Why aren’t those fields listed in buddypress profiles of users and do i have to manually enter profile fields? or it there fields could be included in buddypress profiles?

    Avatar of yoshimitsu1234
    yoshimitsu1234
    Participant

    Is there any way i could hide profile fields i have created using “Profile fields” section of admin panel from registration page? I only want email, username and password fields in registration page.

    #181336
    Avatar of jerryskate
    jerryskate
    Participant

    Well, this didn’t work.. It only works for my main profile page where my slug/url is unique to the profilname. If i click other fields in the profile page, notifications, activity etcetera the url changes, and so does my css changes.

    Any other ideas?

    Avatar of Henry
    Henry
    Participant

    The best approach is to list all of the places a member can enter text then try to lock each one down.

    Off the top of my head I can think of:

    The WP admin area – creating posts and pages etc

    Comments (if you have comments enabled)

    The BP profile area (xProfile fields)

    The activity stream (commenting, replies, new updates etc)

    Private messaging?

    Avatar of shpitzyl
    shpitzyl
    Participant

    Hi, I need to do word censorship on the profile fields. I’m using the hook xprofile_updated_profile to achieve that. The problem is that I can’t find a way to generate an error message when the user uses a forbidden word. I’ve tried to do it with the function bp_core_add_message() without any success.

    Replacing the forbidden value with an empty array is not a problem, Generating the error message is what I have trouble with.

    How can I achieve that? Can anybody help me?

    #181170
    Avatar of serks
    serks
    Participant

    Hi have a very similar issue and I think it may be related to the same cause.

    I have set up a xprofile group where I have a bunch of different radio fields like so…

    About You Widget
    Show | Hide

    Display Avatar On Profile
    Show | Hide

    Subscribed Member Badge
    Show | Hide

    etc.

    I have put code all around my website to show or hide things according to a users settings and it all works as it should BUT, the only problem is that the settings don’t take effect until a user goes to edit the particular profile group and clicks the ‘Save Changes’ button.

    Even though the defaults are set as they should be initially, they do not actually work until the user saves them.

    Any help on this issue would be much appreciated.

    Thanks

    #181131
    Avatar of chrisinsouthkorea
    Chris
    Participant

    (WP and BP both current/up-to-date versions, site publishelf.com, currently under a ‘Coming Soon’ plugin)

    I’m really hoping this is possible. We’re using a Gravity Forms form to register users, and Buddypress on a website that will connect authors and readers. I’m looking for a way to have each type of user register with their own form, show their own profile fields, and enable interaction between the two types. Right now, I’m using conditional logic to only show relevant fields in the sign-up fields, but the Buddypress side of things show all of the fields (for both authors and readers).

    What’s the best way to make this happen?

    Avatar of maybelater75
    maybelater75
    Participant

    Hi,

    I am fairly new to buddypress and cannot seem to figure out what I am doing wrong.
    (I also tried the search but it didn´t help that much as I am not much of a programmer)

    I have a website with a restricted area. It runs buddypress with extended profiles.

    It is not possible for new users to register themselves, adding users should only be done by an administrator. (company reasons)

    but, when I try to add a new user using the dashboard, I dont get access to the extended fields I added.
    When I click into an existing user via the dashboard, I also don´t see those extended fields.
    they do however show up when the user logs into the site himself.

    what am I missing ?
    thanks in advance.
    regards,
    LD

    Avatar of maybelater75
    maybelater75
    Participant

    Hi,

    I am fairly new to buddypress and cannot seem to figure out what I am doing wrong.
    (I also tried the search but it didn´t help that much as I am not much of a programmer)

    I have a website with a restricted area. It runs buddypress with extended profiles.

    It is not possible for new users to register themselves, adding users should only be done by an administrator. (company reasons)

    but, when I try to add a new user using the dashboard, I dont get access to the extended fields I added.
    When I click into an existing user via the dashboard, I also don´t see those extended fields.
    they do however show up when the user logs into the site himself.

    what am I missing ?
    thanks in advance.
    regards,
    LD

    #181047
    Avatar of bkypes
    bkypes
    Participant

    Hey guys,

    I added a few extra areas to my xProfile fields and there seems to be an issue with the CSS issue I can’t seem track down that makes colors alternate by row.

    Here’s what it looks like right now:

    http://screencast.com/t/xYuFwMIEs

    I’m on 3.8.1 and I just upgraded to BP 2.0 to see if that would help but I didn’t have any luck. Has anyone else ran into this issue that they could give me a hand?

    #180981
    Avatar of shanebpdev
    shanebp
    Participant

    We provide a premium plugin for reporting:

    http://www.philopress.com/products/buddyreports/

    But it does not show data re profile fields.

    Re ‘checked boxes’ – you would want a total of the number of members who have checked box ‘x’ or a list of all members who have done so ?

    #180922
    Avatar of shanebpdev
    shanebp
    Participant

    If ‘offer service’ and ‘search service’ are extended profile fields, you can adapt this example:

    http://codex.buddypress.org/developer/bp_user_query/#code-examples

    #180865

    Thanks for the feature request. At this time BuddyPress only provides visibility settings for individual profile fields. We’ve been putting off building a robust member to member permissions component until after we have attachments. Right now, everything in BuddyPress is loosely considered public.

    Remember that BuddyPress is still powered by WordPress, and WordPress’s roles and capabilities system isn’t really powerful enough or scalable enough to handle permissions for millions to millions of users.

    That said, there have been plugins that attempted to fill this void, but none of them gained a whole ton of traction unfortunately. We’ll get there, but it’s a bit of a long road.

    Avatar of Jonbie
    Jonbie
    Participant

    Hi Hugo,

    Thanks for the quick reply.

    I have a child theme already set up and i have put the following code into member-header.php but i am unsure of exactly where to put it and if the code is 100% accurate?

    <div id=’member_profile’>
    <div class=’profile_fields’>Category: <span><?php echo bp_get_profile_field_data(array(‘Type of account’ => ‘Type of account’));?></span></div>
    </div>
    <?php

    #180781
    Avatar of Lerroy
    Lerroy
    Participant

    Ok I was able to fix this issue.

    I added this code to my members-header.php

    <?php $Name = bp_get_profile_field_data( 'field=Name' ) ;
    echo '<h2 class="Name-fields_main">' .$Name. '</h2>';
    ?>

    added the code on line 22 just under this

    <div id="item-header-content">

    #180778
    Avatar of Lerroy
    Lerroy
    Participant

    Ok
    After allot more research I found a solution. looks like I was putting your code in the wrong spot sure it would have worked as well @Barney

    I used this code

    <?php
       
      $state = bp_get_profile_field_data( 'field=State' ) ;
    echo '<p class="profile-fields">State: ' .$state. '</p>';
    ?>

    This displays my custom field state that i added via users > profile feeds in backend of wordpress

    I put this code under

    <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>

    this is all in the members_header.php in the bp_legacy section

    #180758
    Avatar of Lerroy
    Lerroy
    Participant

    @Barney

    Thanks for pointing me to that.

    I’m still struggling though PHP aint my thing :(

    So the primary field “Name” and my other fields are called “State: and “Organization” and “Website” these are the field names I insert ?

    Heres where i put it..But doesnt show full member-header

    ` </div><!– #item-buttons –>

    <?php
    /***
    * If you’d like to show specific profile fields here use:
    * bp_member_profile_data( ‘field=About Me’ ); — Pass the name of the field
    */
    do_action( ‘bp_profile_header_meta’ ); // Here is one way you could add xprofile fields name as well as the value to the members directory!
    // Just remember to replace “Field-Name” with the names of your fields in the 5 variables in my code.
    // Also remember the field name is case sensitive. If you notice the pattern of 5 in my code you can
    // easily see how to add more fields if you need them. You can also use the div class bph_xprofile_fields
    // to adjust the CSS in your stylesheet. Place this code in bp-custom.php:
    add_action(‘bp_directory_members_item’, ‘bphelp_dpioml’);
    function bphelp_dpioml(){
    $bphelp_my_profile_field_1=’Name’;
    $bphelp_my_profile_field_2=’State’;
    $bphelp_my_profile_field_3=’Organisation’;
    $bphelp_my_profile_field_4=’Website’;
    $bphelp_my_profile_field_5=’About-you’;
    if( is_user_logged_in() && bp_is_members_component() ) { ?>
    <div class=”bph_xprofile_fields” style=” margin-left: 25%;”>
    <?php echo $bphelp_my_profile_field_1 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_1 ); ?><br />
    <?php echo $bphelp_my_profile_field_2 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_2 ); ?><br />
    <?php echo $bphelp_my_profile_field_3 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_3 ); ?><br />
    <?php echo $bphelp_my_profile_field_4 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_4 ); ?><br />
    <?php echo $bphelp_my_profile_field_5 ?>: <?php echo bp_member_profile_data( ‘field=’.$bphelp_my_profile_field_5 ); ?><br />
    </div><?php
    }
    }

    ?>’

    #180735
    Avatar of SimpleOne
    SimpleOne
    Participant

    @espellcaste, I had already read through that WP doc you referenced. That’s actually where I learned what lines of code to add to my wp-config.php file that I mentioned above.

    And yes, it is redirecting to the BP Registration page. That’s expected behavior since I have my BP settings that way. (I have some custom BP profile fields that I want users complete during registration.)

    I have posted my question here (as opposed to WP support) because it seems to me the issue may have something to do with how I have BP setup to interact with WP. And so I would think that someone else perhaps has encountered this same issue with BP and the Registration page.

    Anyone?

    #180697
    Avatar of Renato Alves
    Renato Alves
    Participant

    @cdb3212 As far as I understood your problem, there are two articles that would save your life if you had a chance of looking in the Codex. These are:

    http://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/

    http://codex.buddypress.org/developer/function-examples/bp_profile_field_data/

    Take a look at those and try it out. =)

    #180695
    Avatar of Renato Alves
    Renato Alves
    Participant

    Hi @theatereleven,

    I’d say that what you aim for is perfectly possible with BuddyPress. You could the following, just suggestions:

    • Your users could register themselves;
    • Just active the Extended Profile component;
    • Use Extended Profiles Fields so that your users can add information when signing up or later;
    • And you could customize the appearance customizing the template the way you want.

    Maybe there is a better solution, but with BuddyPress you would get already built-in, profiles, profile fields, register process/page, user roles and etc.

    Avatar of theatereleven
    theatereleven
    Participant

    If anyone can help me with this, I’ll owe you big time. I’d even be willing to pay for a consult if needed.

    Here’s the deal: I have a new WordPress site with public profile pages. Right now I’m doing it with users as custom post types, and using ACF fields to build out the profile pages in precise detail including multiple image upload sections, WYSIWYG areas, etc. Then using S2 member to grant individuals rights to their profile page, but that’s a tedious pain in the arse.

    Question: I want a way for a user to register and fill out their own page without me involved. But I need precise customizable options. I don’t want a social network, so I don’t want a lot of the stuff that will come on a BuddyPress profile page. Will BuddyPress let me customize the heck out of the profile page? I’m a PHP lightweight and a CSS heavyweight.

    ACF and custom post types have spoiled me because I can place anything exactly where I want it.

    Any help is greatly appreciated. I don’t have a lot of time to get this done.

    Thank you!!!

    Avatar of iwishiknew
    iwishiknew
    Participant

    Is there a way I can assign a value for an xprofile field to multiple users?

    For example, I want to give every user on my site an uploaded image for one of their xprofile fields titled “image”, can I do that in bulk or do I need to do that 1 by 1?

    #180653

    In reply to: field visibility

    @shanebp Had support from the developer of xprofile. He thinks has something to do with buddypress. I don’t know. What I do know is that if I have the following code in the members-loop file:
    <?php $hidden_fields = bp_xprofile_get_hidden_fields_for_user(bp_get_member_user_id()) ; ?>
    <?php if (xprofile_get_field_data(‘field_name’) && !in_array(xprofile_get_field_id_from_name(‘field_name’), $hidden_fields)) : ?>
    <?php echo xprofile_get_field_data (‘field_name’); ?>
    <?php endif; ?>

    <?php bp_member_profile_data( ‘field=Adres’ ); ?>

    The first code with $hidden_fields and xprofile doesn’t return anything.
    The second code does always return data, no matter how visibility is set.

    Any ideas?

    Avatar of cdb3212
    cdb3212
    Participant

    The goal is to display all xprofile data from users to the right of their avatar, with the clickable URL links still intact – the way it is under the user Profile page.

    I know this problem has been addressed in the past, but I cannot get this to work for the life of me. I followed this as a guide, with no success.

    I copied the single/member-header.php from the bp-templates/bp-legacy directory in to my child-theme.

    This is what my member-header file looks like right now:

    
    <?php
    		
    		 If you'd like to show specific profile fields here use:
    		 bp_profile_field_data( 'field=location' ); -- Pass the name of the field
    		 
    		 do_action( 'bp_profile_header_meta' );
    
    		 ?>
    

    The location field is a custom one that I made.

    I’m running the latest version of buddypress and using a child-theme of twentyfourteen.

    I appreciate any help.

Viewing 25 results - 1 through 25 (of 3,636 total)