Search Results for 'profile fields'
-
AuthorSearch Results
-
April 21, 2010 at 1:16 pm #74585
In reply to: Profile Fields
peterverkooijen
ParticipantWP, WPMU and BP each have their own member admin areas, both frontend and backend, and data tables in MySQL, some of them synced, most not. Member management is an afterthought for Automattic. Hopefully it will be fixed in 3.0.
April 21, 2010 at 12:36 pm #74580In reply to: Profile Fields
Brajesh Singh
ParticipantIf you mean the User entered data, it is available on their profile not inside the wp-admin. You will need to visit their profile to see the data.
April 21, 2010 at 12:35 pm #74579In reply to: xprofile vs usermeta syncing problems
peterverkooijen
Participant@Andy Peatling, so version 1.2 does sync separate firstname and lastname from the xprofile field to the fields in wp_usermeta?
I will upgrade when WP 3.0 is out, probably this Summer when my day job work is slow. I have a custom theme. It will be a complicated operation.
April 21, 2010 at 4:18 am #74542In reply to: Badge Maker
Nahum
Participantnice one. would be good to admin what profile fields should be made available to user. I have long list of fields that only get used as custom fields for other purposes than regular display. but yea some changes on backend don’t update on front, specifically the V/H Layout option didn’t work by setting it in admin, only when i set to allow user to decide layout does it update on hitting update badge. btw what’s the best way to overwrite the default logo image. thanks.
April 21, 2010 at 12:43 am #74516In reply to: New User Actions for BP
r-a-y
KeymasterJust looking into the bp_core_signup_user() function again. Sorry for pointing this to you in the first place!
I would not recommend using this function because it sets a user’s status to “not active”, then sends an email to activate the account (which makes sense because that’s the default registration behavior in BP!).
Since we don’t want to ask a FB user to activate their account, stick with the wp_insert_user() function, then use some code to sync up the xprofile fields like:
// set xprofile field 1 (Name) with the fbuser's first name
xprofile_set_field_data(1,$user_login_id,$fbuser['first_name']);
/*
* @param $field The ID of the field, or the $name of the field.
* @param $user_id The ID of the user
* @param $value The value for the field you want to set for the user.
*/To initialize BP, look at using the bp_init action:
https://codex.buddypress.org/how-to-guides/checking-buddypress-is-active/
[EDIT]
Just looking into the WP-FB-AutoConnect plugin, Justin (the author) has a do_action that you could hook into:
do_action('wpfb_login', array('WP_ID' => $user_login_id, 'FB_ID' => $fb_uid, 'facebook' => $facebook) );Here you can sync up your xprofile fields, etc. Unfortunately, this action occurs every time a Facebook user logs in. You could view this as a positive or a negative!
I think it would be nice if Justin added another do_action right after the wp_insert_user() function in _process_login.php.
[EDIT #2]
Requested a new do_action on Justin’s plugin page – http://www.justin-klein.com/projects/wp-fb-autoconnect/comment-page-5#comment-11638.
April 20, 2010 at 10:49 pm #74501In reply to: New User Actions for BP
r-a-y
KeymasterThat’s correct the $usermeta variable holds the submitted xprofile fields from the BP registration page.
eg. you could do this:
$usermeta['field_1'] = $fbuser['first_name']; // field_1 = "Name" on BP registration pageYou’ll have to grab the correct field_x name for each xprofile meta you want to sync up with the FB auto plugin.
—
BP_VERSION might not be working because WP-FB-AutoConnect is probably loaded before BP, so WP-FB-AutoConnect (man that’s a mouthful!) doesn’t know that BP exists.
April 20, 2010 at 10:20 am #74379In reply to: How to order members list alphabetically by default
leftblanx
ParticipantAnybody have any idea about these questions?
With regard to the point in the final paragraph – when you sort the members list alphabetically, and then use the search facility, the SQL query looks like:
SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID LEFT JOIN wp_bp_xprofile_data pd ON u.ID = pd.user_id WHERE u.user_status = 0 AND (pd.field_id = 1) AND pd.value LIKE ‘%%searchterm%%’ ORDER BY pd.value ASC;
It assumes pd.field_id = 1, which is the Name field – why does it assume you only care about searching on the Name field when ordering alphabetically? And how would I best modify this to search on a) the text values of all my text profile fields, and b) the labels on multiple option profile fields?
April 19, 2010 at 1:10 pm #74179In reply to: Ning.com Migration Tool (NMT)
Aaron Edwards
ParticipantI worked nonstop this weekend to finish up our own advanced importer we started a few months back. Allows you to do a full import of a Ning network’s users, their custom profile fields, and avatars to BuddyPress! It reallywas a bit of work to scrape avatars from the profile pages but looks real cool while importing. Full support for very large member lists via optional FTP upload and batch processing so it won’t timeout on you.
http://premium.wpmudev.org/project/ning-to-buddypress-user-importer
April 19, 2010 at 3:45 am #74123In reply to: How to control spam registration?
3sixty
ParticipantCan someone give solution that users that wish to sign up dont use buddypress signup page, instead they use regular wordpress signup which is much much safer.
Hmm, interesting. The generic BuddyPress register form does seem like a bit of a sieve (though it could just be my frustration talking).
I think you would just delete/disable /registration/activate.php and /registration/register.php. You would lose the ability for users to fill out extended profile fields at signup. However, quick signups are probably preferable, with seasoned users filling out extended profile fields as needed. I’ve read at least one article via delicious.com that suggests to me that signup forms need to be as simple as possible to help users focus on getting “behind the wall” fast and easy.
April 18, 2010 at 2:18 pm #74054In reply to: Ning.com Migration Tool (NMT)
Boone Gorges
KeymasterFor those of you who don’t follow me on Twitter or on my blog (btw – what the heck is wrong with you? I rule), I just updated the Import from Ning plugin to support BP xprofile fields: http://teleogistic.net/2010/04/more-import-to-ning-goodness/
April 18, 2010 at 1:59 pm #74052Gianfranco
Participant@Dimensionmedia Nice and valuable list of tips, thanks.
I’m glad that my topic have generated such interesting discussions.
The community website I build up is for Cure fans (you know The Cure, right?), and since they all are already active on Facebook, MySpace and other existing (traditional) forums, it is quiet a bit of a challenge to bring them over to my site and actually use it.
The motivation that made me wanna do Cureuphoria (http://cureuphoria.com) is that I felt that althought many places already exist for Cure fans to interact, there isn’t a real Social Network with features “Ã la Facebook/MySpace” that is specifically built with that particular community in mind.
I feel that the major value of using BuddyPress, and the main difference with the above mentioned social networks is that you can offer basicly the same feautures, BUT in an environement created and adapted around a specific community, which is the strongest point to my opinion.
From look and feel, to functionalities, you can build something up that is indeed unique to a given community.
Something that a rather impersonal environement such as Facebook, is not able to offer.
For example, I used custom profile fields to build a Cure-oriented member profiles, because it is about The Cure, right?
You can check an example here: http://cureuphoria.com/gian, which is my profile, but you can go and see others too.
Also, because I believe the register page is a key page of the site, I designed a very simple, basic form with a prominent call to action button, and argued some benefits about registering and using the site, that would accompany the registration form.
And, because during the intial lunch phase you don’t see many members profile avatars active, I decides to design a visual graphic with different avatars in order to give the potential subscriber a feeling of community. To do so, I asked permissions to Facebook users (within the Cure fans community) to use their avatars, and they all agreed. That gave me already the possibility to communicate the existence of the new site to some.
By the way, this is the register page: http://cureuphoria.com/register
At the moment I did get quiet a few registrations in a week time period, but unfortunately, users don’t turn out to be as active as I expect them to be. So, beside the first point of bringing people in and register, the following point would be, how to make them use the website and be active? Maybe it takes time to achive that.
Maybe their passivity is due to the fact of being troubled by the slight diffrences with (again) Facebook, or other traditional forums structure.
I mean, the majority of other Cure forums out are built with calssical bulletin board systems, such as phpBB or vBulletin and are (sorry, but I need to say it) quiet ugly. Still they are widely populated with topics.
My users, I feel, are probably troubled by the Groups/Forums relation. Some posted on the Group homepage activity, thinking that it was answearing to a topic in the forum for that Group.
I mean, I do think that the Group/Forum as a value and I totally understand the principle behind it. But do my users?
In order to push them to post Topics that are not necessarily associated with a Group, I did create a Group called Open Topics, that would act as a general topic forum.
And, I wrote a sticky topic on “How to use Cureuphoria”, which you can find here, even if not finished yet at the moment of this writing: http://cureuphoria.com/groups/cureuphoria-feedback/forum/topic/how-to-use-cureuphoria-read-this/
I would like to have them create their own groups, write topics, invite their friends over and all that, instead of coming to the site, putting up a video form YouTube, add a friend and then leave to just check if something more exciting is happening after a day, and since it’s not the case, leave again.
Anyway, I don’t think there is a magic formula to make your BuddyPress site have the success you expect, but it is probably a lot of little things that need to be manged toghether, from design, to functionalities, to constant marketing (social public relationship). Or… something I am just missing.
I want to thank all of you who contributed to the topic. Keep it going: advices, ideas and thoughts about this are never enough.
April 16, 2010 at 12:26 am #73740Gene53
ParticipantDone, thanks again.
Gene
April 16, 2010 at 12:03 am #73736jivany
ParticipantSo it works? Tag the topic as resolved.
April 15, 2010 at 3:08 pm #73654Hugo Ashmore
ParticipantErich my concern is that – given your assertion on the other thread “Now your site Is up and running” that it is very difficult to get a new site off the ground without being able to send email when you create groups – you are perceiving an issue where one doesn’t necessarily exist, certainly it might be nice to have the email address fields available on the group send invites screen but it’s not a necessity as there is a reasonably simple path to the profile send emails from the group creation stage, a little explanatory text would smooth things along a little for users. I won’t ramble on as I covered some of these points on the other thread, and I’m in danger of repeating myself and of being boring
April 15, 2010 at 11:29 am #73626In reply to: Display specific profile fields
snails07
ParticipantYeah just tried it out and doesn’t work.
I’m just going to go with hardcoding a link like
<a href="http://domain.com/members/?s=General">General</a>which will return the results. Not ideal but it will have to do me for now I’m thinking.April 15, 2010 at 4:17 am #73598In reply to: Display specific profile fields
gregfielding
ParticipantI’ve been looking for something like this too…from what I can tell in these forums, nothing exists that will work. The plugin is this one https://wordpress.org/extend/plugins/bp-member-filter/
But, it doesn’t work with current MU or BP versions.
In theory, this could enable search menus for members by any profile fields…location, profession, hobbies, etc.
April 15, 2010 at 3:42 am #73596In reply to: Display specific profile fields
mrjarbenne
ParticipantYou could use the Custom Profile Filters for Buddypress plugin. I know it’s not exactly what you are looking for, but it would enable you let your users identify themselves in one of your 5 categories, then that word they have selected will become a link that will take them to a page will all of the other users who also selected that category.
Perhaps this plugin will give you the building blocks you need to create the solution you need.
https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/
April 15, 2010 at 2:50 am #73585Gene53
ParticipantBelieve it or not, it didn’t work when I changed Username for 1 but it did when I added ,3 (still don’t know what the 3 is for, LOL).
Does that mean I don’t really need the funky function and simply change the <input type=”hidden” … > in edit.php or should I just leave things as they are now that it seems to work?
EDIT: when I added ,3, I couldn’t change the value of the next field and “1” still gives me the error…
EDIT 2: ROFLOL, it didn’t work because I omitted the , (colon) after the 1. Now everything seems to work.
Thanks again, I really appreciate your help.
Gene
April 15, 2010 at 2:04 am #73575jivany
ParticipantIt becomes just string manipulation. Create a new function (my_funky_function) and do something like this:
function my_funky_function() {
echo str_replace( "username","", bp_get_the_profile_group_field_ids() );
}Then replace the bp_the_profile_group_field_ids() call in edit.php (in your child theme of course) with my_funky_function().
I think that will work but it’s not tested.

Edit:
Oh, sorry, I’m sort of wrong. This is what I get in my edit.php form in the HTML:
<input type="hidden" name="field_ids" id="field_ids" value="1,3" />Field_id 1 is the Username for me. You just need to filter that out so the str_replace call should be “1,” instead of “username”.
April 15, 2010 at 1:54 am #73570Gene53
ParticipantMakes sense but I haven’t a clue on how I could code such a function… That’s way above my programming skills.
April 15, 2010 at 1:41 am #73567jivany
Participant<input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />That line is your problem. Well, more specifically, the call to bp_the_profile_group_field_ids() which creates a list of the expected field names.
Unfortunately it doesn’t have a filter so you’d have to clone and own the function into your functions.php file and manually filter out the “username” field from the string that gets generated.
Make sense?
April 15, 2010 at 1:28 am #73565Gene53
ParticipantHey jivany,
I was sort of wondering if that would happen
LOL, it sure did so I’m wondering if there was a workaround, such as the field not being visible (or non editable) but would still send the name field when the form is submitted.
Darn, I miss the good old days (phpBB 1 and 2) when you only had to comment out code in templates…
April 15, 2010 at 1:20 am #73564jivany
ParticipantOh, nope, it probably means that the code is actually checking that the field ‘username’ should be getting updated. I was sort of wondering if that would happen.
April 14, 2010 at 10:12 pm #73552In reply to: Display specific profile fields
snails07
ParticipantAnybody?
April 14, 2010 at 5:20 pm #73517gregfielding
ParticipantSo I tried to explain this to my father…who can barely use email.
Pretend you’re in a room with 1,000 people that you don’t know. Now, you might end up making friends with 10 of them, and doing business with 2. The problem is that it would take you a week of shaking hands and starting conversations to find those connections.
Social Networks/Communities…like Buddypress/Facebook/LinkedIn etc. turn that week into 10 minutes.
To me, improved community-wide searching and easy navigation by profile fields (can someone please load in locations?) are the most important areas where BP is clunky and needs improvement. We need to focus on turning that 10-minutes into 5, while being ever-more-user-friendly and intuitive in the process.
The trend is that all of these networks will share information with one another, so much so that, in time, walls will be torn down and eventually, “Social Networks” will be a big mosh of everything…made up of smaller topic-focused communities like each of ours.
BP gives each of us a chance to create a niche within this great mosh. We shouldn’t try to BE the mosh, but simply be the most efficient and user-friendly communities within it.
-
AuthorSearch Results