Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 50 total)
  • Author
    Posts
  • wgstjfwgstjf
    Participant

    Hi Long, not sure if I didn't explain it properly.

    The issue is that I am NOT getting an array but instead a single value. I am expecting an array containing both values (in this example) but not getting one...

    Any thoughts?

    Will

    in reply to: Registering meta boxes - limit frontend queries #21810
    wgstjfwgstjf
    Participant

    Thanks Long,

    As previously mentioned, some of my meta boxes contain custom functions that require queries to run on the database. In the example below a custom function gets all users and formats them as required for a select_advanced metabox. As these metaboxes are only required in the admin area it would seem sensible for the filter rwmb_meta_boxes to only run if in admin area, unless there are downsides to this...

    
    // SELECT - Related User Account
     array(
        'name'    => __( 'Related User Account', 'indigo-metaboxes' ),
        'desc'    => __( 'Choose the user account related to this member', 'indigo-metaboxes' ),
        'id'      => 'member_user_id',
        'type'  => 'select_advanced',
        'options' => indigo_get_member_users(null,1),
        'placeholder'  => 'Choose user...',
        'columns'  => '3',
     ),
    

    Cheers,

    Will

    in reply to: โœ…Getting field value - admin area #21475
    wgstjfwgstjf
    Participant

    Thanks for the heads up - worked perfectly ๐Ÿ™‚

    in reply to: โœ…How to update MB Settings field programatically #20807
    wgstjfwgstjf
    Participant

    Long,

    Thanks for coming back to me. It is now working as desired using the following:

    $rwmb_storage_method     = new MBSP\Storage;
        $increment_next_member_number = $rwmb_storage_method->update('indigo_membership_settings','member_number_next',$next_member_number_incremented);

    Very much appreciated.

    Will

    in reply to: HTML required attribute validation issues #20213
    wgstjfwgstjf
    Participant

    Thanks Long, standing by.

    Cheers,

    Will

    in reply to: HTML required attribute validation issues #20200
    wgstjfwgstjf
    Participant

    Long,

    Did this issue get resolved in the latest version of Meta Box?

    Cheers,

    WIll

    in reply to: HTML required attribute validation issues #19684
    wgstjfwgstjf
    Participant

    Thanks for getting back to me so quickly. You are absolutely right about the visible required fields, it seems to be the upload type files (using hidden inputs) that have the problem. Standing by for the update so that we can restore this essential functionality.

    Thanks again.

    Will

    in reply to: HTML required attribute validation issues #19665
    wgstjfwgstjf
    Participant

    I've just looked into this further an I think there is another issue. We have a plugin that makes sure that image_advanced fields that have the 'required' attribute (and are visible) require the user to select an image.

    I believe a recent update (5.2.8) has modified the validation scripts to remove validation for hidden fields (from changelog - Fix validation rules still applied for hidden fields). This now means that image_advanced fields (and similar) will never be validated as their relevant INPUT field (for the image_id in this case) is a hidden field. Can you modify the way your recent update works so that it does not target media fields such as image, file, video etc?

    Cheers,

    Will

    in reply to: โœ…How to store WordPress Posts in a Custom Table? #19332
    wgstjfwgstjf
    Participant

    Great news and you too.

    in reply to: โœ…How to store WordPress Posts in a Custom Table? #19310
    wgstjfwgstjf
    Participant

    Anh,

    Jumping in on this if I may...

    Seriously interested in this as well. We've tried a few times to extend the capabilities of Custom Table to work with our own content types created using WP_List_Table but, although we've got close, we've never got this working well.

    It would be absolutely amazing to be able to use the endless benefits of Meta Box with the benefits of truly independent custom tables. Please, please do add this functionality as soon as you can. Numerous projects we have on (and upcoming) would all benefit.

    Cheers and stay safe,

    Will

    in reply to: โœ…Multiple relations for meta box/field visibility #19055
    wgstjfwgstjf
    Participant

    Thanks Long, that's great. I hope you can fit this in asap so that we can use it on our current client project.

    Cheers,

    Will

    in reply to: โœ…Minor tweak to responsive css #17419
    wgstjfwgstjf
    Participant

    No problem and thanks for the quick update.

    in reply to: โœ…Ability to remove license key #17315
    wgstjfwgstjf
    Participant

    Wonderful, thanks.

    in reply to: โœ…select_advanced with Ajax #16606
    wgstjfwgstjf
    Participant

    Thanks for the explanation Anh and the suggestion of the custom callbacks.

    in reply to: โœ…Clonable select_advanced with ajax #16557
    wgstjfwgstjf
    Participant

    Was just about to update my post on this topic to reflect the progress we've made. Good to se you've found it already and good luck with your tests.

    Cheers,

    Will

Viewing 15 posts - 31 through 45 (of 50 total)