Search Results for 'profile fields'
-
AuthorSearch Results
-
September 12, 2013 at 6:17 pm #171233
Ben Hansen
Participantyou can’t really hid the entire profile out of the box but you can hide most of the fields and info by setting the default visibility in the profile field setup screens.
September 12, 2013 at 2:23 pm #171198In reply to: Credential system for members of certain groups
Artisantopia
Participantok – just adding this here so I have everything in one place:
How to Add an Image Field to Buddypress Extended Profile FieldsSeptember 12, 2013 at 2:03 pm #171196In reply to: Credential system for members of certain groups
Artisantopia
Participantooh what about this one for the file uploads:
https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/Can anyone advise which of these options works best?
thanks
September 12, 2013 at 1:58 pm #171193In reply to: Credential system for members of certain groups
Artisantopia
ParticipantWhat if I just set up xprofile fields in a separate profile field group? If I use a field type of multi line text box then they could enter unlimited credentials. This field could then be searched couldn’t it?
hmmmm, but then how to get the file upload in?..
September 12, 2013 at 1:37 pm #171192In reply to: Credential system for members of certain groups
Artisantopia
Participanthttps://wordpress.org/plugins/buddypress-profiles-manager/
ok, doing some more research and I’ve found this plugin which would possibly work by only showing the credentials profile fields for the experts. I’m not using S2member, but I am looking at other membership plugins, or I assume I could just use a capability manager to create new roles….
Yes? No? Maybe?
ok – back to Google for some more research…
September 11, 2013 at 8:41 am #171135In reply to: Remove the Name (required)
danbp
Participanthi @famous,
so far i know, is the registration process a fully part of WordPress who use a function called wp_create_user.
This function requires 3 variables: name, pwd and user email to authenticate.As a templated plugin, BP let you handle visualy a part of this process, particulary with extended profile fields. But BP doesn’t alter the orignal registry handling. The only 2 other things you can do is to change the NAME field name and allowing synchronization between WP and BP.
So the BP name field stays mandatory in any case and you cannot remove it.
September 11, 2013 at 4:21 am #171130In reply to: Buddypress x-profile visibility doesn't work
envieme
ParticipantHi there, just nudging to see if there’s a work around or hack in BP code I can do to enforce desired x-profile visibility levels as in my case users need not have an option to choose their visibility levels. So I hope someone can point me in the right direction on how to hardcode the visibility levels for my x-profile fields in the code.
Many thanks.
September 10, 2013 at 6:41 pm #171107In reply to: Adding classes to profile fields
danbp
Participanthi @applegateian,
read here how to fetch checkbox,radio and multiselect datas
1) give each check box a unique name
2) create a filter function with your css items around the echo $data.
3) add the filter to a profile action
4) doneSeptember 10, 2013 at 5:20 am #171066bp-help
Participant@rameshwormaharjan
I tried your plugin and it works as you describe but it would be better if the admin could edit the xprofile fields as well from the dashboard. It is inconvenient for the admin to have to switch between the dashboard to the front-end to edit the xprofile fields. If you can get the plugin to that point it would be very useful.September 1, 2013 at 10:06 pm #170729In reply to: Men/Woman Option Redirect?
Xevo
ParticipantCreate a radio button through your profile fields, and once logged in let your theme get the profile fields data and let it decide what template parts to load.
Thats pretty much it.
August 28, 2013 at 11:17 pm #170589In reply to: Show members with certain role
mattvd
ParticipantHi henry thanks for all of your help.
I think I have the code somewhat working, at least it says up top viewing members 1 of 5 (I have 1 member assigned as editor). But it doesn’t pull anything like their avatar and name etc.
http://postimg.org/image/ay8fbd23f/
Here is my code (the part that you recommended)
<ul id="members-list" class="item-list" role="main"> <?php while ( bp_members() ) : bp_the_member(); ?> <?php $user_id = bp_get_member_user_id(); $user = new WP_User( $user_id ); if ( $user->roles[0] != 'editor' ) break; ?> <li> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> </div> <div class="item"> <div class="item-title"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a> <?php if ( bp_get_member_latest_update() ) : ?> <span class="update"> <?php bp_member_latest_update(); ?></span> <?php endif; ?> </div> <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div> <?php do_action( 'bp_directory_members_item' ); ?> <?php /*** * If you want to show specific profile fields here you can, * but it'll add an extra query for each member in the loop * (only one regardless of the number of fields you show): * * bp_member_profile_data( 'field=the field name' ); */ ?> </div> <div class="action"> <?php do_action( 'bp_directory_members_actions' ); ?> </div> <div class="clear"></div> </li> <?php endwhile; ?>August 27, 2013 at 2:17 pm #170502In reply to: How to Get User Profile Data
shanebp
Moderator>would it work with BP’s fields
It should.
You can always hard code an ID to find out.August 27, 2013 at 1:31 pm #170499In reply to: How to Get User Profile Data
trinzia
ParticipantThis is for customized comments on custom post types. The specific question is what user ID I would use, to display an xProfile field for each comment author.
I found WP’s comment author name and link, but not ID. If I did manage to get the comment author ID somehow (haven’t managed that yet), would it work with BP’s fields?
August 27, 2013 at 9:45 am #170494Drexel82
ParticipantThis solution worked for me. Thanks.
August 26, 2013 at 8:02 am #170416Rayleigh
ParticipantAnd I paste my code :
<div class="bp-widget <?php bp_the_profile_group_slug(); ?>"> <!-- <h4><?php /* bp_the_profile_group_name(); */ ?></h4> --> <div class="profile-fields grid_7"> <ul> <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <?php if ( bp_field_has_data() ) : ?> <li<?php bp_field_css_class(); ?>> <ul> <li class="label"><?php bp_the_profile_field_name(); ?></li> <li class="data"><?php bp_the_profile_field_value(); ?></li> </ul> </li> <?php endif; ?> <?php do_action( 'bp_profile_field_item' ); ?> <?php endwhile; ?> </ul> </div> <div class="grid_5"> <?php if( function_exists('upm_single_map_display') ) : upm_single_map_display(); endif; ?> </div> </div>https://docs.google.com/file/d/0B__rIOiJ6Zq4MlU5WWlYQXMxLVk/edit?usp=sharing
August 22, 2013 at 3:36 pm #170237marmuel
Participantno common usecase?
August 20, 2013 at 3:29 pm #170113wildcatdigital
ParticipantHaving the same exact problem with the website field. Textbox fields also work perfectly fine for me.
WP 3.6
BuddyPress 1.8.1
BuddyPress Xprofile Custom Fields Type 1.5.7.1All that shows up is “This field can be seen by: …”
🙁
August 18, 2013 at 10:12 am #169999marmuel
Participantno idea?
August 18, 2013 at 1:00 am #169993In reply to: Adding Custom Fields to Groups
craig
Participantis there a way to do this yet? i’m looking at adding a simple ‘location’ field to the groups. Like a profile field, one that’s clickable to take them through to all groups within that location.
August 12, 2013 at 2:04 pm #169745In reply to: Load profile field link in new page
David Cavins
KeymasterIt’s generally preferred to let the user decide whether he wants to open a link in a new window or the same window. That said, you can use jQuery to force content to open a new window to happen:
http://stackoverflow.com/questions/4742746/jquery-open-new-window-on-page-loadOr, you could filter the output for the fields by adding a filter to
bp_get_the_profile_field_value(you’ll be addingtarget="_blank"to the anchor tag). Here’s an example that removes hyperlinks from the output for specific fields:function cpfb_unlink_fields( $field_value ) { $options = array ( //These are the ids of the fields you want to target 12, 14 ) if ( in_array( bp_get_the_profile_field_id(), $options ) ) $field_value = strip_tags( $field_value ); return $field_value; } add_filter( 'bp_get_the_profile_field_value', 'cpfb_unlink_fields', 998, 1 );August 10, 2013 at 6:40 pm #169667In reply to: Call specific User profile fields to a page.
operapreneur
ParticipantI was successful at doing this. You can read about the results here on the forum.
I would suggest starting this kind of thread on the “How to/troubleshooting” topic, not this thread since it’s all about showing off the finished product.
August 7, 2013 at 2:02 am #169489In reply to: registration doesn't work when set as homepage
cupid4
Participant@r-a-y during registration, have you noticed that all the select-list is already filled, although I made none as default, this is how you ended with all the profile fields in your test profile although nothing supposed to be set as default or required, so what could be the reason for it? also, any edits I make child theme css doesn’t work and I’m just about to bang my head in the wall :s
August 6, 2013 at 8:08 pm #169471In reply to: Working with optional profile fields only
X-Ray-3
ParticipantNot sure if I’m really the only one who tries to setup optional fields only…?
August 6, 2013 at 6:53 am #169437In reply to: Car database plugin
4ella
ParticipantI would simply create a custom post type “car” and then add them or in admin backend dashboard as post titles with searchable custom fields as country of origin, year of construction, etc or with gravity forms in frontend. Posts you can after add in every user profile page new tab “My Cars”.
August 2, 2013 at 8:26 am #169259In reply to: BuddyPress missing Privacy Menu
@mercime
Participantthe options for the user privacy setting totally DISAPPEARED! It also doesn’t show on the Update posting boxes.
Not quite sure what you mean for the first one? Privacy setting for xProfile fields?
And what doesn’t show on the update posting boxes (status updates right?)? -
AuthorSearch Results