Forum Replies Created
-
AuthorPosts
-
August 23, 2016 at 6:16 PM in reply to: Problems with the latest version of metabox vs mmb-settings-page #3914
Infolu Official
ParticipantNot 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/943If 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
August 23, 2016 at 4:47 PM in reply to: Problems with the latest version of metabox vs mmb-settings-page #3911Infolu Official
ParticipantHello
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.ziphttps://github.com/rilwis/meta-box/releases the release version has the fix for map.
August 22, 2016 at 8:08 PM in reply to: Problems with the latest version of metabox vs mmb-settings-page #3905Infolu Official
ParticipantStaff without news? I'm still or use but or use the page settings, I can not use both ๐
August 18, 2016 at 3:45 PM in reply to: Problems with the latest version of metabox vs mmb-settings-page #3887Infolu Official
ParticipantHello 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; }August 17, 2016 at 9:52 AM in reply to: Problems with the latest version of metabox vs mmb-settings-page #3868Infolu Official
Participanthello any news on this? to not run out settings pages'm using the old version which had problems with maps.
Infolu Official
ParticipantPerfect, thanks
Infolu Official
ParticipantHello 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.
Infolu Official
ParticipantHello, 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.
Infolu Official
ParticipantPerfect, thanks for the help
Infolu Official
ParticipantI 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
Infolu Official
ParticipantPerfect now have running 1.1.0, thanks
Infolu Official
ParticipantHi
I am using the version available in my download panel 1.0.1.
I am using the example of documentation
http://pastebin.com/n2S413wytranks
-
AuthorPosts