Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 43 total)
  • Author
    Posts
  • in reply to: Custom Post Type Extension Question #10648
    tsqueztsquez
    Participant

    Just wanted to stop in and say I have answered my own questions from above.

    THIS IS THE BEST DAMN PLUGIN EVER!!!

    in reply to: Responsive Tabs #10623
    tsqueztsquez
    Participant

    Thank you very much my good man. Works great looks AWESOME!!!

    Keep up the awesome work you guys do over there.

    in reply to: Make MetaBoxes Visible for Custom Post Types #10018
    tsqueztsquez
    Participant

    Again you have proven why this is one of the greatest plugins ever created. you sir....ROCK!!!! thank you.

    in reply to: Default Meta Values not working #8663
    tsqueztsquez
    Participant

    So what exactly will this do?

    in reply to: Default Meta Values not working #8649
    tsqueztsquez
    Participant

    Do you mean that when getting the field value, if the meta box hasnโ€™t been saved yet, the std value is not returned?....yes that is what I mean.

    So how can I get it to do what I want? Any idea?

    in reply to: Set default value for number field #8587
    tsqueztsquez
    Participant

    Hi Anh Tran,

    You are of course correct, again...lol!!! Thganks for checking into it.

    in reply to: Set default value for number field #8558
    tsqueztsquez
    Participant

    Hi there,

    I did however it did not show what I had entered? This is what lead me to ask the question.

    in reply to: Error When Creating A New MetaBox #8519
    tsqueztsquez
    Participant

    Thanks for checking into it. I fixed the issue by reinstalling MAMP. Now it seems to be working good.

    Thanks again.

    in reply to: โœ…Show A Specific Tab When A Feature Image is Added #8274
    tsqueztsquez
    Participant

    OK so my theme <b>TotalPress</b> was reviewed yesterday. I was excited. However they are using a new plugin for review. You can find it here: https://github.com/WPTRT/theme-sniffer

    You can run checks against different version of PHP, from 5.2 all the way to 7.

    So they ran the theme through this new plugin and it ran into a few errors running it against php 5.2. One of the errors was generated from the code for MB Conditional Logic plugin.

    It's this code from the library, at the very bottom: https://github.com/wpmetabox/library/blob/master/extensions/conditional-logic/featured-image-with-tabs.php

    Specifically:

    // hide our featured image options tab if there is no featured image being used.
    add_filter( 'rwmb_outside_conditions', function ( $conditions ) {
      $conditions['.rwmb-tab-totalpress_featured_image_options'] = array(
        'visible' => array('_thumbnail_id', '!=', '-1'),
      );
      $conditions['.rwmb-tab-panel-totalpress_featured_image_options'] = array(
        'visible' => array('_thumbnail_id', '!=', '-1'),
      );
      return $conditions;
    } );

    This is what the error states:

    Closures / anonymous functions are not available in PHP 5.2 or earlier

    So I had to remove this from the theme as well as the plugin meta box conditional logic. I really would like to include this in the theme but for now to get the theme approved, I have removed it.

    Any idea what it means...lol - know how I can correct it?

    Any help you can provide is greatly appreciated.

    in reply to: Error with Theme Check Plugin #8273
    tsqueztsquez
    Participant

    Actually it's because, according to the theme review standards, there can only be one file named style.css and that is the theme style sheet.

    If there is a plugin included in the theme, such as meta box conditionals and meta box tabs, any stylesheet in the plugins cannot be named style.css.

    And even though it is only a recommendation, the theme review team will not approve the theme until that is corrected.

    Thanks for correcting it when you update ๐Ÿ˜‰

    in reply to: โœ…Show A Specific Tab When A Feature Image is Added #8207
    tsqueztsquez
    Participant

    Awesome amigo I look forward to seeing what you come up with.

    I know you'll knock it out of the ballpark

    in reply to: โœ…Show A Specific Tab When A Feature Image is Added #8183
    tsqueztsquez
    Participant

    Hey there,

    Yes I thought about that before asking the question and I even tried it to see what happens.

    This is what happens:

    1. I move the featured image tab to the last position. I remove the featured image and now the featured image tab is hidden because there is no featured image:

    https://imgur.elightup.com/N28Q70X.png

    2. So I add a featured image and the Featured Image Options tab appears:

    https://imgur.elightup.com/Rzlfx0z.png

    As you can see this is not the desired effect. Which is why I asked the question in the first place amigo. Trust me I never ask a question on how to do something if I haven't already tried doing everything possible to make it work ๐Ÿ˜‰

    So, is there a way to maybe set a tab to be the active tab, maybe like this:

    'active' => true,

    Thanks again.

    in reply to: โœ…Show A Specific Tab When A Feature Image is Added #8149
    tsqueztsquez
    Participant

    Like I said before it works perfect, but I do have a question and I am hoping you can provide me with an answer as I am sure someone else will probably ask this.

    OK so before I add my featured image, this is what the metabox looks like:

    https://imgur.com/OR5CWv9 (screenshot 1)

    and when I add my featured image it looks like this:

    https://imgur.com/gNK9URW (screenshot 2)

    This is pretty cool, however, I am wondering, how can I make the "Hide Post/Page Elements" tab be the "active" tab and show the contents of that tab if there is NO featured image.

    In other words: If there is NO featured Image, how can I make it look like this:

    https://imgur.com/f0Ny2ur (screenshot 3)

    when there is no featured image I would like the next tab to be the active tab and show the tab content. Is this possible?

    I hope there is a way to do it. Thanks again guys.

    in reply to: โœ…Show A Specific Tab When A Feature Image is Added #8147
    tsqueztsquez
    Participant

    OK just wanted to stop in and say THANK YOU, THANK YOU, THANK YOU!!! This works beautimously...lol!

    Great job guys, you killed it. Seriously, this is AWESOME!!! Thanks again.

    in reply to: โœ…Show A Specific Tab When A Feature Image is Added #8143
    tsqueztsquez
    Participant

    Hi there,

    Ah OK I see it now...lol! Thank you very much, greatly appreciated my friend.

Viewing 15 posts - 16 through 30 (of 43 total)