donmik
Forum Replies Created
-
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Plugin broken for meI’ve already answer you in the other thread, please, don’t open a new thread for the same error. Thanks.
My plugin needs buddypress, and buddypress in a folder named buddypress. If you have buddypress installed in other folder, you need to change this line 445:
$data = get_file_data(WP_PLUGIN_DIR . '/buddypress/bp-loader.php', array('Version'));Change buddypress with the name of the folder where your buddypress is installed. And it works.
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Error message for 'Birthdate' field???
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Birthdate not showingThe faq was not complete.
Why my fields are not showing ?
If you are using Buddypress 1.7, you need to check if you have the new hook “bp_custom_profile_edit_fields_pre_visibility”. Check in your edit.php (edit profile form) and register page if this line of code: <?php do_action ( ‘bp_custom_profile_edit_fields_pre_visibility’ ); ?>. If you don’t see it, you must add it just before the code of visibility settings.Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Birthdate not showingIn the faq of this plugin, there is an answer for this question. Can you check this and see if it works for you?
Why my fields are not showing?
If you are using Buddypress 1.7, you need to check if you have the new hook “bp_custom_profile_edit_fields_pre_visibility”. Check in your edit.php (edit profile form) and register page if this line of code: . If you don’t see it, you must add it just before the code of visibility settings.Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Error message for 'Birthdate' fieldHi,
It’s because my plugin use html5 fields so the design of the errors are predefined by the browser you are using. You can check in firefox, chrome or IE, they have their own design for those errors.
If you don’t want this behavior, you need to change the code of my plugin. Search line 292:
<select name="<?php bp_the_profile_field_input_name() ?>_year" id="<?php bp_the_profile_field_input_name(); ?>_year" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true" required="required"<?php endif; ?>>Delete this:
required="required"The line will look like this:
<select name="<?php bp_the_profile_field_input_name() ?>_year" id="<?php bp_the_profile_field_input_name(); ?>_year" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>>Now the errors will be managed only by the php of buddypress plugin.
With Html5 fields it’s not possible to show more than one error at same time, so I don’t think you can show at same time the bubble with error for day, month and year.
Hi,
Sorry for the delay. I was not able to investigate this. I see you are in maintenance mode, have you solved the error ?
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Web and Email holding default valueDon’t worry! You’re welcome.
You’re welcome! 😉
You need to explain better, please. Give me an image, a link. Explain where the plugin fails, …
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Images not uploadingHi,
I think I found and solved the problem in latest update 1.5.6. Try to update and get in touch, please.
Thanks for your great plugin!
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Images not uploadingHi,
Can you check if the image is uploaded or it’s not? You need to search in the directory where it should be.
I can see the edit form is still working… but the registration page not. When did you notice the registration page fails, maybe after one of my update ?
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Question about Privacy SettingsYou’re welcome!
Hi,
I will explain with an example. I have two custom posts type created: Products and Persons. One product need to be associated with one person. When I add a new product, I need to choose which person I want to associate with the product.
Your plugin show a drop down select with all persons I have created. The problem is if I have created a person and delete it, this person (post) is in wordpress with status “trash” and not “publish”, but it still appears in the drop down select. In this drop down of persons, the correct thing will be to show only the posts with status “publish” and not the deleted items.
I think the solution is checking the post_status in the query to be sure you show only posts which are published.