Kiran
Forum Replies Created
-
AuthorPosts
-
Hello,
In file gd_GTG_beer_wine_spirit.csv some values for post_type column are empty.
I tried to upload gd_GTG_beer_wine_spirit.csv in my local site and it finished import without any problem.
I enabled debugging and tried to upload gd_GTG_beer_wine_spirit.csv but as error_log file is placed outside of public_html directory so can’t check debug log.
There will be errors in error.log file about listing import. Check from your side or allow access to server root directory.Thanks,
KiranHello,
There is a Google Map conflict and i have fixed it by adding PHP snippet under Snippets > Fix Google Map Conflict.
Please check and let us know.
Thanks,
KiranI have added script under GeoDirectory > Design > Scripts > Custom style css code and now it looks fine.
Please check and let us know.
Kiran
July 2, 2018 at 1:33 pm in reply to: Unable to make changes to records (places), even as admin #436929Hello,
This is PHP snippet and it should be used in child theme functions.php file or via any third party PHP snippet plugin.
See for more details om how to use snippet. https://wpgeodirectory.com/docs/useful-plugins/#snippetsLet us know.
Kiran
July 2, 2018 at 1:07 pm in reply to: Unable to make changes to records (places), even as admin #436922Hello Jason,
Please add following code snippet to fix Google Map conflicts. Add this snippet via child theme functions.php or via any snippet plugin.
function _gd_custom_enfold_fix_google_map_conflict() { if ( wp_script_is( 'avia-google-maps-api', 'enqueued' ) && wp_script_is( 'google-maps-api', 'enqueued' ) ) { wp_dequeue_script( 'avia-google-maps-api' ); } } add_action( 'admin_enqueue_scripts', '_gd_custom_enfold_fix_google_map_conflict', 600 );Let us know if you have any query.
Thanks,
KiranThis reply has been marked as private.Hello,
1. The GD Franchise tool is good but I would like to improve it. Rather than have the user select items to lock. Is it possible, when the user goes into “Franchise mode”, to just automatically lock a given set of fields: address, email, phone, website?
No it is not possible to add franchise without adding main listing with locked or unlocked fields. Owners of the main listing are allowed to add franchises to their main listings. Therefore only owner of the main listing is allowed to decide which fields to locked and which not. Every user wants own fields to be locked for their main listings, that’s why we can’t make lock fields by default for all users.
2. Im a fan of “duplicate post” plugins. Is it possible to have a function like that when it comes to listings? In the My Account area, where you have the listings, there are buttons for edit, delete and I would love it if you could clone or duplicate.
Currently we are working GeoDirectory v2 and making more simple and user friendly. We take your suggestion and will implement it in future major release Franchise Manager v2 if there is an easy way of integration.
Thanks,
KiranHello,
You can disable comments for specific users by using hooks.
You can use hook “comments_open” to disable comments for owner. You have to write logic so it only executed on detail page & for owners only.
See https://developer.wordpress.org/reference/hooks/comments_open/Kiran
July 2, 2018 at 10:07 am in reply to: After updating geodirectory the dimensions are not the same #436906This reply has been marked as private.July 2, 2018 at 9:39 am in reply to: Unable to make changes to records (places), even as admin #436901This reply has been marked as private.Hi Dale,
Please provide us FTP credentials, so we can check/apply patch on your site.
Thanks,
KiranHello Alex,
On client side, you can use to filter comment author name/link on review. https://developer.wordpress.org/reference/hooks/get_comment_author_link/
On server side you can blank user details only via database.
Kiran
This reply has been marked as private.Hi Ricardo,
I have looked into your backend settings and there was incorrect format in latitude values stored for locations and for places, there are some extra “,17 added to latitudes (see attachment in next reply).
I have fixed this for all places and locations and now map is working fine.
Please check and let us know.
Thanks,
KiranHi Oliver,
Listings capability rules are extended to standard “post”, so you can apply same rule with the listings.
You can use following snippet to show/hide tab in detail page.
function _gd_custom_detail_tab_hide_field( $display, $field ) { global $post; if ( ! empty( $post ) && ( geodir_is_page( 'detail' ) || geodir_is_page( 'preview' ) ) ) { // do stuff here } return $display; } add_filter( 'geodir_detail_page_tab_is_display', '_gd_custom_detail_tab_hide_field', 100, 2 );Write your code logic at “//do your stuff” to match your requirements.
Thanks,
Kiran -
AuthorPosts