Search Results for 'profile fields'
-
AuthorSearch Results
-
June 30, 2012 at 12:18 pm #136613
Kookidooki
ParticipantHello guys,
I’ve found and added this code in member-header.php and it’s almost working:
`Location: </spanHobbies:`
The location is displayed correctly, but hobbies are displayed as”Hobbies: array”.
I’ve checked profile field Hobbies; Field type= Multi select Box. This might be the problem if you use this option.1. How do I display the selected boxes?
2. Do I have to copy the above mentioned code to the Frisco theme? If so where?June 30, 2012 at 12:01 pm #136609Kookidooki
ParticipantHello guys,
Yes I’m using the Frisco theme for Buddypress and I’m completely at lost
…
and I was not aware that the Frisco theme was a child-theme.I’m now figuring out how to add my created profile fields “Location” and “Hobbies” in the member’s header.
June 30, 2012 at 11:54 am #136608Hugo Ashmore
Participant@kookidooki Are you using the bp-default theme or a custom one here? Providing all pertinent detail is very important. Rogers guidance in his first post pointed out that there are actually instructions on how to add further xprofile fields, if you have created new profile fields then it should now be a simple matter of following the guide in the member-header file, let us know if that is proving an issue and perhaps provide an example of the code you are trying to add.
June 30, 2012 at 11:49 am #136607Roger Coathup
ParticipantIf you are not tech savvy, it sounds like you would be best to hire a developer to do this development work.
It would also be helpful if you posted full information on here – like the theme you are trying to modify – I notice you have asked the same question on the Frisco theme forums
June 30, 2012 at 11:33 am #136606Kookidooki
ParticipantHello Roger,
Thank you, I’ve found the files!
I’m not tech savvy….. Maybe you could help me with the following issue:
I’ve created profile fields named “Location” and “Hobbies” in Buddypress>Profile Fields.
How do I display these fields in the member’s header just below the name of a profile.
Pls could you provide me the code and step-by-step instructions?Thx in advance,
Kookidooki.June 30, 2012 at 11:23 am #136605Roger Coathup
ParticipantEvery BuddyPress version from 1.0.1 to 1.5.6 comes with bp-default as part of the plugin package.
Start with the documentation on theming BuddyPress: https://codex.buddypress.org/theme-development/the-bp-default-theme/
Also, look at the BuddyPress files in your plugin directory.
June 30, 2012 at 11:01 am #136604Kookidooki
ParticipantHello Roger,
What version of Buddypress are you using cause I couldn’t find the files member-header.php and bp-default theme.
I’m using the latest version of Buddypress.
Thx in advance,
Kookidooki.June 29, 2012 at 4:33 pm #136564pmcvicker
ParticipantI’ve seen this bug once myself, pre-populating only xprofile fields. I jumped into the database to see how the data was presented, or why it was displayed, and noticed that all of the xprofile values that were appearing in the registration form had a user id of “0” associated with them. Not sure if that’s helpful, but deleting the value from within the database cleared the registration fields.
June 29, 2012 at 2:34 pm #136560frank tredici
Member@modernlooper — I just searched this support forum for “remove links in profile fields” and got very strange and non-related results. So I still don’t know how to fix the glitch.
June 29, 2012 at 2:20 pm #136558modemlooper
ModeratorSearch here to remove links in profile fields. It’s a BuddyPress feature for searching users who are similar
June 28, 2012 at 12:44 am #136508In reply to: Automatic matches based on interests
aaronp5
MemberAnyone find a solution? Also looking for widget/plugin to show members with similar interests and match up various profile fields. The group idea is interesting, but could be extensive, i.e we have a field for state that would be at least 50 groups, not to mention we hope to go international.
June 27, 2012 at 6:36 pm #136491Roger Coathup
ParticipantHave a look at the member-header.php file in bp-default theme. It documents how to add fields.
Follow those instructions to add them in the member-header equivalent in your child or standalone theme… or add them in an action hooked on to bp_profile_header_meta
June 25, 2012 at 3:22 pm #136380In reply to: [Resolved] how can Modify Registration Form ?
Mathieu Viet
ModeratorOk, to set new fields for your members you should read the paragraph ‘Optional: Set Profile Fields’ of this tutorial
http://wpmu.org/the-illustrated-guide-to-installing-and-setting-up-buddypress-1-5/if you mean login in with email, then you can try this interesting plugin https://wordpress.org/extend/plugins/wp-email-login/
then you can add a function in the functions.php file of your active theme to change the label of the sidebar login form :
add_action('bp_after_sidebar_login_form', 'bp_login_by_email_adapt_login_form'); function bp_login_by_email_adapt_login_form() { ?> jQuery(document).ready(function($){ usernameoremail = $("#sidebar-user-login").parent().html().replace(/Username/ig, 'Username or email' ); $("#sidebar-user-login").parent().html(usernameoremail); }); <?php }or if you’re using a child theme of BP-default theme, you can add/edit the template sidebar.php and replace the label for=sidebar-user-login by Username or email.
June 25, 2012 at 2:01 pm #136378In reply to: Multiple Profiles on BuddyPress
Roger Coathup
ParticipantTo build this kind of feature, you need to be a PHP developer:
- You’d add new profile field groups for each type of stat (or if the stats are too complex for profile fields – a custom component to handle them).
- You’d then assign a role to each member based on whether they are a batter, pitcher or fielder – ideally implemented using the underlying WordPress user roles.
- Finally, you’d implement conditional logic in your templates to display appropriate profile field groups based on the member’s role.
June 25, 2012 at 1:10 pm #136376In reply to: [Resolved] how can Modify Registration Form ?
Mathieu Viet
ModeratorHi websitevala,
To add custom fields to your registration page, you’ll need to add xprofile fields. To do so in WP Backend, you should go / BuddyPress menu / Profile fields submenu
And for the other thing, as you noticed emails are hidden, there might be a spam risk reason to that. And as a user, i wouldn’t like to have my email shown on my profile.. So i dont think it’s a good idea.
June 22, 2012 at 1:23 pm #136238edinchez
ParticipantOh. That’s sad to hear. Nevermind then, it’s not a huge problem anyway.
June 22, 2012 at 10:59 am #136233Paul Wong-Gibbs
KeymasterFrom time to time, we hear reports of this. No-one has figured out if it’s a theme issue, or a plugin issue, or a BuddyPress issue, or some sort of WordPress config issue. I’ve never been able to recreate it, nor have the other core developers, which suggests it’s something outside of BuddyPress or the BP-Default theme.
June 22, 2012 at 8:57 am #136228edinchez
ParticipantI doubt it’s the second one because I just changed the theme, and that used to happen with the old theme as well. I recently changed the SEO plugin to the Yoast one, but I was using the All in one SEO plugin earlier, so I doubt it’s that one too. The only thing not changed is the captcha plugin, which I’m going to try disabling it now.
June 22, 2012 at 1:30 am #136209@mercime
ParticipantThis has been brought up in the forums before. I recall some causes to pre-filled profile fields in registration page:
– plugin conflict with an SEO plugin and a captcha plugin – can’t recall specifically which ones but deactivating all plugins except BuddyPress, then activating plugins by batches of three helped them identify the culprit/s.
– theme conflict where theme added options for SEO and the likeJune 22, 2012 at 12:11 am #136206Mathieu Viet
ModeratorHi @creaturis,
I think the best solution is to avoid recording an activity if the post has one of the category you want to exclude from activity stream, in the functions.php file of your active theme, you can try this code :
function do_not_record_this_category( $post_id, $post ){ /* this is the array that contains the category to exclude */ $ids_to_exclude = array( 4 ); if ( 'publish' != $post->post_status ) return false; $categories = get_the_category( $post_id ); $in = false; if( count($categories) > 0 ) { foreach ( $categories as $category ) { if( in_array( $category->cat_ID, $ids_to_exclude) ) $in = true; } /* if the post has at least one excluded category, then we remove the BuddyPress hook that records an activity */ if( $in ) remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 ); } } add_action( 'save_post', 'do_not_record_this_category', 9, 2 );In 1.6 you can set the visibility of profile fields to logged in users, friends or anyone. I haven’t seen the behavior you’re describing.
June 19, 2012 at 3:52 pm #136060enderandrew
MemberI believe everything in the Base profile field group is on the registration form.
If you create a new group of profile fields, those won’t be on the registration form.
June 17, 2012 at 9:59 am #135953In reply to: Profile fields and Activity Stream not working.
ninjaface
ParticipantSwitching to the default buddypress theme does not correct this issue. Could this be some sort of issue when during an install maybe of buddypress? If so how would I do a clean reinstall and would this affect my existing content?
June 16, 2012 at 2:47 pm #135910In reply to: [Resolvd] SVN Version and profile fields
Sergio De Falco
ParticipantGuess that’s for the spam control. So that’s why the DB needed to upgrade, I see it already on the current SVN.
Thanks Paul
June 16, 2012 at 1:32 pm #135904In reply to: [Resolvd] SVN Version and profile fields
Paul Wong-Gibbs
KeymasterThe only change to the database structure for BP 1.6 is to the bp_activty table. We’re adding the following column, and index:
is_spam tinyint(1) NOT NULL DEFAULT 0,
KEY is_spam (is_spam)June 16, 2012 at 11:08 am #135899In reply to: [Resolvd] SVN Version and profile fields
Sergio De Falco
ParticipantHere they are

These improvements will affect the database structure?Thanks

-
AuthorSearch Results