Support Forum ยป User Profile

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: AIO plugin error on activation #7548
    mendiomendio
    Participant

    Now it's working perfectly

    Thanks

    in reply to: Error messages on admin after upgrade to 4.7 #1783
    mendiomendio
    Participant

    All problems solved with the last update. thanks!

    in reply to: Error messages on admin after upgrade to 4.7 #1779
    mendiomendio
    Participant

    Don't know if this is also related to the update (4.7.1 right now), but I just realised that I cannot insert images in post if MetaBox plugin is active! WP open the selection panel and nothing is show. Add images to post work as intended if I deactivate the plugin.
    Please help

    in reply to: Date field visualisation problem #1445
    mendiomendio
    Participant

    Great! Thanks for the support

    in reply to: Date field visualisation problem #1442
    mendiomendio
    Participant

    Thank you Anh Tran, it's worked like a charm.
    I didn't know about those filters

    I only change your code just to avoid problems with dates when there is no date value (always return 1970-01-01)

    add_filter( 'rwmb_My_date_value', function( $value )
    {
        if ($value != '') {
    		return date( 'Y-m-d', strtotime( $value ) );
    	};
    } );
    
    add_filter( 'rwmb_My_date_meta', function( $value )
    {
    	if ($value != '') {
    		return date( 'd-m-Y', strtotime( $value ) );	
    	};
        
    } );

    Let me know if this new code is ok or there is a better way to deal with.
    Thanks again!

    in reply to: Date field visualisation problem #1418
    mendiomendio
    Participant

    Just to clarify, In other words: Is it possible to show on WP admin date field a different date format (e.g. dd-mm-yyyy) than the one saved on the database (e.g. yyyy-mm-dd) ?

Viewing 6 posts - 1 through 6 (of 6 total)