Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 181 through 195 (of 3,702 total)
  • Author
    Posts
  • in reply to: no twig tags rendering #20361
    Anh TranAnh Tran
    Keymaster

    Hi Michael,

    Can you please share the screenshot of the view(s) screen? I think there is something that we miss in the discussion that might cause the error.

    Thanks,
    Anh

    in reply to: Meta Box builder not working after update #20275
    Anh TranAnh Tran
    Keymaster

    Hey guys, it's just the browser cache problem. Please use Ctrl-F5 or clear the browser cache and refresh again.

    Anh TranAnh Tran
    Keymaster

    Thanks for your feedback. I've just fixed it and will release a new version soon.

    Anh TranAnh Tran
    Keymaster

    Hi,

    I commented on the PR. Let's keep discussing over there for better reference of the code.

    Thanks for your help!

    in reply to: Hide custom fields except for specific term #19939
    Anh TranAnh Tran
    Keymaster

    Hi Steve,

    It's best to use MB Include Exclude.

    in reply to: Unable to download Meta Box AIO (Version 1.11.8) #19743
    Anh TranAnh Tran
    Keymaster

    Please try again. There was a small problem with your account which we've fixed.

    in reply to: Retrieving data right after saving #19595
    Anh TranAnh Tran
    Keymaster

    Hi Dave,

    It might relate to how rwmb_meta work with custom tables. We implemented a cache layer for the custom table storage, the code is in the inc/class-rwmb-table-storage.php, which is like this:

    public function get( $object_id, $meta_key, $args = false ) {
        if ( is_array( $args ) ) {
            $single = ! empty( $args['single'] );
        } else {
            $single = (bool) $args;
        }
        $default = $single ? '' : array();
    
        $row = MB_Custom_Table_Cache::get( $object_id, $this->table );
    
        return ! isset( $row[ $meta_key ] ) ? $default : maybe_unserialize( $row[ $meta_key ] );
    }

    In this case, as you already use $wpdb to update data, I'd suggest using it to get data to avoid the caching problem.

    in reply to: Backup & Restore not working with Composer loading #19579
    Anh TranAnh Tran
    Keymaster

    Strange, I see it's similar to my setup. I can think only about the downloaded version via Composer. Can you check the files in the vendor folder to see if they're the same as in the individual plugin?

    in reply to: Backup & Restore not working with Composer loading #19552
    Anh TranAnh Tran
    Keymaster

    Hi Joe,

    I've just set up a simple test plugin with nothing than just Meta Box + MB Settings Page and I see the backup & restore field works properly. Please see my video for details:

    https://www.loom.com/share/e4c5122a25fd47ad8f6a364bbac779f0

    in reply to: Feature Request: Allow icons besides Dashicons #19503
    Anh TranAnh Tran
    Keymaster

    We added support for FontAwesome in the version 1.2.0, see this changelog and documetation.

    in reply to: TypeError: logics is undefined #19387
    Anh TranAnh Tran
    Keymaster

    Thank you!

    I've released a new version for MB Conditional Logic. The update for AIO will come next week.

    in reply to: TypeError: logics is undefined #19360
    Anh TranAnh Tran
    Keymaster

    Hey guys, can you help me to test the fix before releasing a new version? Please try changing parse_conditions function to:

    private function parse_conditions( $conditions ) {
        $output = [];
        if ( ! empty( $conditions['visible'] ) ) {
            $output['visible'] = $this->parse_condition( $conditions['visible'] );
        }
        if ( ! empty( $conditions['hidden'] ) ) {
            $output['hidden'] = $this->parse_condition( $conditions['hidden'] );
        }
        return $output;
    }

    The previous code does JSON-encode all field settings, which contains something like field description and value, which might break the JSON. The new code only encodes the conditions, which eliminate this issue and might improve the performance as well.

    in reply to: TypeError: logics is undefined #19357
    Anh TranAnh Tran
    Keymaster

    Thanks a lot for your feedback! Looks like the json encode is the problem. I'll check and fix that.

    in reply to: TypeError: logics is undefined #19330
    Anh TranAnh Tran
    Keymaster

    Hi Brian, Aart and Austin,

    I've debugged with your code and still can't reproduce the error. Although I can add code as Austin suggested, but am not sure the root cause. I also tried Aart's code above, and Austin case with taxonomy and still see nothing.

    Can you guys provide me a full code that shows the error?

    in reply to: User Profile and display_name #19328
    Anh TranAnh Tran
    Keymaster

    I've added support for display_name and other user fields in version 1.7.0. Thanks @pza for your suggestion.

Viewing 15 posts - 181 through 195 (of 3,702 total)