donmik
Forum Replies Created
-
You’re right. I fix it in this version 1.5.5.5.
Thanks for the advice!
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Error Notices after Latest UpdateYou’re welcome!
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Checkbox for Terms & ConditionsMmmm, I suppose I need to register, send me an email at info@atallos.com if you can and give me a user and password for testing.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Error Notices after Latest UpdatexDDDDDDDDDD
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Checkbox for Terms & ConditionsCan you show me a link ? In my test web, I still can see it so I cannot reproduce this error.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Error Notices after Latest UpdateYou’re right, I made a mistake.
I’ve solved this in the 1.5.5.3.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Birthday field not visibleYou need to give me more details. What version of buddypress are you using? Maybe you can send me a link to see it for myself.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Birthday field not visibleOk, sorry for the inconvenience 😉
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Birthday field not visibleAre you using a custom theme ?
In the latest version of Buddypress 1.7, they have added a new hook “bp_custom_profile_edit_fields_pre_visibility” to show fields before the visibility settings. If you are using the new version of buddypress with a custom theme, maybe you need to update the edit.php of your theme and add the hook.
In oldest versions, the code in bp-themes > bp-default > members > single > profile > edit.php was different and I was using this hook “bp_custom_profile_edit_fields” which was showing the fields after the visibility settings. With the new buddypress I have changed the hook to show the fields before the visibility settings.
So you must look for the hook “bp_custom_profile_edit_fields_pre_visibility” in your edit.php if it doesn’t exist you need to add before the visibility settings. If you don’t know how to do it just check the default theme of buddypress and copy this:
<?php do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); ?>Tell me if the issue is solved with this code.
if it’s all ok, I don’t need more privilege in your web.
You’re welcome!
If I could do something in the future, I will but it depends if buddypress change this and I don’t think they will because you can edit your theme files so it’s not a thing from the core of buddypress really.
I have just registered in your website and I can’t see what you’re saying about the birth date. Can you show me where do you see this?
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Some issuesI’ve uploaded a new version 1.5.5.1 and the code I’ve posted here will not work, you only need to change this:
function my_show_field($value, $type, $id, $value_to_return) {with this:
function my_show_field($value_to_return, $type, $id, $value) {You only need to swap the position of $value_to_return and $value and it should work. If not, get in touch and I take a look.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Some issuesFor the privacy options, you were right. I thought I solved this in one of the latest updates but I was wrong. Now I think it will work. The only problem is what i was saying in other thread, the description of the field will still appear after the privacy options, you need to change this manually in your templates. I cannot do anything in my plugin to change the position of the description of field.
I’ve added what you say about the spanish translation. Thanks for your advice!
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Hide year of birthYou’re welcome 😉
Sorry, I made a mistake. What I changed with the latest updates is the position of the custom fields but not the description. Buddypress 1.7 introduce a new hook as I say “bp_custom_profile_edit_fields_pre_visibility” and I use it to show fields before the visibility setting.
The description has no hook, you can see it in the template of your registration page, so to show the description in other place you need to move it manually overriding this template.
I cannot do anything I think in the plugin to change this.