Hi guys
My client has asked me to see if we can do some repeater fields within a users profile, much like is possible with the Advanced Custom Fields plugin for WordPress.
Within profiles, a user is able to edit their education, in a free text box. Ideally they’d add years, degree, description etc, then hit ‘add another’ to include more education fields.
Thanks,
Ian
Hi,
I’m a complete novice at Buddypress and I have spent a long time on these forums and the codex pages trying to figure out if this is possible…
(excuse me if this has been repeated elsewhere – please point me in the right direction if it has)
I’m trying to create a buddypress network for 2 different types of users (volunteers and hosts), each with their own different xprofile fields. I would only like the volunteers to view and contact the hosts and the hosts to view and contact the volunteers.
I understand there is a great plugin to help part way with this ( buddypress user account type pro).
This plugin can display different user types (in a filtered member’s directory) in a menu but It cannot hide the volunteer’s member’s directory from a logged-in volunteer and vice versa for the host.
Does anyone have any other ideas or plugins that may be able to help? Is it possible to set up two different buddypress networks on two different installations / multi-network but be able to view each other’s profiles and message each other once logged in?
I have very limited knowledge of php. So if it’s a case of changing something here, please can someone point me in the right direction.
Thank you for your help.
I have the latest Buddypress 1.8.1 and wordpress 3.6.1
I’ve created extended profile fields and they are not showing up. I’ve reinstalled buddypress. Checked the option on and off.
I’m using the twentythirteen default wordpress theme as well. All that shows is the “base” profile.
Can anyone provide some insight.
Thanks
Hi there once again,
Let’s see if you can help me with the next issue.
As I told in the other post, I finally manage to set as public the members list, but now I want to make it a bit more complete.
Right now, the list only shows Name of the user and last time active.
Well, I would like, if possible, to show extra info in the list. For example the information set as public in the xprofile (I’ve create some extra fields such as ‘job’, ‘city’…)
Other thing I would llike to do is to show not only the name but the fullname (1st and 2nd name)
Thanks again, and till while, I keep on searching!!
See ya!!
How can I hide a field group from showing on the profile page?
I already called these fields to show up elsewhere, so now I want to hide them from the loop.
I really appreciate your help. Thats the first bit of code that has worked to display the xprofile fields and iv tried allot.
Im not sure if you could help me with this one aspect. I would like to also call something like google+, twitter or facebook links that I created in the xprofile fields.
I can call those fields with the code posted here, but im wondering if @henrywright-1 or anybody stopping by this post could help with the code needed to make the called data as a link with alt text so it looks like Twitter, Google +, Facebook.
Thanks for any help or pointers
@applegateian each checkbox should have a unique ‘id’ which you can use to target specific checkboxes.
Do you have a link to your page with the checkboxes on it?
Sorry to chase, can anybody help clarify this? Thanks again.
You have to give the field a title when you add new profile fields via WP Admin > Users > Profile Fields. Whatever you’ve chosen as your field title is what you should use
Any suggestions on how to do with an existing drop-down select box field type in Profile Fields?
Iv been searching and found some things here and there with not much explanation of where to place code.
There are a ton of plugins that display an author box with their Bio in a post, but only problem is they all pull the bio info from wordpress rather than the way buddypress uses xprofile fields.
Iv set up a Bio field but really need to know how to call this field into a post and where to place the code to make this work.
If there is anyone who can shed some light on this it would be greatly appreciated.
Thanks @modemlooper
So the checkboxes for ‘budget’ fall under a third tab within admin:

Would that need something different?
If you are referring to what the users see and not the admin like in your screenshot you can just target with CSS no need to use a function.
The CSS is:
#buddypress .standard-form .field_2 div.checkbox label
field_2 could be different depending on where you placed the checkboxes in the admin.
Can anyone help me with this one? I know it’s probably really simple but I’m struggling to get this to work.
Thanks
// Insert New Field
xprofile_insert_field(
array (
'field_group_id' => 1,
'name' => 'Twitter',
'field_order' => 1,
'is_required' => false,
'type' => 'textbox'
)
);
Thank you for your reply. Unfortunately my knowledge of php and wordpress APIs is not sufficient for this. I was hoping to have something to click on, or at least some code snippet.
Perhaps more people will find this feature useful, and someday it gets included in Buddypress.
You would need to build a script to map the usermeta over to bp profile fields, then they will display automatically in the profile screens.
I am trying to set up corporate buddypress site, and so far I have set up WordPress 3.6.1 with BuddyPress 1.8.1. I am using Active Directory Integration plugin for importing Active Directory users into WordPress. It also features the possibility to import AD attributes to WordPress user meta attributes, and I am successfully importing stuff like Job Title, Department, Phones etc. into WordPress user meta.
I would like to display those attributes automatically on users’ buddypress profile page. Is this a possibility? Thank you in advance.
Any suggestions on how to show data to right of member avatar in #buddypress div#item-header div#item-header-content?
I have custom user fields that I want to replace the user area with custom div that will have data-show=”” and data-server=”” tags info from user
how can i add custom profile fields with functions, filters and actions rather than adding them with buddypress backend options.
@serie3369
You really should still make a child theme and add that that to it. Otherwise if you update your theme it is likely that it will be overwritten.
FIX: I downloaded the firefox addon FireBug. I clicked on the label box for one of the Profile fields that were all showing up white text and were not able to see. This addon allows you to see where the source of the code lies. I found mine in my themes Bootstrap.min.css file. For an easier way to read your code or search for the text color, use your bootstrap.css file. But all final code changes need to be in bootstrap.min.css. My code looks like below:
.label,.badge{display:inline-block;padding:2px 4px;font-size:11.844px;font-weight:bold;line-height:14px;color:#000;text-shadow:0
I already changed the color to black, before it would’ve been #fff
You could use this or study it to write your own:
https://wordpress.org/plugins/bp-profile-search/
So I’m trying to figure this out on my own and I got as far as finding out that since BuddyPress 1.7 there’s a new class: BP_User_Query – which should be similar to the standard wordpress WP_User_Query
However the official BuddyPress documentation page for the class is just a holding page (argh!) – https://codex.buddypress.org/developer/class-reference/bp_user_query/
Does anyone have a basic ‘Hello World’ example they could give me for pulling in a list of users based on a custom profile field?
I’d really appreciate it.
Thanks