shibby15
Forum Replies Created
-
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce by CartFlows] WPML compatibility:/ Ok
Since it’s not compatible I arranged a workaround for my needs. I’ve set the variation image with CSS, implementing the a background-image setting to the container.
It can be useful for someone with the same problem:
.cfvsw-swatches-container.cfvsw-product-container [data-slug=”your-data-slug“] {
background-image: url(…);
background-size: cover;
}Just need to identify the corresponding “data-slug” for each variation and add the corresponding CSS ??
Hope this could be useful.
Thanks
Forum: Plugins
In reply to: [Elementor Custom Skin] Problems with Load more paginationHello @rawb753 ?? I didn’t solve the problem but found a way of outline it.
If you define a custom query, then it will work smooth.
You can check this link: https://developers.elementor.com/docs/hooks/custom-query-filter/
Regards
Forum: Plugins
In reply to: [Slider Pro] When swipe image galleryHello,
I solved the issue… it was a problem with Elementor Pro lightbox, disabling “image lighbox” solved the problem as your slider uses Fancy box it works great.
Thank you for your reply.
Best regards!
Forum: Plugins
In reply to: [Facebook for WooCommerce] Can’t Sync with FacebookThank you for your help!
Forum: Plugins
In reply to: [Moving Media Library] Alt attriutes missingSorry, my mistake! The alternative text was imported! Some images are duplicated, I supposed that Alt text was missing but it isn’t.
I’m sorry.
Best regards.
Forum: Plugins
In reply to: [Moving Media Library] Alt attriutes missingHello!
I’m facing the problem of missing Alternative Text before the import.
How can I import the media without losing Alternative Text?
Thanks
Hello @shresthauzwal,
Thank you for your support.
About User Registration form – It is working but accepts the user registration when he puts only 4 digits, I mean when it only meets the first segment of the pregmatch. Users can enter only the first 4 digits or the correct pattern.
About the Profile Details – not working here ?? I can share with you login data of a test user.
Thanks
Sorry, but it’s only working in the registration form, not in Profile Details ??
Thanks a lot for an awesome support! It worked like a charm…
Appreciate your help!Can I replace the name “input_box_1627459889” for “zipcode”, making the adjustment in the code?
Best regards!
- This reply was modified 3 years, 3 months ago by shibby15.
Also, I tried to apply the pattern ‘/\b\d{4}(-\d{3})?\b/’to the field text, as the example code you shared worked:
`add_action( ‘user_registration_validate_text’,’ur_validate_text_field’,10,4);
function ur_validate_text_field($single_form_field, $data, $filter_hook, $form_id) {
$field_label = isset( $data->label ) ? $data->label : ”;
$value = isset( $data->value ) ? $data->value : ”;if( preg_match(‘/\b\d{4}(-\d{3})?\b/’, $value ) ) {
add_filter( $filter_hook, function ( $msg ) use ( $field_label ) {
return __( $field_label . ‘Testing this’, ‘user-registration’ );
});
}
}This pattern should have restrited the user input to the format _ _ _ _ – _ _ _ but it didn’t worked.
- This reply was modified 3 years, 4 months ago by shibby15.
Hello @shresthauzwal,
Replaced field name zipcode to input_box_1627459889,
Then updated functions.php of the childtheme with the code you shared but then I got broken website, so I removed the code. ??
Hello @shresthauzwal
I’m using the input text default and changed the field name to zipcode. I’ve also tried the example you shared using the field “text” and it worked.
My registration form is available in this URL: https://wordpress-377373-1615575.cloudwaysapps.com/registo-de-utilizadores/
There you can check the field text and also the zipcode.
Thanks a lot for your help.
Based on your example from here: https://docs.wpeverest.com/user-registration/docs/how-to-add-custom-validations-to-fields-programmatically/
I’ve tested without success:
add_action( ‘user_registration_validate_zipcode’,’ur_validate_zipcode_field’,10,4);
function ur_validate_zipcode_field($single_form_field, $data, $filter_hook, $form_id) {
$field_label = isset( $data->label ) ? $data->label : ”;
$value = isset( $data->value ) ? $data->value : ”;
if( 1 === preg_match(‘/\b\d{4}(-\d{3})?\b/’, $value)) {
add_filter( $filter_hook, function ( $msg ) use ( $field_label ) {
return __( $field_label . ‘Erro!’, ‘user-registration’ );
});
}
}`Can you please help?
Hello!
I’m facing the same problem!! I have a checkbox with 7 options and I want to delete just the last one. I remove it, save (updated form) but when I check it doesn’t disappeared!!
When are you planning to release the update? It’s a big problem! We are unable to edit checkboxes!
Best regards
- This reply was modified 3 years, 4 months ago by shibby15.
Forum: Plugins
In reply to: [Crop-Thumbnails] Custom cropping not savedAlso, when re-cropping the image isn’t updated. Even if I make changes in text content and then update the post.