Search Results for 'profile fields'
-
AuthorSearch Results
-
May 15, 2011 at 5:56 pm #112327
In reply to: How do I remove P tag from field value?
vbsql7
MemberThanks for the help so far.
Knowing that the extra tags were coming back, I tried to take the quick fix and strip them like this:
``
…but I still get the same result — data wrapped in P tags.I spent some time trying to learn about the xprofile functions but I did not find a clear example that I could make work.
Would I would like to find a loop that gives me rather tight control of what is happening.
Perhaps like this (pseudo code):
`
$user = bp_get_profile($user_id);
for ($i = 0;$user.fields.count;$i++) {
$field = $user.fields($i);
echo $field->name;
echo $field->data;
}
`May 15, 2011 at 12:02 pm #112315In reply to: How do I remove P tag from field value?
Paul Wong-Gibbs
Keymaster`
remove_filter( ‘bp_get_the_profile_field_value’, ‘wpautop’ );
`would do it but also remove the paragraph tags from all other fields
May 13, 2011 at 5:58 am #112203Paul Wong-Gibbs
KeymasterThanks!
May 12, 2011 at 11:32 pm #112194Bowe
ParticipantYou can map profile fields from Facebook to BuddyPress with WP-FB-Autoconnect with custom code. It is indeed on the roadmap!
May 12, 2011 at 9:22 pm #112189javiervd
MemberWill do, hopefully you guys already fixed it
May 12, 2011 at 8:42 pm #112185Paul Wong-Gibbs
KeymasterCould you report as a bug on https://buddypress.trac.wordpress.org/? We may have already fixed it in our development version of BuddyPress, but you reporting the issue would prompt us to check. You can use your username and password from this site. Thanks!
May 12, 2011 at 8:38 pm #112164In reply to: Adding new profile fields
Paul Wong-Gibbs
KeymasterUnfortunately, you can’t do this out of the box. It’s possible with some code, but I wonder if anyone’s done a plugin for it; I’m sure someone will link if there is
May 12, 2011 at 7:48 pm #112156José M. Villar
ParticipantI use https://buddypress.org/community/groups/wp-fb-autoconnect/ premium version. Its developer has automatic profile fields population in his roadmap, but with no release date unfortunately
May 11, 2011 at 12:52 am #112019In reply to: Can a plugin create custom profile fields?
Slushman
MemberThanks Paul! I took a break to finish the other parts of the plugins and the rest of that project, but now I’m back working on this part again. Unfortunately, I can’t make head or tails of that function. I’ve tried sending a variable array to that function based on the parameters it gives on line 584, but it never adds the field. It appears xprofile_insert_field() requires a the group_field_id too, which I’m also trying to create a new Field Group, but I can’t find a way to get the ID # of the group I’m creating, and it doesn’t appear the group is created either. Is there a tutorial or a working plugin that does the same thing I can see HOW they did it?
May 11, 2011 at 12:02 am #112016candy2012
Member@ivoss – God bless you for posting that link! (http://pastebin.com/RLreXE7X)
I lost days on this already!
These lines (aroung 150) are CRUCIAL for getting the values posted to the database (basically that `$fields_ids[]` function
`
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />`
May 10, 2011 at 11:46 pm #112012candy2012
Memberwell, that (velomash) will not help much unfortunatelly .. nor will the required fields be cheked or the information for all group fields saved to the database!
Buddypress is so damn buggy on this one, wonder if they really thought of the purpose of implementing those fileds without proper connection to teh registration form; who the h* (sorry!) will go to fill in the fields if not requested upon registration?May 9, 2011 at 10:05 pm #111944In reply to: All fields for registration
candy2012
Memberhere’s my workaround for this problem
as no buddypress gurus EVER botherd to give a feedback on this, and left everyone here in the dark for more than 1 year
May 9, 2011 at 9:57 pm #111943In reply to: Multiple Profile Group Fields in Registration
candy2012
Memberthe above still sucks of course (or rather the whole registration process for buddypress sucks!), anyway, the above code will unfortunatelly NOT validate the fields! So it would be possible for a user to register without filling those fields in …
Yeah, you tell me how happy I was as I realized that!
1 more day lost with this s*, but eventually found a workaround (I am sure it’s not the perfect solution, but at least it’s SOMETHING!)So in order to have the required fields really checked, please add this to your header:
`
$(document).ready(function() {
$(“#signup_form”).validate();
});`
where signup_form is the id of your form (May 9, 2011 at 8:06 pm #111935In reply to: Conditional Profile Fields
r-a-y
KeymasterMay 9, 2011 at 4:17 pm #111926In reply to: Conditional profile fields?
webrgr
MemberHi I also am interested in this type of development, country – state using drop-down lists still have not found anything about agardeseria any help that can be done about it.
thanks beforehandMay 9, 2011 at 4:10 pm #111925In reply to: Conditional Profile Fields
webrgr
MemberHi I also am interested in this type of development, country – state using drop-down lists still have not found anything about agardeseria any help that can be done about it.
thanks beforehandMay 9, 2011 at 4:23 am #111906In reply to: dynamically create new sets of profile fields
Andres Richero
MemberI´m looking for the same kind of thing as Natasha but just different environment (university).
Has anybody gone further on a real case (solution) and any piece of code that might be picked up as a starter.
Thanks a lot.Andrés
May 9, 2011 at 4:15 am #111905In reply to: Conditional profile fields?
Andres Richero
MemberHi everybody. Has anypne made any advance on this? I´d love to make something as the example that Rlwpub2 presents but for a university, so the first set of options would be teacher / student and then particular profile options for each of them.
Thanks in advance for any help you may supply.
AndrésMay 9, 2011 at 12:32 am #111889In reply to: Php code to show custom profile fields
@mercime
ParticipantMay 9, 2011 at 12:08 am #1118874ella
Participantplease do that !! –
with some explanation or some possibility how to get the content below that Tab or sub Tab (text , images ) the best should be some self creating custom fields form on the EDIT subnav page ( and the content on the publishes part – the similar process how profile EDIT and PUBLIC subnav Tabs works .May 8, 2011 at 7:05 pm #111873In reply to: Multiple Profile Group Fields in Registration
candy2012
Memberhmm … I am afraid that plugin does smth. else, namely automatically registering a new user to a group, but what we meant here were the registration fields from xprofile.
Actually, I figured out a way to have them displayed, although there’s a lot of css fun you’ll have afterwords

In register.php you should look for this
“and replace with this
“This will display all the fields, but you’ll still miss the Title of each group.
To get that displayed, you can do this:
Look for
“and just above it place this: `
`
That should do the trick.
It’s a dirty hack from a no-programmer, so please do not criticize. As anyone can notice, no programmer / developer ever cared to offer any help with this.
Actually very annoying that no one frm the development team ever thought about it, leave alone giving a hand here …Hope you’ll find the trick useful though
May 8, 2011 at 3:58 am #111846In reply to: Multiple Profile Group Fields in Registration
JessicaKay
MemberI think this should help https://buddypress.org/community/groups/buddypress-registration-groups-1/
May 8, 2011 at 2:23 am #111839In reply to: Multiple Profile Group Fields in Registration
candy2012
MemberAnyone managed to come up with a solution to this?
It’s a bit lack of logic to allow fields to be set as required in the backend but never show them to the user when registering … what kind of required fields are they than?Thank you!
May 8, 2011 at 1:53 am #111836In reply to: profile field setup question
candy2012
MemberI have the same problem – latest BP / WP (3.1.2) versions installed. Fact is that in the buddypress “Profile Field Setup” you are allowed to create different groups of fields and set for each field if it’s required or not.
BUT, all fields other than those from the 1st group are NOT considered in the registration process!
The email is apparently sent once the user completed only the 1 step, and it just stops after asking the user to upload a photo.So basically, the extra group fields (no matter how “required” they might be) are fully IGNOFRED in the registration process!
Anyone please help?
This is a buggyThank you!
May 5, 2011 at 7:07 pm #111649In reply to: xprofile fields display backslash before ‘
-
AuthorSearch Results