Search Results for 'profile fields'
-
AuthorSearch Results
-
April 7, 2011 at 3:28 pm #109752
In reply to: Creating large dropdowns in profile admin
GRAQ
Participant@ultimateuser Do you mean write values directly into bp_xprofile_fields ?
I wrote some dirty SQL to do just that.
` $insertsql = $wpdb->prepare(“INSERT INTO {$tablename} (group_id, parent_id, type, name, description, is_required, order_by, field_order, is_default_option, option_order ) VALUES (%d, %d, %s, %s, %s, %d, %s, %d, %d, %d )”, $group_id, $parent_id, $type, $region, ”, 0, ”, 0, 0, $option_order );`To be honest, I was hoping there would be a better way.
April 7, 2011 at 2:49 pm #109745In reply to: Tags On Profile Fields
April 6, 2011 at 2:37 am #109657In reply to: How To Link Fields in Profile/Registration
Boone Gorges
KeymasterIt’s not entirely clear how you would integrate this into BuddyPress itself, since every installation will have different “links” between profile fields. What kind of interface would be used to allow site admins to dictate such dependencies? If anyone is interested in providing a patch, or building a plugin, it might be worth looking at something like Drupal to see if they’ve implemented similarly dependent metadata fields, and how they’ve done it.
April 6, 2011 at 1:40 am #109655In reply to: How To Link Fields in Profile/Registration
XFlame
MemberHmm I see, what you mean by to be done on the frontend is by editing the source code right?
I think this feature have been requested by others also and I think this is pretty basic functionality.
Hope this feature will be integrate to buddypress in the near future.April 4, 2011 at 8:47 pm #109553In reply to: How To Link Fields in Profile/Registration
r-a-y
KeymasterThis will most likely have to be done on the frontend with javascript.
Brush up on your jQuery! Look up “jquery conditional form fields” on Google.
April 4, 2011 at 7:24 am #109514In reply to: Tags On Profile Fields
April 3, 2011 at 2:36 pm #109455In reply to: Tags On Profile Fields
April 3, 2011 at 2:47 am #109428In reply to: Looking for feedback on our tweaked Profile Pages
Nahum
Participanthave you considered moving some xprofile fields to the top of the middle column above the tabs? This area would make a lot of sense for some of the profile info maybe some of the ones you are having trouble with space.
April 3, 2011 at 2:23 am #109427In reply to: Looking for feedback on our tweaked Profile Pages
gregfielding
ParticipantThanks for that. white-space:normal; helps with my x-axis fields and it works perfectly.
Now, however, I am trying to limit the height of my “about me” field. I’m using max-height:400px; but white-space causes the browsers to ignore the limit. What I really want is: white-space:normal; max-height: 400px; overflow-y:auto; but firefox is the only one that shows it properly. The others all revert to scroll bars, even safari.
Ugh.
April 1, 2011 at 9:31 pm #109335In reply to: Multiple Profile Group Fields in Registration
christophg
MemberI have the same question as well. I have created a couple more field groups in Buddypress profile fields section on the dash. Alas, none but the base group shows up in registration. Any help on how to get around this would be fantastic!
March 29, 2011 at 2:56 am #109004In reply to: dynamically create new sets of profile fields
nanchante
ParticipantDid this ever get off the ground?
March 29, 2011 at 1:09 am #108999In reply to: Adding multiple profiles per member
nanchante
ParticipantMarch 28, 2011 at 4:07 pm #108948In reply to: Hiding empty xProfile fields in member-header.php
Hugo Ashmore
Participant*puzzled* I contributed to some and have used various approaches of my own all post dating 1.1 or the transition to the 1.2 stream, but yes guess some are a little complicated but then BP isn’t that simple a thing to code for requiring as it does a little more than basic knowledge.
March 28, 2011 at 2:30 pm #108935In reply to: Hiding empty xProfile fields in member-header.php
Bowe
Participanthnl: Yep.. I did that.. but they where all old and did not use the BP 1.2 method of displaying the profile fields and seemed to add a a lot of extra unneeded parameters to the snippet. Hopefully it’ll be easier for php noobs to find and implement now
March 28, 2011 at 2:23 pm #108931In reply to: Hiding empty xProfile fields in member-header.php
Hugo Ashmore
ParticipantA search of the forum would have thrown up a few posts on this subject that have this and alternative examples.
March 28, 2011 at 2:02 pm #108928In reply to: Hiding empty xProfile fields in member-header.php
Bowe
ParticipantYou can read the post here:
http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/
March 28, 2011 at 1:26 pm #108926In reply to: Hiding empty xProfile fields in member-header.php
Boone Gorges
KeymasterSweet!
March 28, 2011 at 1:23 pm #108925In reply to: Hiding empty xProfile fields in member-header.php
Bowe
ParticipantWorks absolutely perfect Boone.. I’ll put it up on BP-Tricks as well.. this is useful stuff! Thanks!
March 28, 2011 at 12:53 pm #108922In reply to: Hiding empty xProfile fields in member-header.php
Boone Gorges
KeymasterProbably the most efficient way is to do something like this (not beautiful to put in a template file, but functional and lean):
`
Occupation:`
March 23, 2011 at 6:02 pm #108558In reply to: Zebra styling Profile Page
ultimateuser
Participant@r-a-y – Ok but they are basically the non-required fields members leave blank when registering.
I’d like to apply the second patch as well but then I come back to my initial question:
“I do not have the file bp-xprofile-template.php on my server. Although I do have bp-xprofile-templatetags.php?”
Can you also include a link to the entire amended file I need to use?
March 18, 2011 at 7:21 pm #108182In reply to: Custom fields for BP groups?
Youraj Pawar
ParticipantI strongly feel using this documentation you can achieve what you want.
https://codex.buddypress.org/developer-docs/group-extension-api/And this should help you with manipulating navigation items in group , renaming them or removing them. (At midway of page)
http://themekraft.com/2011/02/customize-profile-and-group-menus-in-buddypress/And this for custom fields (Not sure how much this will help for groups)
http://wparena.com/how-to/the-power-of-wordpress-custom-fields/bye
March 16, 2011 at 1:05 pm #107969noizeburger
ParticipantHave you tested the solution I’ve mentioned? Just for your interest: I set up a naked wp 3.1. (single) with buddypress 1.2.8, BuddyPress xProfiles ACL, Capability Manager and WP Roles at Registration – works like a charm and requires no coding by hand.
March 15, 2011 at 8:45 am #107849noizeburger
ParticipantPS: I often think about switching to single installation of wp, your combination of plugins would be the only one working, as described by the author of the stuff in my links. So I don’t have to think about switching again.
March 15, 2011 at 8:43 am #107848noizeburger
ParticipantMaybe you should try this solution: works for wp3.1 multisite, also there are hints when working with single-site. I have it working on my multisite (but with the old code example).
The first link shows you how to make a selection for roles at signup: http://cleverness.org/2011/01/27/updated-buddypress-user-roles-code/
The second link is for the setup of which profilegroups (fieldgroups) are shown on certain roles: http://cleverness.org/2010/10/13/user-types-in-buddypress-assign-xprofile-groups/Give it a try, it works for me.
March 15, 2011 at 3:20 am #107833In reply to: bp_get_the_profile_field_input_name() field name?
Virtuali
Participantbp_get_the_profile_field_input_name() just gets you what they have imputed in the name. As easily read by the statement.
Why are you trying to input in the file? Just go to your admin section of buddypress, and add “Country” as a new text box for the form.
Unless your trying to put it in core fields?
P.S, for future, check this out: Rich has a Great Directory for other Action Hooks, just like above: http://etivite.com/groups/buddypress/hooks/search/component/?c=bp-core
-
AuthorSearch Results