Search Results for 'profile fields'
-
AuthorSearch Results
-
August 9, 2010 at 8:16 pm #88575
In reply to: User Pages?
Beck B
ParticipantWait, I’m confused. You want it to show up in their profile, right? So why not just create a profile group and relevant fields?
Although…hmm….that might get tricky in terms of multiple Living/Deceased. Or you just allow a max number of pets (say, 5 in each category) and create that many profile fields. Anything left blank won’t show up in the profile.
That wouldn’t let you upload photos natively, although I wouldn’t be surprised if we already have a plugin for that.
Then again, you also wouldn’t have anything compiling everybody’s tributes. Is that what you want? Have to admit, I’m not super-clear on what you’re looking for.Hm.. Not my most helpful reply, sorry.
Another thought: maybe you can mix a form you create with one of the front-end blog post plugins. So whatever interface they’d normally have to post an entry to the blog (your listing of everybody’s tributes) would be heavily locked down to just the info you want. I’m thinking BuddyPress would automatically include a link to the generated tribute post somewhere in their activity feed. (I know you said you don’t want a blog type page, but here I’m assuming you meant that you didn’t want the submission page to be part of a blog, not that you don’t want the submitted tributes to be incorporated in a blog.)
August 9, 2010 at 2:31 am #88504In reply to: dynamically create new sets of profile fields
Arx Poetica
ParticipantJust following up on this — what might some code look like? Say, to just even simply create a new profile field type and populate it once?
August 7, 2010 at 7:43 pm #88376lorenzo
Memberi’m not sure if i’m posting in the wrong place, if i’m asking the wrong questions or both?
does anyone have a clue about the above and where the code which does the update of the profile fields actually is? some guidance/suggestion (any) will be very helpful to put me in the right direction! thanks
August 3, 2010 at 6:03 pm #87887In reply to: bettercodes.org
gottowik
Participant@Anton Some of the first bp releases came with an option to insert all countries in wp-admin by direct sql insertion. Someday it was removed because it was not implemented well…. I am not sure who thought it would be better to type in all these countries manually…

If you really need all of these countries, just write a short sql script and take this data: http://pokerexistence.com/wp-content/plugins/buddypress/bp-xprofile/prebuilt-fields/?DD
August 2, 2010 at 11:42 pm #87794In reply to: Getting User’s Full Name from user_id
techguy
ParticipantI found this little function:
$user_test = new BP_Core_User( $referring_user_id );Has the full name, but you still have to go through all the xprofile fields. Plus, is it ok to call the user info this way? Will it have problems down the line.
Another option is to sync the display_name with the name in the BP profile field, but I’m not sure the best way to do that and that could be problematic if they make changes to the name later.
Anyone else run into this issue?
July 30, 2010 at 5:44 am #87458techguy
ParticipantThe beta release of the BP oembed plugin I think will allow pictures to be embedded from outside sources in profile fields. It’s not an upload, but might be better than an upload depending on what you’re doing.
July 28, 2010 at 4:40 am #87232In reply to: Registration Page
dlmfisher
MemberFixed! I went back to the database, searched on the pre-propagated terms, and found them in user “0” fields for all x-profile table rows, and deleted the responses. Everything’s now blank as it should be.
July 26, 2010 at 3:51 pm #87069In reply to: Hide some profile fields
nickmy
Participantno I just need a little hack… It must be visible when I use this:
/***
* If you’d like to show specific profile fields here use:
* bp_profile_field_data( ‘field=About Me’ ); — Pass the name of the field
*/July 26, 2010 at 12:33 pm #87042nickmy
ParticipantHello
can someone tell me how I can just remove a created Profile Category? I want to use it somewhere else and not unter the profile tab.
I’ve created a new category with fields in the Profile Field Setup and now I dont want to have it under the profile. Please I’m notgood with php. Just a special category not all of them
July 25, 2010 at 11:47 pm #86978In reply to: Signup Usermeta in Single User Environment Issues
hardlyneutral
ParticipantUPDATE: It looks like $usermeta is getting the string that should go in ‘meta_key’ and the array of data that would go in ‘meta_value’, but it is not actually doing the insert. Is this something goofy with a validation against xprofile fields?
July 25, 2010 at 2:04 pm #86939In reply to: User Pages?
nickmy
Participantthere is no plugin but I’ve got an idea how to do that but my php isnt that good I hope php-programmers will help us.
1. You go to Profile Field Setup and create a new Category called pages and add then you add some fields.
2. You create a new tab and you’ll need to add this code:
/***
* If you’d like to show specific profile fields here use:
* bp_profile_field_data( ‘field=About Me’ ); — Pass the name of the field
*/Change About Me with your specific field
3. NOW
one php-programmer here must tell us how we can “delete” the created category in the profile pageJuly 25, 2010 at 1:32 pm #86934Ali Erkurt
ParticipantI think it’s about “onchange” event, right? But how can I integrate this to the fields?
July 24, 2010 at 7:38 pm #86897In reply to: dynamically create new sets of profile fields
Roger Coathup
Participant@boonebgorges – Great that you think it can be done with the existing tables (I was considering adding some additional tables keyed on the user profile id). The hook into xprofile at the right place is what I was looking for.
We are going to filter out profile fields where the user hasn’t input a value anyway (and not display them). I take it this is as simple as checking whether the field value is an empty string. Although, as you point out, you would still want these displayed on the edit page.
So, it’s check for NULL and check for standard field (vs. extended field) name as well.
July 24, 2010 at 6:13 pm #86878In reply to: dynamically create new sets of profile fields
Boone Gorges
KeymasterThis could be done, but it would take some custom coding. Here’s how I would structure it.
1) Write some JS for the Edit Profile page that inserts a new set of fields based on user input (say, a button that says “Add another employer”). This wouldn’t really require any BP code in and of itself.
2) Hook a function to ‘xprofile_updated_profile’, which is a do_action hook called right after all of the xprofile fields are saved. Grab the $_POST data, and see if there are any items in that array for which no profile fields yet exist. Use xprofile_insert_field() to create the new fields (it might be like employer_2_employer_address – something that iterates nicely).
3) On the front end, you’ll want to make sure that not all of the employer groups are shown to each user on the edit profile screen. By default, each user sees each profile field. That means that if one person on your system listed ten employers, then everyone would see ten employer field groups when they went to edit their profile. You could do this in the profile edit template, by checking bp_get_the_profile_field_name() against a list of permitted field names.
July 24, 2010 at 6:09 pm #86875In reply to: dynamically create new sets of profile fields
paulhastings0
ParticipantYeah, I would agree that a functionality like that would be nice.
July 24, 2010 at 6:02 pm #86874In reply to: dynamically create new sets of profile fields
Roger Coathup
Participantbump! Anyone else tried to do this… it seems a reasonably fundamental thing to want to do with profile fields?
July 22, 2010 at 11:22 pm #86700In reply to: Search Query and MySQL help
r-a-y
KeymasterSorry I misunderstood your question. I thought you meant you were looking to join wp_bp_xprofile_data and wp_bp_xprofile_fields.
I’m thinking you’ll have to join the same table together in order to do what you want.
July 20, 2010 at 2:46 pm #86288In reply to: Creating a second page in registration
techguy
ParticipantI don’t do extra profile fields. I use that to redirect to a payment page so they can pay to join. After they pay, I redirect them to a Thank You page with their payment details. This is just a page with a special page template applied to it. I also have the activation disabled and they are just automatically activated and logged into the site. I can get away with this since they have to pay.
July 19, 2010 at 10:18 pm #86200In reply to: Display more fields in user’s profile
Nicola Pagani
ParticipantHi, I understood who can I fill my user profile information if I use custom fields, but how can I show my first_name and surname that I wrote during the subscription?
Thanks!
Br0k3n
July 19, 2010 at 10:00 pm #86199In reply to: Display more fields in user’s profile
Nicola Pagani
ParticipantHi, thanks a lot hnla,
but I need to display this information (first name and surname too) in user’s profile tab in the frontend.
Any ideas?
Thanks ^^
July 19, 2010 at 9:53 pm #86198In reply to: Display more fields in user’s profile
Hugo Ashmore
ParticipantGo into the dashboard and look for the BuddyPress ‘Profile Field Setup’ link
July 19, 2010 at 6:14 pm #86160In reply to: Showing WordPress blog comments in activities
nimaha
MemberIt is my understanding that blog comments should be showing by default but they are not appearing. Every other activity is appearing. Of course, blog comments are the only thing that come from the original WP install so something isn’t linking up. I’d link to it but it’s on a localhost install.
FWIW, I have made very few customizations to BP so far. It’s mostly all default right now. All components are enabled and all general settings are set to No (meaning I have not disabled anything).
I only added a few profile fields and added a function to change the default avatar.
I am testing this on two different registered users, one admin, one subscriber.
July 18, 2010 at 11:25 pm #86109In reply to: Private xprofile fields
ssmediaco
ParticipantExactly what I needed! Thanks!
July 17, 2010 at 1:54 pm #86015Boone Gorges
KeymasterIt’s going to be more complicated to save items into wp_usermeta (which is I assume what you’re doing, given the link) with update_user_meta() from the BP profile page. You’ll have to hook a function to somewhere in the BP loading process that will catch the value of $_POST and manipulate the data manually.
Can I ask what might be a silly question? Why don’t you just use BP profile fields? Dashboard > BuddyPress > Profile Field Setup. That’ll add new fields to the profile that can be displayed and updated natively through BuddyPress.
July 14, 2010 at 5:56 am #85531In reply to: Useful plugins required
techguy
Participanthttp://yourdomain.com/wp-admin/admin.php?page=bp-profile-setup (replace yourdomain.com with your domain)
That’s the page where you can add more fields that people can fill out at registration and will appear in the person’s profile.
-
AuthorSearch Results