Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,546 through 1,560 (of 3,727 total)
  • Author
    Posts
  • in reply to: Edited group field bool #45279
    PeterPeter
    Moderator

    Hello Yasmine,

    the $_POST no longer has data by the time I use my hook: add_action('save_post_research', 'manage_save_automations', 10, 3);

    How do you print out the $_POST variable to check if it has data? I use the sample code below and it prints out the value as well.

    add_action( 'save_post_research', function( $post_id, $post, $update ) {
    	echo "<pre>";
    	print_r( $_POST );
    	echo "</pre>";
    	die('12345');
    }, 10, 3 );
    in reply to: Invalid strings and API::add callback Issue #45275
    PeterPeter
    Moderator

    Hello,

    There are no changes in the new version but we've updated the documentation to get the error when adding a new row.
    https://docs.metabox.io/extensions/mb-custom-table/#add

    PeterPeter
    Moderator

    Hello Jeremy,

    In case of using Oxygen Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
    Refer to our support policy https://metabox.io/support/topic/support-policy/

    If you want to display Meta Box fields in the block settings, please use the custom block from Meta Box. Please follow the documentation https://docs.metabox.io/extensions/mb-blocks/

    in reply to: MBFP query not working #45272
    PeterPeter
    Moderator

    Hello Yasmine,

    I use the same code on my demo site and don't see the issue. Please add the code to a page template in a standard theme of WordPress without using your custom plugin/theme and recheck this issue.

    $current_user = get_current_user_ID();
    $post_ids = get_user_meta( $current_user, 'mbfp_posts', true );
    
    $the_query = new WP_Query( [
       'post_type' => 'research',
      'post__in' => $post_ids,
       'posts_per_page' => -1,
    ]);
    
    // The Loop.
    if ( $the_query->have_posts() ) {
    	echo '<ul>';
    	while ( $the_query->have_posts() ) {
    		$the_query->the_post();
    		echo '<li>' . esc_html( get_the_title() ) . '</li>';
    	}
    	echo '</ul>';
    }
    
    wp_reset_postdata();
    
    PeterPeter
    Moderator

    Hello,

    If you use the builder, you can go to the Settings tab of the field group > Advanced location rules > Hide if Post: select the blog page, to exclude the field group from showing on the blog page.
    Screenshot https://imgur.com/9d5xhg6

    Following the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/

    in reply to: Cancel Group Subscription and Refund #45267
    PeterPeter
    Moderator

    Hello AJ,

    If you have a refund request, please contact us by submitting this contact form https://metabox.io/contact/
    we will get in touch with you shortly.

    in reply to: Fatal Error Updating to 5.9.7 #45266
    PeterPeter
    Moderator

    Hello Mark,

    Please try to delete the current plugin, then download a fresh copy of Meta Box 5.7.9 from WordPress.org and re-install it on your site.
    https://wordpress.org/plugins/meta-box/

    Let me know how it goes.

    in reply to: Composer for premium extension not working #45265
    PeterPeter
    Moderator

    Thanks for sharing the solution.

    in reply to: Fields made visible later in form #45262
    PeterPeter
    Moderator

    Hello Yasmine,

    you cannot add tabs within a group field type?

    Yes, correct. You can use the tab field as a top field. It doesn't work as a subfield in a group field.

    Regarding the conditional logic issue, I already told you that the nested conditional logic doesn't work, in this topic https://support.metabox.io/topic/multiple-visibility-condition/?swcfpc=1

    If you want to create a customization form with custom code, please contact us here https://metabox.io/contact/.

    in reply to: name key is gone #45260
    PeterPeter
    Moderator

    Hello Aaron,

    Thanks for your feedback. Let me check the $attributes['name'] with the development team and I will get back to you later.

    PeterPeter
    Moderator

    Hello,

    does the visitors form can be used to change the post-id of another post to erase it?

    No. Only the author of the post can update their post in the frontend dashboard. Following the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#user-dashboard

    If you don't want to show the frontend form for the visitors, you can create a custom code to check the logged-in user and output the frontend form with the shortcode.

    PeterPeter
    Moderator

    Hello,

    Please update Meta Box AIO to the new version 1.26.2, Meta Box 5.9.7 and check the issue again.

    in reply to: Unable to click on field and group actions #45255
    PeterPeter
    Moderator

    Hello,

    Please update Meta Box AIO to the new version 1.26.2 and check the issue again.

    in reply to: MB Favorite Posts menu is not showing up #45241
    PeterPeter
    Moderator

    Hello,

    There isn't a hook to move the Favorite Posts settings page to another menu. I use this code to remove the default settings page

    add_action( 'admin_init', function() {
    	remove_submenu_page( 'options-general.php', 'mb-favorite-posts' );	
    }, 999 );
    

    and this code to re-register the settings page

    add_filter( 'mb_settings_pages', function( $settings_pages ) {
    	$settings_pages[] = [
    		'id'          => 'mb-favorite-posts',
    		'option_name' => 'mb_favorite_posts',
    		'menu_title'  => __( 'Favorite Posts', 'mb-favorite-posts' ),
    		'class'       => 'mbfp-settings',
    		'style'       => 'no-boxes',
    		'column'      => 1,
    		'parent'      => 'tools.php', // change parent menu here
    		'tabs'        => [
    			'mbfp_general' => 'General',
    			'mbfp_button'  => 'Button',
    			'mbfp_icon'    => 'Icon',
    		],
    	];
    	return $settings_pages;
    }, 99 );

    however, it doesn't work properly so I recommend using the default settings page.

    in reply to: Link problem with the URL field #45235
    PeterPeter
    Moderator

    Hello,

    So the issue is in the frontend and related to Bricks builder, not Meta Box itself. I understand you can save the post with an empty URL field in the admin area. Please contact Bricks support to get further assistance.

    Regarding the documentation, the URL field is an HTML5 input field and there isn't specific documentation for this. Please read more about HTML5 input fields here https://developer.mozilla.org/en-US/docs/Learn/Forms/HTML5_input_types

Viewing 15 posts - 1,546 through 1,560 (of 3,727 total)