Support Forum ยป User Profile

Forum Replies Created

Viewing 12 posts - 46 through 57 (of 57 total)
  • Author
    Posts
  • Infolu OfficialInfolu Official
    Participant

    Not the release version does not have the latest updates

    Version Release maps does not work for me, however works settings pages

    Version master works maps but it does not work settings pages.

    A note is the problem of maps for online and not on localhost

    See Moment funkedgeek resolvel the problem of maps and acrecentou the Wierd correction || check Caused 'rwmb_meta' to default to backup function
    instead of built into fields functions (which solved many other problems)
    https://github.com/rilwis/meta-box/issues/943

    If you look the release inc / inc / functions.php
    You will notice that neither was the bustituido | | per &&

    ie the release version is not the version with online maps to fix the funkedgeek resolvel.

    the master version on the other hand is the version with the latest fixes more than this unfortunately with problems with the pages configuration addon.

    My addon configuration pages is the Version: 1.1.2

    Infolu OfficialInfolu Official
    Participant

    Hello

    when I say that I am using the latest version is that the Fix bug funkedgeek with rwmb_meta function ... with a fix for the problem https://github.com/rilwis/meta-box/issues/943 ie the latest version
    https://github.com/rilwis/meta-box/archive/master.zip

    https://github.com/rilwis/meta-box/releases the release version has the fix for map.

    Infolu OfficialInfolu Official
    Participant

    Staff without news? I'm still or use but or use the page settings, I can not use both ๐Ÿ™

    Infolu OfficialInfolu Official
    Participant

    Hello Anh Tran, I'm using the example where the tab is defined in metabox but it does not work.

    / Register settings page. In this case, it's a theme options page
    add_filter( 'mb_settings_pages', 'prefix_options_page' );
    function prefix_options_page( $settings_pages )
    {
    	$settings_pages[] = array(
    		'id'          => 'pencil',
    		'option_name' => 'pencil',
    		'menu_title'  => __( 'Pencil', 'textdomain' ),
    		'icon_url'    => 'dashicons-edit',
    		'style'       => 'no-boxes',
    		'columns'     => 1,
    		'tabs'        => array(
    			'general' => __( 'General Settings', 'textdomain' ),
    			'design'  => __( 'Design Customization', 'textdomain' ),
    			'faq'     => __( 'FAQ & Help', 'textdomain' ),
    		),
    		'position'    => 68,
    	);
    	return $settings_pages;
    }
    // Register meta boxes and fields for settings page
    add_filter( 'rwmb_meta_boxes', 'prefix_options_meta_boxes' );
    function prefix_options_meta_boxes( $meta_boxes )
    {
    	$meta_boxes[] = array(
    		'id'             => 'general',
    		'title'          => __( 'General', 'textdomain' ),
    		'settings_pages' => 'pencil',
    		'tab'            => 'general',
    		'fields' => array(
    			array(
    				'name' => __( 'Logo', 'textdomain' ),
    				'id'   => 'logo',
    				'type' => 'file_input',
    			),
    			array(
    				'name'    => __( 'Layout', 'textdomain' ),
    				'id'      => 'layout',
    				'type'    => 'image_select',
    				'options' => array(
    					'sidebar-left'  => 'http://imgur.elightup.com/Y2sxQ2R.png',
    					'sidebar-right' => 'http://imgur.elightup.com/h7ONxhz.png',
    					'no-sidebar'    => 'http://imgur.elightup.com/m7oQKvk.png',
    				),
    			),
    		),
    	);
    	$meta_boxes[] = array(
    		'id'             => 'colors',
    		'title'          => __( 'Colors', 'textdomain' ),
    		'settings_pages' => 'pencil',
    		'tab'            => 'design',
    		'fields' => array(
    			array(
    				'name' => __( 'Heading Color', 'textdomain' ),
    				'id'   => 'heading-color',
    				'type' => 'color',
    			),
    			array(
    				'name' => __( 'Text Color', 'textdomain' ),
    				'id'   => 'text-color',
    				'type' => 'color',
    			),
    		),
    	);
    	$meta_boxes[] = array(
    		'id'             => 'info',
    		'title'          => __( 'Theme Info', 'textdomain' ),
    		'settings_pages' => 'pencil',
    		'tab'            => 'faq',
    		'fields'         => array(
    			array(
    				'type' => 'custom_html',
    				'std'  => __( '<strong>Having questions?</strong><br><br><a href="https://metabox.io/docs/" target="_blank" class="button-primary">Go to our documentation</a>', 'textdomain' ),
    			),
    		),
    	);
    	return $meta_boxes;
    }
    Infolu OfficialInfolu Official
    Participant

    hello any news on this? to not run out settings pages'm using the old version which had problems with maps.

    in reply to: How to display clone fields subgroup #3804
    Infolu OfficialInfolu Official
    Participant

    Perfect, thanks

    in reply to: Max clone does not work if I have subgroup #3803
    Infolu OfficialInfolu Official
    Participant

    Hello any news on this?

    I realized that in the above example if I almentar the max clone 10 then he allows me to clone 5.

    in reply to: Image field does not charge for different users #3572
    Infolu OfficialInfolu Official
    Participant

    Hello, yes both have permission to upload media.

    So much so that if I upload the media by User 2, it replaces the image registered by User 1, woe to log in with the User 1 I do not see the image upload made by User 2.

    A note even if the User 2 do not change the image box if he change any text field and click save, to add the photo to the User 1 uploaded.

    in reply to: Display data from cloned fields #3565
    Infolu OfficialInfolu Official
    Participant

    Perfect, thanks for the help

    in reply to: Display img upload feild #2770
    Infolu OfficialInfolu Official
    Participant

    I managed to get the url of the image if someone need to follow the code I used.

    
    $settings = get_option( 'ims_company' );
    $field_id = 'extra_my_logo_company';
    $display_pre = current( $settings[$field_id] );
    $display = wp_get_attachment_url( $display_pre );
    echo '<img src="' .$display.'" alt="Profile" />'; 

    Tranks

    in reply to: Soluction Tabs not shown #2768
    Infolu OfficialInfolu Official
    Participant

    Perfect now have running 1.1.0, thanks

    in reply to: Soluction Tabs not shown #2758
    Infolu OfficialInfolu Official
    Participant

    Hi
    I am using the version available in my download panel 1.0.1.
    I am using the example of documentation
    http://pastebin.com/n2S413wy

    tranks

Viewing 12 posts - 46 through 57 (of 57 total)