Kiran
Forum Replies Created
-
AuthorPosts
-
June 20, 2019 at 8:30 am in reply to: Address and coordinates not being saved after data imported #493956This reply has been marked as private.
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-errorsPlease configure API correctly at Google and let us know how it goes.
Regards,
KiranHello,
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
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
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
This reply has been marked as private.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,
KiranJune 19, 2019 at 12:46 pm in reply to: Hide categories from the search text field but still show listings #493806Hello 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
Hi Neil,
Sorry this was already fixed.
I have applied patch on your site.
Please check and let us know.
Regards,
KiranHi 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
This reply has been marked as private.This reply has been marked as private.Make sure .po/.mo files are up to date under languages directory.
Provide FTP credentials to check more.
Kiran
June 18, 2019 at 11:01 am in reply to: Listings Not Saving and Custom Fields Not Displaying Information #493585This reply has been marked as private.June 18, 2019 at 10:57 am in reply to: Google Maps on the site displays the message “for development purpose only” #493584This reply has been marked as private. -
AuthorPosts