Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 211 through 225 (of 250 total)
  • Author
    Posts
  • in reply to: Display element based on 'post' #1329
    Tan NguyenTan Nguyen
    Participant

    Ok man, sorry, in my demo, I use 'customer' as post type but in your site, you're using 'p52-contact' as post type so $customer variable return empty, can you please change 'customer' to 'p52-contact'?

    in reply to: Display element based on 'post' #1325
    Tan NguyenTan Nguyen
    Participant

    Can you show me that error?

    in reply to: Show content in frontend #1322
    Tan NguyenTan Nguyen
    Participant

    Hi Maurice,

    Thanks for using our plugins, to display field on the frontend, you can follow this guide.

    Have a nice day man ๐Ÿ™‚

    Tan Nguyen

    in reply to: Erors with debug mode on #1321
    Tan NguyenTan Nguyen
    Participant

    Hi webidia,

    Sorry for long silence, I have some trouble with me health, I've just released the patch, can you able to update?

    Btw, due to divider field in haven't #ID selector so we cannot hide divider right now, we'll update Meta Box plugin shortly. You can use CSS to add horizontal row now to work around, we're sorry about this convenience.

    Thank you and have a nice day man ๐Ÿ™‚

    in reply to: Display element based on 'post' #1320
    Tan NguyenTan Nguyen
    Participant

    Hi carassius,

    Thanks for using Conditional Logic

    As your requested, I've created a snippet with comments so you can see and use in your project. Basically, I use a 'post' field to display all customers and create a phone field which store customer phone and a set of phone fields equal to num of customers which has default value inside, when user post data, the visible phone field will replace default phone field. Have fun ๐Ÿ™‚

    https://pastebin.com/6qC7CJwh

    in reply to: Erors with debug mode on #1284
    Tan NguyenTan Nguyen
    Participant

    Hi webidia,

    Thanks for downloading Conditional Logic and reporting that bug, we've just released new version, can you please update?

    For file_advanced and image_advanced, it returns num of uploaded files so you can define conditional logic like so:

    
    // Visible when file_advanced is empty
    'visible' => array('file_advanced', 0)
    
    // Or hidden when image_advanced is exists at least 2 images
    'visible' => array('image_advanced', '>=', 2) 
    

    Best regards,

    Tan Nguyen

    in reply to: Hide a metabox when a parent is selected #1283
    Tan NguyenTan Nguyen
    Participant

    Hi Sinusite,

    Thanks again for your question you're welcome to post any question about our Meta Box so please don't hesitate to tell me if you have problems ๐Ÿ™‚

    As noted in documentation:
    "This extension shows/hides meta boxes when page loads or after saving. It does not include Javascript code to toggle meta boxes immediately when conditions changed."

    The different between Conditional Logic and Include / Exclude basically is:

    - Conditional Logic run when field values change immediately while Include/Exclude run conditions on page load.

    - Conditional Logic can hide meta box, fields or any DOM element while Include/Exclude only works with meta box.

    - Conditional Logic only hide elements, the element still exists while Include/Exclude can totally remove element from the page.

    Best regards

    Tan Nguyen

    in reply to: Notice undefined index on line 44 #1282
    Tan NguyenTan Nguyen
    Participant

    Hi Piet,

    I've just released an update, have a nice day man and thanks again for your contribution!

    Best regards

    Tan Nguyen

    in reply to: Notice undefined index on line 44 #1269
    Tan NguyenTan Nguyen
    Participant

    Hi Piet,

    Thanks for installing and reporting that bug, you'll get a minor update within next 24 hours. Whilst waiting for that patch, you can try to disable Debugging in WordPress

    Thanks and have a nice day,

    Tan

    in reply to: Hide a metabox when a parent is selected #1260
    Tan NguyenTan Nguyen
    Participant

    Hi Sinusite,

    Great question, I will implement update to get multiple field hide with same condition, currently, this version doesn't support but you can try this snippet for shorter and easier to update. Basically, assign hidden conditions to a variable called $hidden_condition and attach that condition to all of your meta boxes:

    
    $hidden_condition = ['hidden' => ['parent_id', '>', 0]];
    
    foreach ( ['tagsdiv-maitreo', 'postimagediv', 'sbg_box'] as $metabox ) {
       $conditions[$metabox] = $hidden_condition;
    }
    

    Best Regards

    in reply to: How to make conditional logic for image upload #1233
    Tan NguyenTan Nguyen
    Participant

    Hi bravebits,

    Sorry for the long silence and thanks for downloading and reporting about that bug. We've just released an update which wiped out that bug and you can start using Conditional Logic with image_advanced field.

    The syntax is the same as other field, but just keep in mind that image advanced field will returns num of image, so field empty that means "0" image selected.

    Example:
    'hidden' => ['image_advanced_field_id', 0]

    or
    'visible' => ['image_advanced_field_id', '!=', 0]

    Best regards

    Tan Nguyen

    in reply to: Conditional logic on group/ cloned group #1216
    Tan NguyenTan Nguyen
    Participant

    Hi Sam,

    You can update only Conditional Logic plugin for fix that bug, then you can use Select Advanced.

    in reply to: How include page template condition ? #1212
    Tan NguyenTan Nguyen
    Participant

    Hi syswperu,

    Thanks for downloading MB Builder,

    Can you share me some of your site information?
    - What theme are you using?
    - Did it supports page templates?
    - Plus: Can you please share your site dashboard login and FTP information to [email protected] so we can check it faster.

    Best regards

    Tan Nguyen

    in reply to: Hide a metabox when a parent is selected #1211
    Tan NguyenTan Nguyen
    Participant

    Also, we've released 1.0.4 and you can use simplified syntax like example above, have a nice day and don't hesitate to tell us if you have any problem ๐Ÿ™‚

    in reply to: Conditional logic on group/ cloned group #1210
    Tan NguyenTan Nguyen
    Participant

    Sorry, it's about new bug doesn't works with Select and Select Advanced, we've just released a patch. Can you please redownload Core Extension Bundle on the website and update?

    Thanks for reporting and Best regards

Viewing 15 posts - 211 through 225 (of 250 total)