Search Results for 'profile fields'
-
Search Results
-
Hey guys, had a quick question. I’m using the U Buddypress Forum Editor (don’t worry, that’s not what this thread is about) to add a wysiwyg editor to the forum. Anyway, I decided I wanted to add it to some profile fields (using s2Member, so only paying members can fill out these fields). I want to be able to safely remove the wp_filter_kses and xprofile_sanitize_data_value_before_save to JUST those profile fields so that the HTML isn’t stripped. I realize the security risk, but it’s what the client wants. Right now, the only way I could figure it out was to simply add these lines to my functions.php:
`
remove_filter( ‘bp_get_the_profile_field_value’, ‘wp_filter_kses’, 1 );
remove_filter( ‘xprofile_data_value_before_save’, ‘xprofile_sanitize_data_value_before_save’, 1, 2 );
`
Works fine, but that remove the filters from EVERYTHING. I just want to remove the filters from certain fields. How do I do that?A required profile field, a multicheckbox, just started throwing an error when edited by users:
“There was a problem updating some of your profile information, please try again.”
Any changes to any fields on the first page of ‘edit profile’ will throw that error when saved.
However, any field other than one specific field will show the saved change.
There is only one multicheckbox on this page and changes to it are not saved.All the fields on this page are saved in serialized format.
So I’m stumped.
No changes have been made to profile fields in admin panel.
Subsequent edit profile pages have multicheckboxes that can be edited and saved without problem – these aren’t serialized.Any ideas re what the problem could be?
Something corrupted in serialization?Is there a way to get a more detailed error message? Something less generic?
In the profile form (edit-profile.php and register.php), the field descriptions are displayed beneath the input box. I want them to be displayed beneath the field label and above the box instead. I can see from a code inspector that it is the class p.description, but I can’t find where this is called in any of the template files. Can anyone help me move the position of the description?
I’m not sure if I’m posting in the right section but here we go….
When members register for my site, there are types of members, learners and educators. I use a radio button to determine their membership.How do i have the profile field i created only show up for educators and not learners… how do i restrict the some profile fields so only educators can fill em out…. does this make sense anyone??? please help!!!
Hello, I have a question.
I have some profile fields that users fill out that they put in the links to their facebook, twitter, yahoo, and youtube in it, (facebook profile URL, etc)
But I wanted it to display an icon linking to their facebook profile, getting data from the profile field. So, simple enough I created something like this;
`<a href="”>`
Worked dandy, but what I want now, is that if the user has *NOT* filled out that field, I want the icon to not appear.
How can I do this?
Hello , how can I restrict 2 different type of members (based on xprofile fields or on 2 different roles ) , e.g photographers versus models or mens & womans to do not become a friends , I want to let the girls speak to each other , and photographers – agencies to speak only between them , I don’t want to let them to send private messages between photographer and girl , I want to let them only speak publicly (using forums ). So I would be using allow only friends private messages plugin to restrict the only friends to speak to each other , but never those 2 groups between them . How could I achieve that ?
Hi all,
I just noticed that you can’t save fields with special characters in the profile field, I have setup a checkbox with a couple options using the “&” char as a value and it won’t let me save them (Doesn’t throw me an error or anything though) but when I remove then it works fine. Is there a filter I can remove to let me do this? I tried looking around the core files but I wasn’t able to locate the part where BP filters these values.
Thanks in advance!
Topic: Adding new profile fields
Adding new profile fields
how add private fields? can I add such?Hello!
Did anybody work with native Facebook Registration plugin ( http://developers.facebook.com/docs/plugins/registration ) and is it possible to get some fields from FB profile with Graph API ( http://developers.facebook.com/docs/reference/api/user ) (e.g. fill user’s “Bio” in BP with users “Bio” data from FB)?
I guess that will be really great functionality & much better user experience… Do u know some ready-to-go plugins or maybe we develop it together?
demetrius