Forum Replies Created

Viewing 7 Topics - 1 through 7 (of 7 total)
Author Posts
November 11, 2014 at 9:04 pm in reply to: Date Picker 30228
robbie59 robbie59

Thanks,

I did your suggestion and the format printed as 11/20/14.

I need it so save to the database in unix format. i.e.: Something like this: 1416531600

November 11, 2014 at 1:30 pm in reply to: Date Picker 30187
robbie59 robbie59

Are you talking about the hook? I never got that to work..

November 11, 2014 at 1:28 pm in reply to: Date Picker 30185
robbie59 robbie59

Thanks, but that did not work.

When I use the date field,with meta value as “start_date” I get this: 2014/11/25 00:00:00

I need the date to converted to unix date.
Something like this: 1416531600

I need this to work really bad

November 11, 2014 at 1:03 pm in reply to: Date Picker 30182
robbie59 robbie59

How can I use this action hook, function…..?

// CREATE UNIX TIME STAMP FROM DATE PICKER
function custom_unixtimesamp ( $post_id ) {
if ( get_post_type( $post_id ) == ‘events’ ) {
$startdate = get_post_meta($post_id, ‘startdate’, true);

if($startdate) {
$dateparts = explode(‘/’, $startdate);
$newdate1 = strtotime(date(‘d.m.Y H:i:s’, strtotime($dateparts[1].’/’.$dateparts[0].’/’.$dateparts[2])));
update_post_meta($post_id, ‘unixstartdate’, $newdate1 );
}
}
}
add_action( ‘save_post’, ‘custom_unixtimesamp’, 100, 2);

October 31, 2013 at 3:39 am in reply to: Image Upload with IE 9625
robbie59 robbie59

Is their anyway to get the progress bar working in Explorer using flash or html4?

October 30, 2013 at 10:08 am in reply to: Uploading Not Working in IE 9602
robbie59 robbie59

Id like to hear if anyone has had any luck with Internet Explorer? Is this fix working flawlessly?

October 16, 2013 at 10:25 am in reply to: Uploaded images not linked to post 9050
robbie59 robbie59

Is there a default to automatically attach the images to the newly created post within the native media? By using the image upload form field? Not the featured image.

Viewing 7 Topics - 1 through 7 (of 7 total)