Up to 50 percent off

Forum Replies Created

Viewing 4 Topics - 1 through 4 (of 4 total)
Author Posts
July 18, 2013 at 8:48 am in reply to: Need help with wp_postmeta fields! 6102
hmmcreative hmmcreative

Wonderful solution, works perfectly. Thank you! Is there any way with this ait-directory integration to enable auto-population of the user’s address on the google map with geolocation on the front end posting? In other words, instead of the user filling in the post address can the map detect their location and fill in the address and/or GPS for them?

April 8, 2013 at 8:03 pm in reply to: Date Picker Not Working 1942
hmmcreative hmmcreative

I’ve been doing some research and looking into your code. I solved the first problem I have where the milestones change upon saving to the previous date. This also occurred when saving tasks. I found that your function cpm_date2mysql was where the date is converted to a timestamp and saved in the database for both the milestones and tasks. I changed the following $gmt value from o to 1 and it now writes the correct date upon saving both milestones and tasks.

File is functions.php line 97:

function cpm_date2mysql( $date, $gmt = 1 ) {
$time = strtotime( $date );
return ( $gmt ) ? date( ‘Y-m-d H:i:s’, $time ) : date( ‘Y-m-d H:i:s’, ( $time + ( get_option( ‘gmt_offset’ ) * 3600 ) ) );
}

March 31, 2013 at 6:13 pm in reply to: Project activity local time stamp 1689
hmmcreative hmmcreative

Thank you, sorry to be off topic. I will start a new thread as there are more issues with the dates that I’m having.

March 31, 2013 at 4:22 am in reply to: Project activity local time stamp 1660
hmmcreative hmmcreative

Will this work for the milestone dates as well? I have a milestone that I’m making for April 4 to show that a meeting will take place that day, so I select the 4th on the calendar date for the milestone. Upon saving, the date changes to April 3rd which gets very confusing.

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