Search Results for 'profile fields'
-
AuthorSearch Results
-
September 4, 2014 at 10:52 am #189599
In reply to: Extended Profiles / Can't edit the fields
danbp
ParticipantIt is not an issue, it is intended so !
The logged user’s profile tab comes with 3 sub menus:
– View (public)
– Edit (private)
– Change avatar (private)On the main navigation of the member, you have at least
– Settings with 3 sub nav items:
– account credential (email, password)
– notifications
– field visibility settingsAnd if component is activated:
– Friends
– Groups
– ForumI agree that this Setting is confusing, at least, because those labels should indicate My Friends, My Groups, My Forums and My profile fields visibility settings, which is too long i grant you. π
FYI: such distinction wern’t really possible untill now in the original english version.
But the upcomming BP 2.1 brings some better context disambiguation just to improve such situation.To solve this today, you can:
1) create a translation file and modify the wording (but, as said, without disambiguation)
2) use a child theme and hardcode the text you want into the template file (best approach)
3) wait a few days for 2.1 to use the first optionSeptember 4, 2014 at 9:34 am #189583In reply to: Extended Profiles / Can't edit the fields
Cartographer
ParticipantI found this:
1) If you go through Settings and then Profile you are neither able to edit your profile nor to even see the infos (e.g. your display name)
http://i57.tinypic.com/2i6gvf5.png
2) If you go through Profile and then Edit you can edit your profile as it should
http://i61.tinypic.com/2rpv2gk.png
Well it does make sense but wouldn’t be great if you could at least see the info/fields using the method 1?
Regards
September 3, 2014 at 8:59 pm #189562In reply to: [Resolved] Registration form Field Error
danbp
ParticipantI don’t understand why you obstinatly want to write bios on wordpress (inactive when BP is activated) when you can do that with xprofile !
On the register page you have a single line text area field. Why don’t you use a multiline area for doing this ?
field type = Multi-line Text Area.
Entered text will then appear on user’s profile !The function you want to use cannot work, as it contain errors.
Sorry to tell, but I think you have to learn some php and buddypress handling before going to reinvent the wheel or making things you don’t really understand.
Some good reads here, and many others on the forum.
September 3, 2014 at 6:03 pm #189549In reply to: Multi select field no array?
danbp
ParticipantIf you want your user to set their profile, you must activate the xprofile component first.
You must also have a component page called by default Members
And a page for activation and another for registering.Then you must create some profile fields
Dashboard > users > profile fieldsAt this stage, which is the default process, you have nothing to know about array’s or code. All this is done within in a user friendly interface.
Sorry to detail such things – and probably knowed & done by you, but topics are also read by many other people.
You have an issue with multilines text areas ? OK
– do you use a custom theme or a third party theme ?
– are you on a local install ?
– have you other js malfunction elsewhere on your site ?
– have you tested with another browser ?Anyway, i guess you have to debug by deactivate all plugins but BP on the 2014 theme and retest the text area.
September 3, 2014 at 4:46 pm #189540In reply to: Multi select field no array?
ahalle
ParticipantI want the users to edit your own profile.
If the user is currently trying to save his entry in multiple select box, only in the last entry is saved, because the values ββare not passed in an array. Exactly the same problem at the register page.However, when I try from the backend multiple typed select and save the changes to take effect. Since this there passed as an array.
Now the question is how do I get it out that the multi-select are passed as array fields in the frontend?
September 3, 2014 at 1:19 am #189015shanebp
Moderatortry this in bp-custom.php.
You’ll have to get the ids of the fields you want to exclude on the register pagefunction register_hide_profile_fields( $retval ) { if( bp_is_register_page() ) $retval['exclude_fields'] = '3'; //field ID's separated by comma return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'register_hide_profile_fields' );September 2, 2014 at 3:49 pm #188992In reply to: Extended Profile Deletes Base Profile "Display Name"
Sokrates
ParticipantHi, Just in case it’s of use….
I’m a bit of a BP newb, and I’m using a fresh install of WP 3.9.2 and BP 2.0.1
I’m using a Gravity form as a registration form with the GravityForms User Registration add-on to register BuddyPress users.
As a newb, I have been experimenting a lot with the XProfile fields, and also noticed that at some stage of the proceedings, I had made a change that resulted in the same problem as in the first post – the WordPress last name value was deleted and the firstname field was set to the nicename when the update profile button was pressed.
I had changed the primary field in the XProfile fields from “Name”.
Replacing the primary field as Name, and mapping the “full name” field from the Gravity form to this field in the Gravity User Registration add-on screen seems to solve it for me
September 1, 2014 at 3:36 pm #188874DarkPsy
ParticipantIt’s one of those I just have to grind it out I guess. I’m not worried at all about the PHP Notices, that’s fine. The absolutely amazing behavior where the current_avatar function stops working even on a clean install is spooky. I’ll post something if I do make a break through , which seems unlikely right now.
Workaround: bbp_current_user_avatar fetches the gravtar link associated with an email.
At signup I have another custom field which forces the user to upload an avatar and then I replace all avatar references to the user defined profile image.You could do this with custom fields or a plugin like ‘Buddypress upload avatar ajax’ and then just retrieve the value from the $user.
Anyway you won’t have a website which relies solely on gravatars to begin with.
Until then I’ll stick to this, thanks again Dan for your patience. Cheers!
August 31, 2014 at 8:52 am #188803In reply to: Undisplay some Fields required in Reg.Process
danbp
ParticipantAugust 28, 2014 at 12:26 am #188607In reply to: display email in member directory
rthomasTechnology
ParticipantThat’s not it. I’m in members-loop.php. That (as I understand it) is the file that controls what people see when they go to the default members directory in BuddyPress (the page that shows you everyones icon, their name and when they were last active). I want to add the users email addresses to this screen. At one point I found a line of code and pasted it between:
<div class=”item”>
<div class=”item-title”>
“><?php bp_member_name(); ?><?php if ( bp_get_member_latest_update() ) : ?>
<span class=”update”> <?php bp_displayed_user_email(); ?></span>
<?php endif; ?>
</div>
and
<?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=email email’ );
*/?>
</div>which made the email addresses show directly under the names of the site members. I can’t find that code again.
Thanks
RandyAugust 26, 2014 at 1:13 pm #188504In reply to: [Resolved] Nobody visibility
danbp
ParticipantAnother snippet, more accurate with the suggested way above. Snippet goes into bp-custom or functions.php
The field/field group is only shown to site admins. A small bug in the current BP version(.0 -> 2.0.2) prevent of completely remove the group tab from the edit screen. Bug is fixed and this will work with BP 2.1.
function bpfr_hide_profile_field_group( $retval ) { if ( bp_is_active( 'xprofile' ) ) : // hide profile group/field to all except admin if ( !is_super_admin() ) { //exlude fields, separated by comma $retval['exclude_fields'] = '60'; //exlude groups, separated by comma - this may work with BP 2.1 $retval['exclude_groups'] = '7'; } return $retval; endif; } add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );August 26, 2014 at 11:44 am #188500In reply to: [Resolved] Nobody visibility
danbp
Participantoh crossposting ! haven’t seen henry’s answer.
nobody visibility doesn’t exist. This setting is called “only me“. This means that only the member can see this field – and the site admins. Such fields are not for site admins, but for the members !
I don’t really understand what is not working for you, as what you’re looking for doesn’t exist in BuddyPress. Sorry if i’m misunderstanding you.
When you create such a field visibility, you should also set “Enforce the default visibility for all members“, so the member cannot modify it later on his profile settings.
Little weird side effect, when a “only me” field is used and member A wrote hello, this word becames clickabke, by default. When member B write also hello, it becames also clickable. And if A or B clcik on Hello, it shows a list of all members who wrote the same word. In this case A and B !
Not really confidential, isn’t it ? The solution is to remove the clickable link.
Here’s a snippet which let you do that selectively.function my_xprofile_filter_link_profile_data( $field_value, $field_type = 'textbox' ) { // Access the field you are going to display value. global $field; // In this array you write the ids of the fields you want to hide the link. $excluded_field_ids = array(2,9,54); // field ID separated by comma // If the id of this $field is in the array, we return the value only and not the link. if (in_array($field->id, $excluded_field_ids)) return $field_value; if ( 'datebox' == $field_type ) return $field_value; if ( !strpos( $field_value, ',' ) && ( count( explode( ' ', $field_value ) ) > 5 ) ) return $field_value; $values = explode( ',', $field_value ); if ( !empty( $values ) ) { foreach ( (array) $values as $value ) { $value = trim( $value ); // If the value is a URL, skip it and just make it clickable. if ( preg_match( '@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', $value ) ) { $new_values[] = make_clickable( $value ); // Is not clickable } else { // More than 5 spaces if ( count( explode( ' ', $value ) ) > 5 ) { $new_values[] = $value; // Less than 5 spaces } else { $search_url = add_query_arg( array( 's' => urlencode( $value ) ), bp_get_members_directory_permalink() ); $new_values[] = '<a href="' . $search_url . '" rel="nofollow">' . $value . '</a>'; } } } $values = implode( ', ', $new_values ); } return $values; } /** * We remove the buddypress filter and add our custom filter. */ function remove_xprofile_links() { // Remove the old filter. remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 ); // Add your custom filter. add_filter( 'bp_get_the_profile_field_value', 'my_xprofile_filter_link_profile_data', 9, 2); } add_action('bp_setup_globals', 'remove_xprofile_links');August 26, 2014 at 11:12 am #188499In reply to: [Resolved] Nobody visibility
Henry Wright
ModeratorI think the field visibility settings are applicable to the member who is performing the setting.
The suggested way to do what you want would be to make your notes profile field hidden to all non-admin members.
The first step would be to create /wp-content/themes/your-theme/buddypress/members/single/profile/edit.php inside your theme.
You can copy the contents of edit.php from:
bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
Then you need to modify edit.php. In edit.php, find
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>and add the following immediately after it:if ( ! current_user_can( 'manage_options' ) && ( bp_get_the_profile_field_name() === 'notes' ) ) continue;Note: I’m assuming your field name is notes
August 24, 2014 at 12:42 pm #188358Jencina
ParticipantSorry, not all is well.
I edit in my custom “register.php” , but I can’t see anything. This is the code of my register custom page:
<?php global $bp; if(empty($bp->signup->step)) $bp->signup->step=βrequest-detailsβ; ?> <form action="β name=βsignup_formβ id=βsignup_formβ class=βstandard-formβ method=βpostβ enctype=βmultipart/form-dataβ> <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?> <?php do_action( 'template_notices' ); ?> <?php do_action( 'bp_before_registration_disabled' ); ?> <p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p> <?php do_action( 'bp_after_registration_disabled' ); ?> <?php endif; // registration-disabled signup setp ?> <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?> <?php do_action( 'template_notices' ); ?> <p><?php _e( 'Registering for this site is easy. Just fill in the fields below, and we\'ll get a new account set up for you in no time.', 'buddypress' ); ?></p> <?php do_action( 'bp_before_account_details_fields' ); ?> <div class="register-section" id="basic-details-section"> <?php /***** Basic Account Details ******/ ?> <h4><?php _e( 'PRUEBA', 'buddypress' ); ?></h4> <label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_username_errors' ); ?> <input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" /> <label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_email_errors' ); ?> <input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" /> <label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_password_errors' ); ?> <input type="password" name="signup_password" id="signup_password" value="" /> <label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_password_confirm_errors' ); ?> <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" /> <?php do_action( 'bp_account_details_fields' ); ?> </div><!-- #basic-details-section --> <?php do_action( 'bp_after_account_details_fields' ); ?> <?php /***** Extra Profile Details ******/ ?> <?php if ( bp_is_active( 'xprofile' ) ) : ?> <?php do_action( 'bp_before_signup_profile_fields' ); ?> <div class="register-section" id="profile-details-section"> <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4> <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?> <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?> <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <div class="editfield"> <?php $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() ); $field_type->edit_field_html(); do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a> </p> <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>"> <fieldset> <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend> <?php bp_profile_visibility_radio_buttons() ?> </fieldset> <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a> </div> <?php else : ?> <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> </p> <?php endif ?> <?php do_action( 'bp_custom_profile_edit_fields' ); ?> <p class="description"><?php bp_the_profile_field_description(); ?></p> </div> <?php endwhile; ?> <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" /> <?php endwhile; endif; endif; ?> <?php do_action( 'bp_signup_profile_fields' ); ?> </div><!-- #profile-details-section --> <?php do_action( 'bp_after_signup_profile_fields' ); ?> <?php endif; ?> <?php if ( bp_get_blog_signup_allowed() ) : ?> <?php do_action( 'bp_before_blog_details_fields' ); ?> <?php /***** Blog Creation Details ******/ ?> <div class="register-section" id="blog-details-section"> <h4><?php _e( 'Blog Details', 'buddypress' ); ?></h4> <p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ); ?></p> <div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>> <label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_blog_url_errors' ); ?> <?php if ( is_subdomain_install() ) : ?> http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> .<?php bp_blogs_subdomain_base(); ?> <?php else : ?> <?php echo home_url( '/' ); ?> <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value(); ?>" /> <?php endif; ?> <label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_blog_title_errors' ); ?> <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" /> <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>:</span> <?php do_action( 'bp_signup_blog_privacy_errors' ); ?> <label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label> <label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label> <?php do_action( 'bp_blog_details_fields' ); ?> </div> </div><!-- #blog-details-section --> <?php do_action( 'bp_after_blog_details_fields' ); ?> <?php endif; ?> <?php do_action( 'bp_before_registration_submit_buttons' ); ?> <div class="submit"> <input type="submit" name="signup_submit" id="signup_submit" value="<?php esc_attr_e( 'Complete Sign Up', 'buddypress' ); ?>" /> </div> <?php do_action( 'bp_after_registration_submit_buttons' ); ?> <?php wp_nonce_field( 'bp_new_signup' ); ?> <?php endif; // request-details signup step ?> <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?> <?php do_action( 'template_notices' ); ?> <?php do_action( 'bp_before_registration_confirmed' ); ?> <?php if ( bp_registration_needs_activation() ) : ?> <p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p> <?php else : ?> <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p> <?php endif; ?> <?php do_action( 'bp_after_registration_confirmed' ); ?> <?php endif; // completed-confirmation signup step ?> <?php do_action( 'bp_custom_signup_steps' ); ?> </form> </div> <?php do_action( 'bp_after_register_page' ); ?> </div><!-- #buddypress -->August 24, 2014 at 8:07 am #188351danbp
ParticipantHi @hardeepasrani,
xProfile field manipulation is a such common question on this forum. π Did you searched before asking ?
But codex first !
Here a topic where you can find how this works and can be done.
https://buddypress.org/support/topic/how-to-add-fields-from-xprofile-fields-groups-created-by-me/August 23, 2014 at 9:07 pm #188338r-a-y
KeymasterYou shouldn’t be loading your field_xprofile_twitter() function on ‘bp_init’. Doing this creates your field on every page load.
Why don’t you just create your field once in the WP admin dashboard under “Users > Profile Fields”?
August 23, 2014 at 12:30 pm #188324Bajdh
ParticipantHi,
Again thanks for your quick reply.
Yes, I used the snippet ‘as is’, and then tried to use the field name instead of the ID.
Field name obviously didn’t work, although you could use it too, according to this page:
https://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/But I found the profile field ID, and now it works!
Thank you so much :D.
(Yes, KLEO has premium support. But they are very, very slow. I opened a few tickets 1-2 weeks ago, still no replies. Found the answer in the meantime though π ).
August 23, 2014 at 12:16 pm #188323danbp
ParticipantI use the KLEO theme (BuddyPress is integrated), could it be because of that?
Normally, no.But as you use a premium theme, don’t except much help here. You also payed for support. If the snippet doesn’t work for you ( i tested it successfully with Twentythirteen before publishing), you have to get in contact with the theme author or read his doc about customization (if exist).
To get the field ID, see it from where the field is created, in xprofile admin. If you hover the delete button, you can see it at the bottom left corner of your browser.
You can also go into the DB and check for it in the bp_xprofile_fields table.
NOTE:
When you get a snippet, the first thing to do is to use it “as is” to test it – this means also “understanding how it works”, not to apply what you think is better. πAnd only when the test is ok, you can modify it or try to do so. π
August 23, 2014 at 11:48 am #188321Bajdh
ParticipantHey,
Thank you for your quick reply! π
I added the code to my theme’s functions.php, and replaced ’54’ with the name of the field (I can’t find the ID number anywhere), but that specific field still shows up in profiles/edit fields.
I use the KLEO theme (BuddyPress is integrated), could it be because of that?
Or is there a different way to find the field’s ID number? πI really appreciate your help, I didn’t expect such a fast and detailed reply! π
August 23, 2014 at 8:49 am #188312danbp
ParticipantHi @ww2boy,
Yes ! π Give this a try. Add it to child theme’s functions.php or bp-custom.php
function bpfr_hide_profile_edit( $retval ) { // remove field from edit tab if( bp_is_profile_edit() ) { $retval['exclude_fields'] = '54'; // ID's separated by comma } // allow field on registration page if ( bp_is_register_page() ) { $retval['include_fields'] = '54'; // ID's separated by comma } // hide the filed on profile view tab if ( $data = bp_get_profile_field_data( 'field=54' ) ) : $retval['exclude_fields'] = '54'; // ID's separated by comma endif; return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_edit' );Codex reference:
https://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-buddypress-template-loops/August 22, 2014 at 2:31 pm #188267In reply to: using placeholder attribute instead of label
mmadden
ParticipantYes, I’ve already edited the input fields within the basic-details-section div. I want to edit the input field in the profile-details-section div to match, but there is no input field in the register.php for that section. Instead there’s this:
<div class="register-section" id="profile-details-section"> <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4> <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?> <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>Is there any way to get at the input tag that gets output to the profile-details-section?
August 22, 2014 at 7:30 am #188236In reply to: Xprofile fields – Per Member Visibility
danbp
Participantyou will find some usefull posts about this on the codex.
Add custom filters to loops and enjoy them within your plugin
https://codex.buddypress.org/plugindev/playing-with-the-users-id-in-different-contexts/
https://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-buddypress-template-loops/Searching on the forum can also help.
https://buddypress.org/support/search/xprofile+conditionnal+fields/August 21, 2014 at 9:09 pm #187770In reply to: using placeholder attribute instead of label
danbp
ParticipantHi @mmadden,
not sure i understand what you want to achieve. Are you creating a register page from scratch ?
Anyway….
Open the original BP register file (/buddypress/bp-templates/bp-legacy/buddypress/members/register.php). It contains many placeholders and conditionnalsSo, for the mandatory NAME xprofile group (the only one you use), you have line 65
if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); --- blah---Line 75 sit this placeholder
do_action( 'bp_custom_profile_edit_fields_pre_visibility' );where you can hook your additionnal information.Line 98 there’s another one:
do_action( 'bp_custom_profile_edit_fields' );just above this function:<p class="description"><?php bp_the_profile_field_description(); ?></p>In register.php, the section you speak about goes from line 50 to 112
From/***** Extra Profile Details ******/to</div><!-- #profile-details-section -->Of course, you can also add your own placeholder to your register template.
Sorry if i’m wrong.
August 21, 2014 at 3:02 pm #187708aces
ParticipantUsing firefox on http://animalsfunnypictures.com/members/sanaa/ I can see
entry-content img {which has awidth: 510pxif i disable it in firefox it becomes the ‘normal’ size.This is coming from Marla theme’s style.css on line 1464 – see for yourself…
August 19, 2014 at 8:01 am #187192Saurabh Jain
ParticipantThanks @1a-spielwiese,
Is there any way to search users using xprofile fields.
E.g. In my xprofile field i have named “Skills” i want to search all user having the Skill = I.T.
I made Skills as checkbox. -
AuthorSearch Results