Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 3,702 total)
  • Author
    Posts
  • in reply to: List of post to edit in frontend #13928
    Anh TranAnh Tran
    Keymaster

    Hi, I think creating 2 pages (one for create, one for edit) is better. Mixing them together might create some confusion. Is there any problem with that setup?

    Anh TranAnh Tran
    Keymaster

    Hi Adam,

    Are you using MB Builder to create fields? Do you want to store custom fields value in post meta (the normal WordPress way) or in a custom table? I'm quite confused since your first post is about custom table, but the 2nd one is not.

    Anyway, can you post some screenshots so I can see what happened?

    in reply to: Not showing meta data in rest response #13926
    Anh TranAnh Tran
    Keymaster

    Hi Milen,

    First, you don't need the WP Rest API plugin anymore. The Rest API was merged into WordPress core, so you can just use REST API directly.

    Second, I see you're using WP_Query to get posts, which is not the way REST API works. Please follow the documentation on using it.

    in reply to: I want a refund #13924
    Anh TranAnh Tran
    Keymaster

    No problem. I've just issued the refund and you'll receive it shortly.

    If there's a chance when you might need Meta Box again, you're very welcomed here.

    in reply to: change positions labels #13909
    Anh TranAnh Tran
    Keymaster

    Hi, probably because your theme has some CSS that overwrites the above CSS. Please try to inspect the elements and see if there's any rule. The idea here is just setting the label and input 100% width.

    in reply to: Edit email using frontend user profile form #13908
    Anh TranAnh Tran
    Keymaster

    Hi Ryan,

    The std only works if no data has been saved. You can try it with a new user. For existing users or the users that you have edited once, there's some data saved in the user meta and the plugins avoid to use std attribute.

    Anh TranAnh Tran
    Keymaster

    Hi Adam,

    The MB Custom Table hasn't supported for custom content yet. It has to attach to a custom post type (or term/user) at the moment. In short, it helps you move all custom fields to custom tables. But not post type's fields such as title, content, date, etc. These info needs to be saved in posts table as well.

    in reply to: I want a refund #13900
    Anh TranAnh Tran
    Keymaster

    Hi,

    It's sad to see Meta Box is not a good choice for you. I'm happy to send you a refund. However, would you mind sharing what you expected from the plugins? Maybe I can help clarifying something.

    in reply to: Metabox in Buddypress #13890
    Anh TranAnh Tran
    Keymaster

    Hi Sergio, it's not supported yet at the moment. We had a request for that, but the demand seems pretty low. So it's not a priority and hasn't been implemented yet.

    in reply to: Bug: MB Admin Columns alters custom queries #13881
    Anh TranAnh Tran
    Keymaster

    Hi vubai, thanks a lot for your feedback and the fix. I'll add that to the plugin and release a new version.

    Update: Version 1.4.1 has been released with the fix!

    in reply to: I cannot get custom fields to display, thanks #13880
    Anh TranAnh Tran
    Keymaster

    Hi Sean, I've just re-tested and don't see that problem. Is that the same code as above?

    in reply to: Date format between custom field and database field #13879
    Anh TranAnh Tran
    Keymaster

    According to MySQL docs:

    The TIMESTAMP syntax produces a DATETIME value in MySQL because DATETIME has a range that more closely corresponds to the standard SQL TIMESTAMP type, which has a year range from 0001 to 9999.

    That means TIMESTAMP has the exact format as DATETIME, which is Y-m-d H:i:s. It's not the same as the Unix timestamp as we use in PHP.

    And saving date with format Y-m-d still makes it sortable. So, it's okay to set the column type to DATETIME and set the save_format as Y-m-d.

    in reply to: New columns not being added to already existing tables #13868
    Anh TranAnh Tran
    Keymaster

    Hi, you need to call MB_Custom_Table_API::create on init hook or some hook. Do not call this only once when activate a plugin or a theme. The plugin auto detects the new table structure and upgrade it.

    in reply to: Dropdown disable option #13867
    Anh TranAnh Tran
    Keymaster

    Hi,

    I think you need to use select2 API. Your code seems to work only for normal select.

    in reply to: Date format between custom field and database field #13866
    Anh TranAnh Tran
    Keymaster

    Hi Sergio,

    This is a great question! While saving the date with varchar is not a problem, I think saving in date format of MySQL might be a better idea. However, as you see, MySQL forces data saved in the DB in its format, not what you enter. So, I think there are 2 solutions for this:

    1. Just use varchar, so you save what you enter
    2. Use the save_format attribute for the field, set it to the format of MySQL and you're free to go. It tells Meta Box to store value in one format and display in another format.
Viewing 15 posts - 1,261 through 1,275 (of 3,702 total)