Kiran

Forum Replies Created

Viewing 15 posts - 316 through 330 (of 6,022 total)
  • Author
    Posts
  • in reply to: Setting downgrade pack #534014

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Google Analytics without Click #533973

    Kiran
    Moderator
    Post count: 7069

    Hi Bernward,

    Try following PHP snippet to show Google Analytics without click.

    
    
    function gd_snippet_show_google_analytics() {
    ?>
    <script type="text/javascript">
    jQuery(function($) {
    	if ($('.gdga-show-analytics').length) {
    		$('.gdga-show-analytics').trigger('click');
    	}
    });
    </script>
    <?php
    }
    add_action( 'wp_footer', 'gd_snippet_show_google_analytics', 99 );

    Kiran

    in reply to: Unknown address error when importing csv. file #533967

    Kiran
    Moderator
    Post count: 7069

    Hi Patrick,

    Please check now after clearing your browser cache.

    Sorry for the inconvenience.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hello Derek,

    Site is not reachable for me. Can you take a look?

    Provide us FTP credentials, because sometimes editing files with File Manager breaks the site due to some background functions.

    Thanks,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hello wci,

    There is a compatibility issue WPML with GDv1 and it can’t be fixed without core changes.

    To fix this compatibility issue with GDv1 try following steps:

    1) Open file \wp-content\plugins\wpml-translation-management\classes\post-edit-screen\class-wpml-tm-post-edit-tm-editor-select.php in editor
    2) Find following line in file

    ( WP_Post $post )

    There will be 3 search found with this line.
    3) Replace those with following line

    ( $post )

    Replace for all 3 instances.
    4) Save

    To edit GD listings in backend do not use WPML editor.

    Let us know.

    Thanks,
    Kiran

    in reply to: Image / package display conflict #533950

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Image / package display conflict #533949

    Kiran
    Moderator
    Post count: 7069

    Hello Mitch,

    I done some more testing and found that even after images/log cleared from database it shows images at front end. This happens because of Kinsta object cache. It does not clears Kinsta Cache on downgrade listing.

    I have added following snippet under Snippets to clear cache on expire/downgrade.

    
    
    /**
     * Clear Kinsta Cache after expire/downgrade listings.
     */
    function gd_snippet_post_clear_kinsta_cache() {
    	global $KinstaCache, $geodir_post_downgraded, $geodir_post_expired;
    
    	//geodir_error_log( $geodir_post_downgraded, 'geodir_post_downgraded' );
    	//geodir_error_log( $geodir_post_expired, 'geodir_post_expired' );
    
    	if ( empty( $geodir_post_downgraded ) && empty( $geodir_post_expired ) ) {
    		return;
    	}
    
    	if ( ! empty( $KinstaCache ) && is_object( $KinstaCache ) ) {
    		if ( ! empty( $KinstaCache->kinsta_cache_purge ) && is_callable( array( $KinstaCache->kinsta_cache_purge, 'purge_complete_caches' ) ) ) {
    			$KinstaCache->kinsta_cache_purge->purge_complete_caches();
    			geodir_error_log( 'geodir_pricing_after_expire_check => Kinsta Cache Cleared' );
    		}
    	}
    }
    add_action( 'geodir_pricing_after_expire_check', 'gd_snippet_post_clear_kinsta_cache', 999 );

    Let us know.

    Thanks,
    Kiran

    in reply to: Delete All Listings #533926

    Kiran
    Moderator
    Post count: 7069

    Hi Carole,

    Please check and let us know.

    Kiran

    in reply to: Setting downgrade pack #533766

    Kiran
    Moderator
    Post count: 7069

    i just need to make expiry date blank?

    To set unlimited set it to blank.

    What is the effect of blank in Import- does it mean delete contents, or does it mean leave unchanged?

    Import blank value will save blank value for that field.

    Kiran

    in reply to: Submission Form Maxing out CPU #533752

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that site speed improved.

    For PHP notices it depends on usage of the variables that not found. Sometimes undefined PHP notices may show unexpected results. You can contact the plugin author about this errors.

    Kiran

    in reply to: Getting irregular results from my search #533733

    Kiran
    Moderator
    Post count: 7069

    Can I use GeoDirectory Custom Post Types?

    You can separate listings within custom post type.

    Example:
    gd_event custom post type for Events
    gd_sport custom post type for Sports

    Kiran

    in reply to: Setting downgrade pack #533731

    Kiran
    Moderator
    Post count: 7069

    Recurring packages must be managed with payment gateway because expiry for this listings handled with IPN notifications from gateway. If you make it free then listings will never expire as it will never receive any notification about cancel subscription or renew subscription or completion of subscription.

    Yes you can use import feature to set expire date for those listings. You can set expire date = never to set it unlimited or any future date so it will expire on when that date becomes past.

    Let us know.

    Kiran

    in reply to: Getting irregular results from my search #533730

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Tags list is not allowed in search bar, because keyword entered to filter results also matches in post tags field. Listings are also filtered by tag pages like /tags/xxx/.

    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi jotomas,

    Can you provide a url & a screenshot that shows that text?

    What is the correct string for “Activitats” in language:
    CA :
    SQ :
    EN :
    FR :
    ES :

    Kiran

    in reply to: Getting irregular results from my search #533723

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 15 posts - 316 through 330 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount