Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,566 through 2,580 (of 3,958 total)
  • Author
    Posts
  • in reply to: Help with front-end editing #7753
    Anh TranAnh Tran
    Keymaster

    Hi,

    I think hooking to wp_insert_post_data is too generic as it fires every time a post is added/updated.

    The extension already have 2 filters that you can use to change the post data when saving: rwmb_frontend_update_post_data for updating posts and rwmb_frontend_insert_post_data for creating new posts. Previously it has only 1 params: the submitted post data. But I've just updated the extension, adding 2nd parameter: the shortcode params, so you can use to check whether you are on the right meta box.

    This is sample code:

    add_filter( 'rwmb_frontend_insert_post_data', 'your_function', 10, 2 );
    add_filter( 'rwmb_frontend_update_post_data', 'your_function', 10, 2 );
    function your_function( $data, $config ) {
        if ( $config['id'] !== 'your_meta_box_id' ) {
            return $data;
        }
        // Your code to get post_title
        $data['post_title'] = ...;
        return $data;
    }

    Please try it and let me know if you need anything. I can update the extension to make it works for you.

    in reply to: Issue with complex form and columns #7739
    Anh TranAnh Tran
    Keymaster

    Hi, I see the bug. I'm debugging it and will fix it as soon as I can.

    in reply to: โœ…Problem with default value of field types #7726
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi,

    Regarding the 1st problem, can you please describe steps to replicate it? I couldn't replicate on my side. But my guess is the saved value in the DB. If you already saved values of your fields into an option, then when you add a new field which has name already registered before, then the value might be taken from the previous one. Not sure if that's the case, but you can try remove the option in the DB and try again.

    Regarding the problem with QTag, do you have any wysiwyg field in your settings page? QTags is available only for the editor. With the code above, I can't see anything in the console:

    https://imgur.com/beao4Rb

    in reply to: Label overlapping radio when using validation #7725
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just fixed it on Github. The error message now will display below the inputs. Can you please try it?

    in reply to: Issue with complex form and columns #7724
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just tried your code and this is my screenshot:

    https://imgur.com/FXHFp4v

    Can you guys post the code that includes the heading field?

    in reply to: Problems with image type field #7723
    Anh TranAnh Tran
    Keymaster

    Hi, I've fixed this bug on Github. Can you please try it?

    PS: My previous reply was for the PHP warning that you posted. Sorry for misunderstanding.

    in reply to: Exiting Image field delete when update #7722
    Anh TranAnh Tran
    Keymaster

    Hi,

    I've just fixed this bug on Github. Can you guys please try it?

    in reply to: Exiting Image field delete when update #7671
    Anh TranAnh Tran
    Keymaster

    Hi, I'm still checking it. Please wait.

    in reply to: Sidebar Select #7666
    Anh TranAnh Tran
    Keymaster

    Hi,

    The field type "sidebar" has just been added. Demo here.

    in reply to: sort_clone is not working at some points #7620
    Anh TranAnh Tran
    Keymaster

    Thanks, I will check it now.

    in reply to: Exiting Image field delete when update #7619
    Anh TranAnh Tran
    Keymaster

    Can you please post the code of meta box so I can check?

    Thanks,
    Anh

    in reply to: Integration of the add-ons #7618
    Anh TranAnh Tran
    Keymaster

    Hi,

    You can bundle the extensions in a plugin. Just copy the extensions to plugin's folder, then include the main PHP file of each extension. For more info, please follow this docs.

    Regarding Composer, unfortunately we don't support extensions for now. They're hosted on private repos on Bitbucket.

    Thanks,
    Anh

    in reply to: โœ…WP All Import/Export Add-on #7585
    Anh TranAnh Tran
    Keymaster

    Oh, that's great. I will contact Joe now.

    Edit: Email is sent. Waiting for replies.

    in reply to: PHP Notice Displaying Alot #7584
    Anh TranAnh Tran
    Keymaster

    The error says that a meta box misses title parameter. Can you please check your code that create meta boxes, checking if any meta box doesn't have title parameter?

    in reply to: User registration #7583
    Anh TranAnh Tran
    Keymaster

    Hi David,

    This is not available for now. But that's a good idea. We'll think about how to implement that ๐Ÿ™‚

Viewing 15 posts - 2,566 through 2,580 (of 3,958 total)