Search Results for 'profile fields'
-
AuthorSearch Results
-
August 18, 2013 at 10:12 am #169999
marmuel
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?)?July 23, 2013 at 10:45 am #168625In reply to: Duplication of registration sections
mickyfen1980
ParticipantI want to have one page for registration which ideally takes in the profile fields set up for buddy press.
July 20, 2013 at 8:57 pm #168449In reply to: Make Activity Feed Restrictions?
bp-help
Participant@tduschei
That really is not what the unlbocked pages are meant to display. It is not meant for pages that need to generate the unique id of a a logged in user. That would defeat the purpose of the plugin. You can allow logged out visitors to view the members though by entering: members
in one of the unblocked page fields. I hope you understand that is the logic behind the plugin. It would not make sense to use a plugin for privacy only to divulge the most sensitive content on the site which is users profiles to logged out visitors. Its not a bug, it was developed this way purposely. Good luck!July 19, 2013 at 1:08 am #168318In reply to: Remove profile field from register page?
stunley
ParticipantActually, If there are no fields in the ‘Profile Details’ column then it doesn’t send an activation email, nor does it load the Check Your Email To Activate Your Account! message; it just goes back to the homepage.
July 18, 2013 at 9:33 pm #168302Cidade Sonho
Participantgood man 🙂 love bp <3
July 17, 2013 at 4:14 pm #168210modemlooper
Moderatorhere is an example on how to add a tab to a user profile. then, in the content function you just output the info saved from the form.
July 15, 2013 at 8:10 am #168111lautundleiser
ParticipantI got exactely the same problem over here. Field types “Website” & “Birthday” don’t show up on the “edit profile” screen. They don’t display on the “view profile” screen even so. All I see is the message from the privacy plugin, telling the visibility for the specific field.
Other field types like “Textbox” or “Checkboxes” work well.
I am using WordPress 3.5.2, BuddyPress 1.7.3 and BuddyPress Xprofile Custom Fields Type 1.5.6.5 – my theme is Custom Community.
Does someone know what’s wrong?
July 15, 2013 at 6:49 am #168107In reply to: Interactive Profile Fields During Registration
meetvora2006
Participant@marcella1981 hello i required same registration form as @davidveldt..and you have already given an solution to it but i cant understand where the ” pastebin ” you gave should be copy in buddypress theam..?
July 15, 2013 at 12:14 am #168100theflyingkitty
Participant<?php } /*EDIT*/ function filter_xprofile_groups_with_acl() { global $bp, $profile_template, $current_user; get_currentuserinfo(); foreach($profile_template->groups as $key => $profile_group) { if( ! in_array($profile_group->id, $this->user_allowed_xprofile_groups) ) { unset($profile_template->groups[$key]); } } } /*EDIT*/ function filter_xprofile_groups_with_acl() {} function block_screen_edit_profile() {July 15, 2013 at 12:13 am #168099theflyingkitty
Participantazchipka, would you happen to have a copy maybe of the file you edited?
Maybe they changed the scripts in the last three months, but following directions exactly and it keeps giving me a fatal error.
July 11, 2013 at 1:28 am #167913In reply to: Have a look at HumanEKO.com and give your feedback
ericrosete
ParticipantWow! Great work. A great example of what BuddyPress can really do!
I’m curious, what other plugins did you use when building the site? I’m guessing Advanced Custom Fields is one of them. Did you also create custom post types?
I’m also building a similar recruiting site and I’d like to build member profiles just like you did.
July 10, 2013 at 11:40 pm #167910In reply to: [Resolved] Add profile fields to Group Members loop
maikunari
ParticipantJust posting back with the solution in case it helps anyone else. This function will do it:
xprofile_get_field_data('Profile',$u_id);In my case it’ll be:
<?php if ( xprofile_get_field_data( 'Profile', $user_ID ) ) : ?> <?php echo xprofile_get_field_data( 'Profile', $user_ID ); ?> <?php endif; ?>Thanks to chifliiiii on WordPress Answers and to @shanebp.
July 10, 2013 at 9:31 pm #167906In reply to: [Resolved] Add profile fields to Group Members loop
July 10, 2013 at 9:29 pm #167905In reply to: [Resolved] Add profile fields to Group Members loop
maikunari
Participant@bphelp Thanks for the answer, but that doesn’t seem to be it 🙁
I tried
<?php echo bp_member_profile_data( 'field=Profile:' ); ?>but no dice.
Also it seems to work fine without echoing it on members/members-loop.php.It may be that the function only works inside the members loop, but I’m not sure?
July 10, 2013 at 9:28 pm #167904In reply to: [Resolved] Add profile fields to Group Members loop
shanebp
ModeratorUse bp_get_group_member_id() and pass the id to xprofile_get_field_data(…)
If you can’t figure it out and/or you want to honor field visibility settings,
there is a premium plugin available: BuddyProfileDataJuly 10, 2013 at 9:23 pm #167903In reply to: [Resolved] Add profile fields to Group Members loop
bp-help
Participant@maikunari
Looks like you forgot to echo it. Try this!<?php if ( bp_get_member_profile_data( 'field=Profile' ) ) : ?> <?php echo bp_member_profile_data( 'field=Profile' ); ?> <?php endif; ?>July 10, 2013 at 5:34 pm #167896In reply to: Use BP data to populate per-user forms
4ella
ParticipantI am trying something similar with gravity forms, I am trying to pre-populate gravity forms fields with buddypress profile data fields and I can’t get it work too, I am using something like this in functions.php if it helps:
// Buddypress pre-populate phone add_filter("form_field_value_phone", "populate_phone"); function populate_phone() { $current_user = wp_get_current_user(); $current_user_id = $current_user->ID; $phone = bp_profile_field_data( array('user_id'=>$current_user_id,'field'=>'phone' )); return $phone; }July 10, 2013 at 9:37 am #167867In reply to: remove empy description
Tammie Lister
ModeratorIs this a plugin or BuddyPress? I’m asking as you say custom subscribe fields. Are those profiles or using a custom plugin?
-
AuthorSearch Results