Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,441 through 1,455 (of 3,707 total)
  • Author
    Posts
  • in reply to: Change Destination Of Custom File Upload Field Type #13181
    Anh TranAnh Tran
    Keymaster

    I think it works. The upload_dir accepts a string, which is a full path to the upload folder. So you might set it to something like 'upload_dir' => your_function(), e.g., the result of the function.

    in reply to: WordPress Repository #13179
    Anh TranAnh Tran
    Keymaster

    I've just got an email from .org this morning. There's a security issue in the latest version which involves with upload file to custom folder. I'll fix it and restore the plugin soon.

    in reply to: Change Destination Of Custom File Upload Field Type #13171
    Anh TranAnh Tran
    Keymaster

    Hi David,

    There is a plugin that help you to do that.

    Or your can use a snippet.

    in reply to: Inconsistent values for Taxonomy Advanced field #13169
    Anh TranAnh Tran
    Keymaster

    Hi Juan,

    Sorry, I missed this issue. This problem is caused by empty values are saved. While empty values are valid and the string is still a valid CSV, it doesn't look good.

    I've just committed a fix on Github. Please download Meta Box from Github and try.

    in reply to: Problem with update / version 1.2.4 #13164
    Anh TranAnh Tran
    Keymaster

    I forgot to upload the new file to the server :(. My bad. It's all fixed now. Please try again.

    in reply to: Default Fields Suddenly Stopped Showing #13160
    Anh TranAnh Tran
    Keymaster

    Hi Jay,

    There's a bug in AIO. I'll update it tomorrow.

    in reply to: Group not working properly #13159
    Anh TranAnh Tran
    Keymaster

    Hi Dragan,

    I've just checked your code and the functionality works. However, the UI for collapsible group is bad and need to update. Here is my screenshot:

    https://screenshots.firefox.com/CXW5u58MDPx6uxLS/localhost

    I'll update the group to address this issue.

    Thanks for letting me know.

    Anh TranAnh Tran
    Keymaster

    Hi Dragan,

    Thanks a lot for your feedback and your suggested fix. I really appreciate that.

    The latest version of Tabs had some updates for User profile and Settings page. Perhaps that break the code for the Term page. I'll check that again with my team mate and update the plugin asap.

    Anh TranAnh Tran
    Keymaster

    Hi Dragan,

    Thanks a lot for your feedback. We'll check and fix this issue soon.

    in reply to: Change Destination Of Custom File Upload Field Type #13156
    Anh TranAnh Tran
    Keymaster

    Hi Lucjan,

    We've just finished the feature and the code is available on Github. Please download and try it.

    In a couple of days, I'll release a new version of Meta Box and write a tutorial about that.

    To upload to custom folder, please use file field and set a new attribute upload_dir to the path of the new folder, like this:

    array(
        'type' => 'file',
        'id' => 'f',
        'name' => 'File',
        'upload_dir' => '/path/to/your/folder/', // You can use ABSPATH . '/downloads/'
    )
    in reply to: Button's std isn't displaying #13155
    Anh TranAnh Tran
    Keymaster

    Hi Axel,

    I've just tried creating a Button with the Builder and set the Button text as follows:

    https://screenshots.firefox.com/MOAClmMZnWO3MiAf/localhost

    And here is how it looks when editing a post:

    https://screenshots.firefox.com/GtG8A0pa2aleAgR5/localhost

    Can you please try again?

    in reply to: Customizer Settings #13154
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    1) I started to do an extension for the Customizer 2 years ago. But the more developing, the more I realized that I had to rewrite the whole plugin to port it to JavaScript. So, I stopped. At the moment, the MB Settings Page only supports back end pages, not in the Customizer.

    2) To make it compatible with Customizer, you need to set 'option_name' => "theme_mods_$themeslug" in your settings page. Then the MB Settings Page will save data into theme mods, which are used by the Customizer.

    in reply to: Registration Form Not Showing Anything #13153
    Anh TranAnh Tran
    Keymaster

    Hi Clayton,

    It's a bug in the AIO package. I'll update it tomorrow. At the moment, please use the MB User Profile extension separately.

    in reply to: GeoSpatial queries #13134
    Anh TranAnh Tran
    Keymaster

    Hi David,

    No, the plugin use $wpdb directly to add/update the data. Please use this:

    global $wpdb;
    $data = [
        'ID'      => $post_id,
        'field_1' => 'value_1',
        'field_2' => 'value_2',
    ];
    $wpdb->insert( 'your_table', $data );
    in reply to: How to edit Email and Password #13133
    Anh TranAnh Tran
    Keymaster

    Hi Purdue, this is a bug in our AIO plugin. Are you using it?

    To fix this, please use the MB User Profile extension separately at the moment. We'll fix the AIO soon.

Viewing 15 posts - 1,441 through 1,455 (of 3,707 total)