Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Same issue here
    Exact same message!

    Connect to Mail Host
    Postie connection: sockets
    Postie protocol: imap-ssl
    Postie server: imap.gmail.com
    Postie port: 993
    Unable to connect. The server said: IMAP – Could not connect to IMAP server imap.gmail.com on port 993. Array
    (
    [0] => A0002 NO [AUTHENTICATIONFAILED] Invalid credentials (Failure)
    )`

    When I change to “curl” instead of sockets,
    I get
    curl:
    fetch_mail: Unable to write data to IMAP server imap.gmail.com on port 993

    Thanks

    Thread Starter albusaidys

    (@albusaidys)

    I’m on WP 4.9.7 and it works fine for me ??

    Thread Starter albusaidys

    (@albusaidys)

    OK!
    So I’ve tried everything suggested here. No luck!
    Then went to my google and deleted api projects and keys.
    I followed instructions from the link within plugin settings (https://wp-events-plugin.com/documentation/google-maps/api-key/) same as posted by calmin_nwl…
    I basically played dumb like I never used internet before and I followed step-by-step without trying to use shortcuts I know.
    Previously I created my own project name, this time I used the project name as shown in the instructions with exception of the slug name, google would not accept what was in the example (I guess many people tried using it), so I added 786 to the end of it.

    Result is still the same. No map displays.

    I really need help with this one!

    Thanks for all those who are trying to help

    Kind regards
    Samir

    Thread Starter albusaidys

    (@albusaidys)

    Thanks again!
    I was able to get the slider going!

    Thread Starter albusaidys

    (@albusaidys)

    Coding4thisKid!
    Thank you so much.
    I found where to edit and the slider is working fine now.
    And no, my slider is not duplicating any pictures
    it is currently under https://www.view360inside.com.
    But in the near future the home address will be
    https://www.360WebSmart.com, which already exists. But I am migrating accounts, so I pretty much re-created the website and I could not recall how I was able to get the slider to work the first time!
    Thank you again, I really appreciate your time.
    Kind regards
    Samir

    Thread Starter albusaidys

    (@albusaidys)

    Thank you so much!
    I will try this as soon as I get a chance today!
    Kind regards
    Samir

    Thread Starter albusaidys

    (@albusaidys)

    I have not tried to “unset” the specific domain in my Google API console, I’ll try this afternoon.
    Thanks

    Thread Starter albusaidys

    (@albusaidys)

    It seems like the problem is actually with google!
    I tried another plugin that also failed… however the plugin I tried also told me to check error message on Java console, I used google inspect via chrome and found out the error saying that the API key was not active. However when I went to google, everything seemed ok.

    Thread Starter albusaidys

    (@albusaidys)

    IT WORKED!
    Thank you so much.
    I will contact you soon about upgrading to premium version.
    I want people to be able to pay on line to reserve a time slot.
    I hope I won’t have to go through all this.
    Thank you so much Abhishek
    You’re the man!

    Thread Starter albusaidys

    (@albusaidys)

    Today I installed about 15 calendar plug-ins and un-installed them, because none of them came close to what your plug-in could do for me.
    I was able to schedule, with other plug-ins, it even said that my time zone was set to GMT-6 etc. So I think as far as setting the time, that part is fixed, we don’t have to worry. Now I am just waiting for your results. I would not mind paying for the paid one… however I’m afraid, if this one does not work, will the paid one work?

    Thanks
    Samir

    Thread Starter albusaidys

    (@albusaidys)

    Tried it, it still did not work
    Here is my index.php NOW

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    <?php
    /**1
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    date_default_timezone_set('America/Chicago');
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );
    Thread Starter albusaidys

    (@albusaidys)

    Thank you for your timely response.
    I tried following the link you gave, but most stuff was not applicable.

    I tried inserting code in functions.php, but did not get response… I’m pasting first few portions of the functions.php, where do you think I should put my time code?

    —————-pasted content———–

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    <?php
    /**
     * Main WordPress API
     *
     * @package WordPress
     */
    
    require( ABSPATH . WPINC . '/option.php' );
    
    /**
     * Convert given date string into a different format.
     *
     * $format should be either a PHP date format string, e.g. 'U' for a Unix
     * timestamp, or 'G' for a Unix timestamp assuming that $date is GMT.
     *
     * If $translate is true then the given date and format string will
     * be passed to date_i18n() for translation.
     *
     * @since 0.71
     *
     * @param string $format    Format of the date to return.
     * @param string $date      Date string to convert.
     * @param bool   $translate Whether the return date should be translated. Default true.
     * @return string|int|bool Formatted date string or Unix timestamp. False if $date is empty.
     */
    function mysql2date( $format, $date, $translate = true ) {
    	if ( empty( $date ) )
    		return false;
    
    	if ( 'G' == $format )
    		return strtotime( $date . ' +0000' );
    
    	$i = strtotime( $date );
    
    	if ( 'U' == $format )
    		return $i;
    
    	if ( $translate )
    		return date_i18n( $format, $i );
    	else
    		return date( $format, $i );
    }
    
    /**
     * Retrieve the current time based on specified type.
     *
     * The 'mysql' type will return the time in the format for MySQL DATETIME field.
     * The 'timestamp' type will return the current timestamp.
     * Other strings will be interpreted as PHP date formats (e.g. 'Y-m-d').
     *
     * If $gmt is set to either '1' or 'true', then both types will use GMT time.
     * if $gmt is false, the output is adjusted with the GMT offset in the WordPress option.
     *
     * @since 1.0.0
     *
     * @param string   $type Type of time to retrieve. Accepts 'mysql', 'timestamp', or PHP date
     *                       format string (e.g. 'Y-m-d').
     * @param int|bool $gmt  Optional. Whether to use GMT timezone. Default false.
     * @return int|string Integer if $type is 'timestamp', string otherwise.
     */
    function current_time( $type, $gmt = 0 ) {
    	switch ( $type ) {
    		case 'mysql':
    			return ( $gmt ) ? gmdate( 'Y-m-d H:i:s' ) : gmdate( 'Y-m-d H:i:s', ( time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ) );
    		case 'timestamp':
    			return ( $gmt ) ? time() : time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS );
    		default:
    			return ( $gmt ) ? date( $type ) : date( $type, time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) );
    	}
    }
    
    /**
     * Retrieve the date in localized format, based on timestamp.
     *
     * If the locale specifies the locale month and weekday, then the locale will
     * take over the format for the date. If it isn't, then the date format string
     * will be used instead.
     *
     * @since 0.71
     *
     * @global WP_Locale $wp_locale
     *
     * @param string   $dateformatstring Format to display the date.
     * @param bool|int $unixtimestamp    Optional. Unix timestamp. Default false.
     * @param bool     $gmt              Optional. Whether to use GMT timezone. Default false.
     *
     * @return string The date, translated if locale specifies it.
     */
    function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) {
    	global $wp_locale;
    	$i = $unixtimestamp;
    
    	if ( false === $i ) {
    		if ( ! $gmt )
    			$i = current_time( 'timestamp' );
    		else
    			$i = time();
    		// we should not let date() interfere with our
    		// specially computed timestamp
    		$gmt = true;
    	}
    
    	/*
    	 * Store original value for language with untypical grammars.
    	 * See https://core.trac.www.ads-software.com/ticket/9396
    	 */
    	$req_format = $dateformatstring;
    
    	$datefunc = $gmt? 'gmdate' : 'date';
    
    	if ( ( !empty( $wp_locale->month ) ) && ( !empty( $wp_locale->weekday ) ) ) {
    		$datemonth = $wp_locale->get_month( $datefunc( 'm', $i ) );
    		$datemonth_abbrev = $wp_locale->get_month_abbrev( $datemonth );
    		$dateweekday = $wp_locale->get_weekday( $datefunc( 'w', $i ) );
    		$dateweekday_abbrev = $wp_locale->get_weekday_abbrev( $dateweekday );
    		$datemeridiem = $wp_locale->get_meridiem( $datefunc( 'a', $i ) );
    		$datemeridiem_capital = $wp_locale->get_meridiem( $datefunc( 'A', $i ) );
    		$dateformatstring = ' '.$dateformatstring;
    		$dateformatstring = preg_replace( "/([^\\\])D/", "\\1" . backslashit( $dateweekday_abbrev ), $dateformatstring );
    		$dateformatstring = preg_replace( "/([^\\\])F/", "\\1" . backslashit( $datemonth ), $dateformatstring );
    		$dateformatstring = preg_replace( "/([^\\\])l/", "\\1" . backslashit( $dateweekday ), $dateformatstring );
    		$dateformatstring = preg_replace( "/([^\\\])M/", "\\1" . backslashit( $datemonth_abbrev ), $dateformatstring );
    		$dateformatstring = preg_replace( "/([^\\\])a/", "\\1" . backslashit( $datemeridiem ), $dateformatstring );
    		$dateformatstring = preg_replace( "/([^\\\])A/", "\\1" . backslashit( $datemeridiem_capital ), $dateformatstring );
    
    		$dateformatstring = substr( $dateformatstring, 1, strlen( $dateformatstring ) -1 );
    	}
    	$timezone_formats = array( 'P', 'I', 'O', 'T', 'Z', 'e' );
    	$timezone_formats_re = implode( '|', $timezone_formats );
    	if ( preg_match( "/$timezone_formats_re/", $dateformatstring ) ) {
    		$timezone_string = get_option( 'timezone_string' );
    		if ( $timezone_string ) {
    			$timezone_object = timezone_open( $timezone_string );
    			$date_object = date_create( null, $timezone_object );
    			foreach( $timezone_formats as $timezone_format ) {
    				if ( false !== strpos( $dateformatstring, $timezone_format ) ) {
    					$formatted = date_format( $date_object, $timezone_format );
    					$dateformatstring = ' '.$dateformatstring;
    					$dateformatstring = preg_replace( "/([^\\\])$timezone_format/", "\\1" . backslashit( $formatted ), $dateformatstring );
    					$dateformatstring = substr( $dateformatstring, 1, strlen( $dateformatstring ) -1 );
    				}
    			}
    		}
    	}
    	$j = @$datefunc( $dateformatstring, $i );
    
    	/**
    	 * Filter the date formatted based on the locale.
    	 *
    	 * @since 2.8.0
    	 *
    	 * @param string $j          Formatted date string.
    	 * @param string $req_format Format to display the date.
    	 * @param int    $i          Unix timestamp.
    	 * @param bool   $gmt        Whether to convert to GMT for time. Default false.
    	 */
    	$j = apply_filters( 'date_i18n', $j, $req_format, $i, $gmt );
    	return $j;
    }
    Thread Starter albusaidys

    (@albusaidys)

    My customer ultimately did not want to pay for anything! So I de-activated the plug. But I have another customer, now the issue is I get error about time zone. I will post that in relevant side.
    Thanks

    Thread Starter albusaidys

    (@albusaidys)

    Actually I already have that on my website. It’s on the right side. But I cannot click to choose date.

    Here is link: https://penguinnails.com/nail-salon/

    Anything other than home page shows the link

    albusaidys

    (@albusaidys)

    OK I solved part of the problem. The calendar was disappearing after selecting date. I also had a widget on the side that had mobile calendar. So the two were interfering.
    Once I made the calendar/appointments page full width, I was able to select future dates and it works fine.
    However on the side bar, where I have widget with mobile short code, I cannot select future date.
    Is there a fix for this?
    Thank you again Abhishek

    Kind regards
    Samir

Viewing 15 replies - 1 through 15 (of 17 total)