Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 3,631 through 3,645 (of 3,786 total)
  • Author
    Posts
  • in reply to: Best licensing option #39419
    PeterPeter
    Moderator

    Hello Cynthia,

    I see you've also created a question in our ticket system. Our marketing team will get in touch with you shortly.

    in reply to: add users with forms #39418
    PeterPeter
    Moderator

    Hello 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.

    PeterPeter
    Moderator

    Hello 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.

    PeterPeter
    Moderator

    Hello 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 quform shortcode 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 1 form 14 with 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 – Other
    PeterPeter
    Moderator

    Glad to hear it works.

    I'm not sure why this happens on your site because the argument ep_mask or permalink_epmask is 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.

    PeterPeter
    Moderator

    Hello,

    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.php

    You can add the (int) to set the type of data to integer as well. Thanks.

    in reply to: Request a refund #39395
    PeterPeter
    Moderator

    Hello Eric,

    Please send a request via this contact form https://metabox.io/contact/
    Our marketing team will process it. Thanks.

    in reply to: How to add a sidebar? #39394
    PeterPeter
    Moderator

    Hello 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/

    in reply to: Save CPT content and title to MB Custom Table? #39393
    PeterPeter
    Moderator

    Hello,

    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 ID title and content and save the value to the custom table.

    in reply to: Inject HTML through custom field - Sanitization #39392
    PeterPeter
    Moderator

    Hello there,

    Can you please let me know where do you create the shortcode mb_recipes_embed_code? Please try to use the helper function rwmb_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/

    in reply to: Display Relationship value in GenerateBlocks dynamic data #39390
    PeterPeter
    Moderator

    Hello,

    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.

    in reply to: How to use custom table data in Pionet Grid? #39389
    PeterPeter
    Moderator

    Hello 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.

    in reply to: Relationships don't save when updating #39371
    PeterPeter
    Moderator

    Hello 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.

    PeterPeter
    Moderator

    Hello 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?

    PeterPeter
    Moderator

    Hello 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/

Viewing 15 posts - 3,631 through 3,645 (of 3,786 total)