Kiran

Forum Replies Created

Viewing 15 posts - 1,981 through 1,995 (of 6,022 total)
  • Author
    Posts

  • Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Place not display in GeoDirectory #493951

    Kiran
    Moderator
    Post count: 7069

    Hello rosarnach,

    It shows “Geocode was not successful for the following reason: REQUEST_DENIED” error because Google Map API is not setup correctly.

    It shows following error in browser console

    You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors

    Please configure API correctly at Google and let us know how it goes.

    Regards,
    Kiran

    in reply to: Soft Maximum for Categories per Company #493949

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I recommend you to split categories in different CPT.

    I have added following PHP snippet (Snippets > Increase GD Categories Limit) to increase categories limit.

    
    
    function gd_snippet_200619_db_cpt_default_columns( $columns, $cpt, $post_type ) {
    	$columns['post_category'] = "post_category text NULL DEFAULT NULL";
    
    	return $columns;
    }
    add_filter( 'geodir_db_cpt_default_columns', 'gd_snippet_200619_db_cpt_default_columns', 10, 3 );

    Let us know.

    Kiran

    in reply to: Hide Packages #493932

    Kiran
    Moderator
    Post count: 7069

    Hi marktowers,

    when it comes to editing/renewing does the user still use the generic add-listing page?

    Yes, it uses add listing page for edit/renew/upgrade listing process.

    To replicate this on V2 I would have to create another free package and have both downgrade to each other. Bit of a cumbersome workaround – is there any way to add the current package to the downgrade options?

    Here are few things that you may do.
    1) You can choose “CPT > Settings > Packages > Packages > Downgrade to > Expire” and set “Settings > Pricing > Expired Listing Status > Published”. Doing this listing will remain assigned same package and status published.
    2) Create another free package with same options and set it to downgrade.

    Kiran

    in reply to: Sidebar Map won't work when set to sticky #493830

    Kiran
    Moderator
    Post count: 7069

    Hi Ronny,

    We have already fixed this issue.

    Please apply this patch https://github.com/AyeCode/geodirectory/commit/5521130b99aa277fd18e12f7e0ad08372afd5a90

    OR
    Provide new FTP credentials because FTP account does not have access to public_html(WordPress root) folder, it shows empty directory. Please provide access to WordPress root directory to the FTP account.

    Kiran

    in reply to: GeoDirectory V2.0 – Custom Post Type #493817

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Settings for widget type "GD > Listings" #493811

    Kiran
    Moderator
    Post count: 7069

    Hi Andreas,

    The things you asking to achieve only possible by making core changes or via using hooks.

    Apart from core changes you can achieve by using hooks mentioned in your post #492878

    Regards,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hello Terry,

    This has been implemented and it will be in next update of Advance Search plugin.
    We have added option to skip posts/categories from search suggestions.

    Kiran

    in reply to: Archive Page #493769

    Kiran
    Moderator
    Post count: 7069

    Hi Neil,

    Sorry this was already fixed.

    I have applied patch on your site.

    Please check and let us know.

    Regards,
    Kiran

    in reply to: ACF options not working #493760

    Kiran
    Moderator
    Post count: 7069

    Hi Aleks,

    I have added following snippet to fix conflixt between GeoDirectory and ACF.

    
    
    /**
     * Fix: GeoDirectory & ACF conflict
     */
    function gd_snippet_190619_posts_where( $where, $wp_query ) {
    	global $wpdb;
    
    	if ( ! empty( $wp_query ) && geodir_is_geodir_page() ) {
    		if ( $field_key = $wp_query->get( 'acf_field_key' ) ) {
    			$where .= $wpdb->prepare(" AND {$wpdb->posts}.post_name = %s", $field_key );
    	    }
    
    	    if ( $field_name = $wp_query->get( 'acf_field_name' ) ) {
    			$where .= $wpdb->prepare(" AND {$wpdb->posts}.post_excerpt = %s", $field_name );
    	    }
    
    		if ( $group_key = $wp_query->get( 'acf_group_key' ) ) {
    			$where .= $wpdb->prepare(" AND {$wpdb->posts}.post_name = %s", $group_key );
    	    }
    	}
    
    	return $where;
    }
    
    function gd_snippet_190619_pre_get_posts( $wp_query ) {
    	if ( ! empty( $wp_query ) ) {
    		add_filter( 'posts_where', 'gd_snippet_190619_posts_where', 11, 2 );
    	}
    }
    add_action( 'pre_get_posts', 'gd_snippet_190619_pre_get_posts', 11, 1 );

    Please check and let us know.

    Kiran

    in reply to: GD > Listings links not working #493610

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Geocoding, Importing and Google Maps API Restrictions #493607

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: I can not translate Near: My location #493605

    Kiran
    Moderator
    Post count: 7069

    Make sure .po/.mo files are up to date under languages directory.

    Provide FTP credentials to check more.

    Kiran


    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

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