Forum Replies Created
-
AuthorPosts
-
March 10, 2019 at 8:05 AM in reply to: ✅Relationship 'Post' edit screen even if 'post_type' => 'product' only #13634
Anh Tran
KeymasterHi guys,
I guess this problem occur because the MB User Meta plugin is not active. It's required to make relationship from "user". Can you please check that?
Anh Tran
KeymasterHi Matthias, sorry I was looking to solve Ale's problem. Let me check with the group state.
Anh Tran
KeymasterHi Toomas,
Sorry for the problem. I'm happy to send you the refund. However, can you please give me a few days to check the incompatibility with CPT-onomies plugin and probably provide a fix for that?
Also, would you please give the name of the plugin that has conflict with CPT-onomies? Since you bought a bundle, there are 12 plugins in there.
Another thing, I think CPT-onomies is used for creating relationships between objects. So, why don't you use MB Relationships instead?
Thanks
AnhAnh Tran
KeymasterI'm still investigating in the bug. Will try my best to fix it earlier next week.
Anh Tran
KeymasterHi Marge,
Also, is there a way to prevent repeat submissions based on email address?
Do you mean if user submit a post that has an existing email in a custom field, then stop saving the post? As far as I know, there's no way to stop WordPress from creating a post (unless you use
die).Anh Tran
KeymasterHi,
If you use
rwmb_frontend_after_process, then all the data are already processed. To assign a value to another field before it's processed, I think you needrwmb_frontend_before_processhook. Then you can modify the$_POSTarray to change the other field's value.Anh Tran
KeymasterHi, there's an attribute
editfor the shortcode. Please just addedit="true"to the shortcode and you'll see the post data after submitting. For details, please check the docs.Anh Tran
KeymasterHi Annabelle,
To make the address field auto completed, please set its ID starts with
address, likeaddress_one. The plugin checks foraddressprefix. For details, please see the docs.Update: Sorry, I misunderstood your question.
Regarding the problem, I think the
street_addressis not available from the response for your entered address. It's rarely used and not always available.Anh Tran
KeymasterDo you mean query posts created by current user? Please clarify which user you want to set as author.
Anh Tran
KeymasterHi Jamie,
Would you mind enabling the debug mode and see what's the error? We have tested the plugins with all recent WordPress versions and they work without any problem. Perhaps it's PHP version or some PHP extensions missing.
March 7, 2019 at 11:05 PM in reply to: ✅Change Date Format from custom date field > Advanced > 'Date Picker Options' #13601Anh Tran
KeymasterHi Sam,
It's great that you found the cause!
Regarding the
d/m/yissue, I've tried and the format works correctly for me: https://screenshots.firefox.com/xuhedGKETcDuMvDC/localhost. Perhaps the same problem with the other plugin?Anh Tran
KeymasterHi SAS,
This is a future feature as the plugins don't have it yet. I think we got the same request before, but didn't track it. I'll put it in my list and will work on that as soon as I can.
Thanks a lot for your feedback and the example from other frameworks. It's really helpful.
Anh Tran
KeymasterHi Lukas,
As you use
single_imagefield, the field value is not an array (as it's only one image). So, please change to code to:$image_id = isset( $group_values['exhb_gallery'] ) ? $group_values['exhb_gallery'] : null; if ( $image_id ) { $image = RWMB_Image_Field::file_info( $image_id, array( 'size' => 'large' ) ); echo '<img src="' . $image['url'] . '" width="' . $image['width'] . '" height="' . $image['height'] . '">'; }Or if you really want to use a gallery, then please change the field type to
image_advancedand keep the code as it is.Anh Tran
KeymasterHi,
The 2nd screenshot shows the group, so it's working. Perhaps you expected a collapsible group. Please add more options for the groups.
-
AuthorPosts