Search Results for 'profile fields'
-
AuthorSearch Results
-
March 12, 2010 at 6:33 pm #68003
In reply to: WP + BuddyPress Private Profile Fields
e_mcpartlin
ParticipantWas this ever solved? I am trying to accomplish the same thing – make some profile fields private. Thanks!
March 12, 2010 at 2:04 pm #67948In reply to: Buddypress forum (bbpress) profile custom fields
enzyad
Participantup
March 12, 2010 at 3:35 am #67901In reply to: Help migrating my site to a new server
Psyber
ParticipantI have was able to export and import my WordPress content into WordPress, getting all of my users, their info, and buddypress x-profile fields is where I am getting hung up. I keep gettin the #1062 – Duplicate entry ‘1’ for key 1 error message.
March 9, 2010 at 6:32 pm #67421In reply to: How to grab xprofile data?
Boone Gorges
KeymasterOho, I learn something new every day!
So r-a-y – since it’s profile-field specific, you can probably skip
while (bp_profile_fields() ) : bp_the_profile_field()right? #toolazytotrymyselfMarch 9, 2010 at 5:46 pm #67409In reply to: How to grab xprofile data?
r-a-y
KeymasterBoone is right; however there is a way to post specific xprofile fields!
Check out a nifty function called bp_profile_field_data().
Say I have an xprofile field called “Bio”.
I’d use this code snippet:
bp_profile_field_data('field=Bio');This will echo the “Bio” xprofile field of the displayed user.
If you want to manipulate the data, use:
bp_get_profile_field_data('field=Bio');March 9, 2010 at 4:53 pm #67401In reply to: Saving Selection Field Issue
Mark
ParticipantI just discovered the same problem of getting the same “Please try again” when attempting to save a profile with empty not required fields. Also only One (the last) item selected in a Multi Select Box is being saved and displayed on the Pubic Profile page. Check Boxes do work properly and display all checked items on the Public Profile Page. I’ll enter this in the Trac later today unless someone shares some additional insight.
March 9, 2010 at 4:35 pm #67399In reply to: How to grab xprofile data?
Boone Gorges
KeymasterIf you want to get information out of the custom xprofile fields, you’ll need to use some of the functions in the profile-loop. I don’t think there are any core BP functions that allow you to pull a specific profile field by name or ID, so you’ll have to create a profile loop (
<?php if ( bp_has_profile() ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>), then a profile field loop (<?php if( bp_profile_group_has_fields() : while ( bp_profile_fields() ) : bp_the_profile_field(); ?>) and then loop through the items, picking out the ones you want by field name. Use the code in profile-loop.php as a template for what you want to insert into members-loop.March 6, 2010 at 8:35 pm #67039In reply to: WP + BuddyPress Private Profile Fields
freebee1989
MemberOkay, thanks! Anyone have any idea o how this can be done now?
March 6, 2010 at 7:59 pm #67038In reply to: Turn off links for profile fields
Nick Watson
ParticipantOh okay, so I read through the readme, and I see the line:
“Future features include: admin tab with toggle switch; ability to tweak BP’s automatic profile filter”
So in the future, there’ll be a way to turn off the auto filters. The plugin always worked, it was just the automatic BP linking that I was not aware of.
Thanks.
March 6, 2010 at 7:43 pm #67036In reply to: WP + BuddyPress Private Profile Fields
r-a-y
KeymasterThat code snippet probably applied to an older version of BP.
March 6, 2010 at 5:18 pm #67022In reply to: Turn off links for profile fields
Paul Wong-Gibbs
KeymasterIf someone posts this on the Ideas forum, that’ll get this flagged for a future BP release. I know John’s working on xProfile in BP 1.3, so it’ll never work again properly *hides*
March 6, 2010 at 5:06 pm #67018In reply to: Turn off links for profile fields
Boone Gorges
KeymasterThanks for the plug, Erich

https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/ is the plugin you’re thinking of. I updated it about a week ago to work on versions of BP 1.2+ (though you should definitely let me know if it does not work!).
@Nick – the plugin will do what you want. Check out the readme file, which will explain how to make it work.
@gregfielding – That’s a good idea, but at the moment BP is not set up in a way that makes it easy to create those check marks with a plugin. Maybe I’ll submit a core patch that does it, as I’d like to see it too.
March 6, 2010 at 4:27 pm #67015In reply to: Turn off links for profile fields
abcde666
Participantcheck this out:
http://teleogistic.net/2009/05/custom-profile-filters-for-buddypress/
Boone for President

BTW: please let me know if this Plug-in works fine with BP-version 1.2.1
March 6, 2010 at 4:04 pm #67014In reply to: Turn off links for profile fields
gregfielding
ParticipantI’m having that problem too…I’ve got profile fields set up for full contact information…phones, fax, address, etc. And all are clickable and search within buddypress.
It would be nice to have a simple check box next to the profile field to choose if the field should be searchable.
March 6, 2010 at 10:04 am #66984In reply to: Turn off links for profile fields
Nick Watson
ParticipantHmm well, I did a search, and that name seems very familiar, but it appears that it’s the same plugin as the one I have installed:
https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/
my problem is getting them to be NOT links, unless someone uses the tags
Thanks, I think that was maybe the old name for it??
March 6, 2010 at 4:45 am #66970In reply to: Turn off links for profile fields
joshmac
ParticipantI think what you are looking for is the Custom CUNY Academic Commons Profile Filters plugin.
March 5, 2010 at 6:48 pm #66904Sofian J. Anom
ParticipantI just found the same thing, and I change it manually through the database, the _bp_xprofile_fields table.
March 4, 2010 at 5:04 pm #66708In reply to: Editing Members Profile
Peter Anselmo
ParticipantThe only way I know to do this, is to log in as an administrator, and then visit the member’s profile edit url (/members/username/profile/edit). You can then edit the fields.
Admittedly, this is clunky. I was toying with the idea of writing a plugin to make this easier, but I’ve also heard talk that this may be addresed in 1.3. Someone else might know more.
March 4, 2010 at 1:17 pm #66678Roger Coathup
Participant@gyonis – the post has only been up 21 hours, and also is quite intimidating to read through (it may have been better to ask each question individually!)
Any some pointers:
Q1. You’ll need to write some PHP code, and also understand the BuddyPress hook function concepts.
There are already some posts on modifying the admin bar, e.g. https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/
If your list of blogs is fixed, it should be straightforward. If you want it to dynamically add newly created blogs to the dropdown list, I suggest taking a look at the code in /plugins/buddypress/themes/bp-default/blogs/index.php as a starting point
Q2. I suggest setting up a blog in your install for the NGO Directory, with new users added as contributors… they would then be able to create posts in that blog, but it would need your admin approval before the post goes live.
You could then use categories for each country, and tags to say what type of NGO they are (or simply have another set of orthogonal categories for type). For a simple ‘code free’ solution, you would then just put a sidebar widget in that provides a menu of all the categories and / or tags.
[A more powerful solution (extra features for the NGO), would be to give them an entire blog, instead of a single post for their organisation… although tagging and categorising blogs is / was a nightmare (Burt Adsit did some work on this, but I think it is out of date now).]
[Perhaps the best solution would be to add NGO’s as a different type of member in BuddyPress. i.e. users can register as themselves or as their NGO… Create a BuddyPress group to hold the NGO members, and have country, etc. as searchable fields in the profile. We gave up on a similar 2 types of member project, but there the challenges were considerable, yours may well work with this approach.]
Q3.1.1 You can add additional fields using the ‘custom field’ area of the edit post form. This isn’t particularly user friendly though, so you might want to look instead at something like the flutter plugin, which lets you define separate fields.
Q3.2 Posting from the front end is the ‘Holy Grail’ ! Check out P2 Blog… a theme that was developed by WordPress / Automattic, but seems to have gone very quiet. My wild speculation: @Andy (the developer of BuddyPress) wrote a blog post about P2… I wonder if that means we can look forward to the P2 blog front end features making an appearance in BuddyPress soon. Any comment @Andy?
To do what you want, you’ll definitely need some development skills (PHP), a decent working knowledge of WordPress code, and an idea where to start investigating the BuddyPress code (I doubt if anyone apart from Andy has a good working knowledge of it).
March 3, 2010 at 5:52 pm #66552modemlooper
ModeratorWhen you put a url into the profile fields it auto links it.
March 3, 2010 at 1:31 pm #66518In reply to: City/Country in Profile Fields
rich! @ etiviti
Participantgoogle search for sql ISO 3166 country tables – as many sites provide a basic list
March 3, 2010 at 12:49 pm #66509In reply to: City/Country in Profile Fields
March 3, 2010 at 9:52 am #66488In reply to: City/Country in Profile Fields
Paul Wong-Gibbs
KeymasterYou need to add them in manually, either via the page or directly in the DB. I suppose this could be achieved with a plugin, or in a future BP version.
I’m moving this post to the Ideas forum.
March 3, 2010 at 9:38 am #66486In reply to: City/Country in Profile Fields
draganbabic
MemberI’d definitely like to see a solution to this as well.
March 3, 2010 at 8:11 am #66480In reply to: Alternative Usage of a Profile Field
draganbabic
MemberThanks for the help r-a-y, I found this solution:
[IN BP_CUSTOM.PHP]:
function custom_xprofile( $field ) {echo bp_custom_get_member_list_xprofile_data( $field );
}
function bp_custom_get_member_list_xprofile_data( $field ) {
global $site_members_template;
return xprofile_get_field_data( $field, $site_members_template->member->id );
}
[IN CHILD THEME FILE]:
<?php custom_xprofile('Header Image') ?> -
AuthorSearch Results