donmik
Forum Replies Created
-
You want to add the placeholder text, it’s the name for the texto “mail@example.com” which appears in the field before the user starts typing his email.
To do this, you need to code your own field’s type. Buddypress didn’t use placeholder and I added it in this plugin for the new field’s types.
If you need one field’s type which can be reused for more people, share with us and maybe we can add it in future releases.
But if you only want to create a Gender field, you can use radio buttons or dropdown select box, you don’t need this plugin…
Hi,
Are you asking about how to add new fields type like birthdate type, email type or datepicker type? For this, you need to dive in the code of the plugin, we can help you if you need. Following the code of plugin you can create more types, but you need to have some programming skills to do this.
If you’re not asking for this, forgive me, my english is not the best…xD.
Ummm, check the versions maybe.
In our case, we are using latest versions in all of plugins.
WordPress 3.4.2
Buddypress 1.6.1
BP Profile Search 3.1Maybe another plugin is interfering. In this update the only thing we made is if BP Profile Search plugin is installed, we add another filter in bp_the_profile_field_type changing the type returned in birthdate’s case, returning “datebox”.
I mark this as solved…
We just release version 1.4. The plugin works now with bp profile search plugin. I think now you can select birthdate and the searchform will work.
Try the new version and we’re in touch.
Great idea! In the version 1.3, we just added this. We put a checkbox that if it’s checked will show age instead of birthdate.
Try it and let us know what you think!
Thanks!
This is solved too.
I mark this topic as resolved.
Hi,
In the last version of Buddypress 1.6.1, you can specify the visibility of each field. If you check, “Logged In Users” in Default Visibility and “Enforce the default visibility for all members” for “Per-Member Visibility”, the field email will appear only for logged in users.
I think this is the better solution to prevent spambots collecting emails.
You are right. In my case I need people to be 18 years old but it may not be good for all websites.
I changed this in version 1.2. Update now and the field year start in 2011 or one year before the actual year.
Let me know if you have more issues.
I’ve found the bug (or feature…xD).
I was removing the filter in my functions.php and I can’t see the links from buddypress.
To solve this, I have just release a new version who remove the filter and add a new filter who do exactly the same but excluding new fields type created by the plugin.
I hope it works for you too.
It’s really weird… In my version of BuddyPress it works.
If you want to let your buddypress clean, maybe you prefer put this code in your functions.php. Remove the original filter with remove_filter and add another filter with your custom code.
I will investigate this week if I found why it is not working in your case. I’ll be in touch if I find something…
Right now, a buddypress filter transform the email field into a mailto: link.
It is line 27 in buddypress/bp-xprofile/bp-xprofile-filters.php.
add_filter( ‘bp_get_the_profile_field_value’, ‘make_clickable’ );This line apply a filter to the email field and the url field too and make them clickable links.
I assume it’s not working in your buddypress installation, isn’t it?