Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Cynthia,
I see you've also created a question in our ticket system. Our marketing team will get in touch with you shortly.
Peter
ModeratorHello there,
Currently there is no field support registering users on the frontend. You need to use the user register shortcode or user another plugin to allow users to register on the frontend.
November 30, 2022 at 10:40 PM in reply to: ✅column still takes its width space when visibility and display hidden #39417Peter
ModeratorHello there,
It is the standard behavior of the WordPress admin column. For example, if there is no post that has a category the column is still displayed. If you want to hide an admin column, please uncheck it in the Screen Options area.
November 30, 2022 at 8:03 AM in reply to: Profile pages using MB User Profile and MB Beaver Builder Integration #39408Peter
ModeratorHello Jan,
Here is my screen record so that you can understand how the conditional logic works with other elements on the same page https://drive.google.com/file/d/1-jelzCptVwMPl_8p186pni4d9P4lTjUl/view?usp=sharing
You can wrap the
quformshortcode in a div with a specific ID and use the ID in the conditional logic code.add_filter( 'rwmb_outside_conditions', function( $conditions ) { $conditions['#quform-1'] = array( 'visible' => ['#select_operations', 'drc_other'], ); $conditions['#quform-14'] = array( 'visible' => ['#select_operations', 'zimbabwe_other'], ); $conditions['#quform-13'] = array( 'visible' => ['#select_operations', 'zimbabwe_todal'], ); $conditions['#quform-12'] = array( 'visible' => ['#select_operations', 'zimbabwe_ccih_sabot'], ); return $conditions; } );You can change
form 1form 14with the shortcode on your site and put the code anywhere on the same page.<div id="quform-1">form 1</div> <div id="quform-14">form 14</div> <div id="quform-13">form 13</div> <div id="quform-12">form 12</div>Note: the select option value should be in lowercase, no space, like this
drc_metalkol: Drc - Metalkol drc_other: Drc - Other mali_all: Mali - All mauritius_all: Mauritius - All mozambique_all: Mozambique - All south_africa_emsa: South Africa - Emsa south_africa_sabot: South Africa - Sabot south_africa_other: South Africa - Other zambia_chambishi: Zambia - Chambishi zambia_sabot: Zambia - Sabot zambia_other: Zambia - Other zimbabwe_ccih_sabot: Zimbabwe – Ccih (Sabot) zimbabwe_todal: Zimbabwe – Todal zimbabwe_other: Zimbabwe – OtherNovember 29, 2022 at 10:25 PM in reply to: ✅PHP 8 Error after activating "MB Custom Post Types & Custom Taxonomies" #39397Peter
ModeratorGlad to hear it works.
I'm not sure why this happens on your site because the argument
ep_maskorpermalink_epmaskis not supported in MB Custom Post Type. But I will inform the development team to take a closer look at this issue and see if there is something we can do from our side.November 29, 2022 at 9:56 PM in reply to: ✅Taxonomy advanced returns term id as string in in group loop #39396Peter
ModeratorHello,
If you take a closer look in the database, table
wp_postmeta, you can see the group field value save the data in a serialized string and of course, the output value is a string. MB Group uses this PHP function to serialize an array of subfield values https://www.php.net/manual/en/function.serialize.phpYou can add the (int) to set the type of data to integer as well. Thanks.
Peter
ModeratorHello Eric,
Please send a request via this contact form https://metabox.io/contact/
Our marketing team will process it. Thanks.Peter
ModeratorHello Eddy,
You can use the WordPress function get_sidebar() to get the sidebar in the view template.
{{ mb.get_sidebar() }}Refer to the documentation https://developer.wordpress.org/reference/functions/get_sidebar/
Peter
ModeratorHello,
Saving the post title to the custom table will lead to some unexpected issues. If you want to do that, when registering the CPT, please uncheck the support fields Title, Editor.
Then register 2 custom fields with IDtitleandcontentand save the value to the custom table.Peter
ModeratorHello there,
Can you please let me know where do you create the shortcode
mb_recipes_embed_code? Please try to use the helper functionrwmb_meta()to output the field value.echo rwmb_meta( 'embed_code', '', 123 );where 123 is the post ID. Read more on the documentation https://docs.metabox.io/functions/rwmb-meta/
November 29, 2022 at 8:40 PM in reply to: Display Relationship value in GenerateBlocks dynamic data #39390Peter
ModeratorHello,
As I said before, you need to have a basic knowledge of PHP and WordPress coding to control the output data. Meta Box is not a tool with just a few clicks to set up anything on your site.
Hope that makes sense.Peter
ModeratorHello there,
Pionet Grid is not compatible with Meta Box yet so I think it will not work with the custom field that saved value in a custom table.
A product of the Pionet team compatible with Meta Box is Pionet Form which you can see here https://docs.metabox.io/compatibility/I recommend contacting the Pionet team to consider creating an integration with Meta Box and extensions to support this case.
Peter
ModeratorHello Emilia,
Somehow the table mb_relationships in the database was deleted so the relationship is not saved after updating the post. I've fixed this issue on your site and now the relationship is saved as well.
November 28, 2022 at 10:14 PM in reply to: Profile pages using MB User Profile and MB Beaver Builder Integration #39370Peter
ModeratorHello Jan,
To show/hide a heading or an element (outside from a field group), please follow this documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/#using-outside-meta-boxes
But after showing the custom form [form id="drc_other"] you need to click on the Submit button of the MB User Profile form, not the Submit button of the custom form. Otherwise, the option in the field Selected Operations will not be saved.
Can you please let me know how the form and options "Vendor, ARSP license, Signed PO Terms" are registered? Or where does it come from?
November 28, 2022 at 9:56 PM in reply to: ✅PHP 8 Error after activating "MB Custom Post Types & Custom Taxonomies" #39369Peter
ModeratorHello AJ,
I'm sorry about the late reply due to the weekend. I've received your site credentials via the contact form but I cannot access the site to check the issue, screenshot https://monosnap.com/file/4dpmss0ONmTfZCttfNh7JPnv7vlNHb
Can you please create a staging site (not live site) with the issue replicated and send the credential again? I will inform the development team to check it as soon as possible.
If the issue relates to the plugin MB Custom Post Type when registering the custom post type, can you please generate the PHP code and add it to the file functions.php in the theme or child theme folder and check this issue again? This extension helps you to register the post types, taxonomies with UI instead of using the WordPress function register_post_type().
Refer to the documentation
https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
https://developer.wordpress.org/reference/functions/register_post_type/ -
AuthorPosts