Kiran
Forum Replies Created
-
AuthorPosts
-
Hi There,
We have fixed the date issue. Please check and let us know.
Thanks
Hi Lars,
Your site has included multiple Google Maps Api, one via GeoDirectory plugin and another included via Swift Framework. Including multiple Google Maps Api causes JS error “You have included the Google Maps API multiple times on this page. This may cause unexpected errors.”
You have inserted Google API key in GeoDirectory plugin settings but not inserted API key in Swift Framework under Admin -> Swift Framework – Google Maps Authentication -> API Key. So the map not loaded on page, after API key also inserted in Swift Framework – Google Maps Authentication -> API Key now maps working fine.
It is recommended that you use only one Google Maps JS Api loaded via GeoDirectory plugin. You can use code snippet ( https://gist.github.com/kprajapatii/dd617fc89f25d24227de73b6e072e6a9 ) to disable/dequeue other Google Maps JS Api that loaded via other plugins/theme.
Let us know.
Thanks,
KiranHi Jogge,
We have added map routing directions feature for Open Street Map on listing detail page.
Update will be reflected in next release GeoDirectory v1.6.6Let us know.
Thanks,
KiranHi There,
We have updated feature so now system will send only one email notification either “Claim Listing Requested” or “Claim Listing Verification Required” based on auto approve setting.
Update will be reflected in next release claim listing v1.2.8
Kiran
Hi Clinton,
You have added code in wrong file. The code should be added in theme “functions.php” not in “style.css”.
BTW i have moved code into “functions.php” file now listings shortcodes working fine.
Thanks
Hello,
You can translate strings without changing the language.
You can change the text Listings to My Listings via translation file of the buddypress integration add-on.
More info here
http://docs.wpgeodirectory.com/translate-core/
https://wpgeodirectory.com/docs/translating-addons/Once you that and save the translation file in the correct folder as explained in the above docs, update will no longer revert anything.
Let us know if this helped.
Thanks
Hey Clinton,
Currently there is not any parameter id ge_listings shortcode that used to retrieve logged user’s listings. but it you can achieve by using following code snippet.
1) Add shortcode “[gd_place_listings]” to page.
2) Add following code to your current theme functions.phpfunction gd_place_listings_custom($atts, $content = '') { $user_id = (int)get_current_user_id(); return do_shortcode( '[gd_listings post_author="' . $user_id . '" post_type="gd_place" add_location_filter="0" layout="3" post_number="9"]<p>Oops! No places found.</p>[/gd_listings]' ); } add_shortcode('gd_place_listings', 'gd_place_listings_custom');
Let us know.
Thanks,
KiranHello,
After exporting locations and you are able to see duplicate cities in csv file if any there.
If you want to update name or slug then just change name or slug and re-import that csv (Choose “Update item if item with location_id/city_slug already exists.” during re-import).Thanks
Hello,
Thanks for letting us know 🙂If city with slug “moya” already found in database and suppose you are going to add another city with name “Moya” and city_slug is column blank then it will use slug “moya-1”.
You can also add city_slug in csv column to separate to city slug.
Ex for cities:
1) Cabanes Castellón Spain
2) Cabanes Girona Spain
You can also add region suffix to slug, so for 1 & 2 you can add city_slug “cabanes-castellon” & “cabanes-girona” respectivelyThe updated code also will be included in the next version of Location Manager, so you don’t have to worry about loss of code during updating Location Manager plugin.
If you still want code changes then you can find it between line nos 6192 – 6222 with function geodir_location_city_slug() in file pluginsgeodir_location_managergeodir_location_functions.phpHope you are clear now with city_slug.
Thanks
Hi Jacobo,
I checked your attached csv and found that you have some duplicate location rows with same city + region + country name.
Ex:
41.74875 -4.301386 Moya Valladolid Spain
41.60952 -4.796458 Moya Valladolid SpainSo when saving the duplicate locations it looping with creating slug and stuck the import process. I have updated code to fix this looping.
Please re-import locations and let us know.
Thanks,
KiranHi Ido,
The CPanel & FTP credentials you posted are not working for us.
Your site getting 404 error on all pages even after disabling all GD plugins. So we are sure that problem not due to GD plugins.
I seen database errors of “Illegal mix of collations” when debug the database queries using plugin Query Monitor. So you should contact WPML support team to resolve problem.FYI: please see this https://wpml.org/forums/topic/database-error-illegal-mix-of-collations/ same problem reported by one user.
Let us know.
Thanks,
KiranHey D.D,
You can use per_page parameter to retrieve maximum number of listings per each page. Ex: YOUR-SITE-URL/wp-json/geodir/v1/places/?per_page=20
The value for per_page parameter must be between 1 to 100 and default is 10. Please see https://github.com/WP-API/WP-API/blob/develop/lib/endpoints/class-wp-rest-controller.php#L255
All parameters are found at YOUR-SITE-URL/wp-json/geodir/v1/ under “routes” -> “/geodir/v1/places” -> “endpoints” -> “args”
FYI: Maximum 100 listings are good enough otherwise it may happen server timeout issue for large number listings.
Let us know.
Thanks
Hi Qixuan,
We have already fixed this problem and it will be reflected in next version of GeoDirectory Rest API. Till next release you can download development version and overwrite files, if you don’t want to wait till next release.
You can download development version from here https://github.com/kprajapatii/geodir_apiLet us know.
Thanks
Hi Matt,
For 3)
On listings pages the layout is changeable from “View: ” dropdown list. But on your site the javascript function(that changes layout of listings list on change of view) doesn’t executed. Because of the extra div element added out side of “View: ” dropdown list via theme customization, the “View:” option also not working on listing pages.I have added one peace of code to work “View:” for your theme. The code is added in functions.php of child theme.
Please check and let us know.
Hi Diane,
We investigated on site and found the plugin “BadgeOS Community Add-On” causing problem.
To fix “BadgeOS Community Add-On” addon conflict i have added following code snippet code to your child theme functions.php
// Fixed Country and Regions 404 issue function geodirectory_bp_init() { remove_action( 'bp_init', 'badgeos_community_loader', 1 ); add_action( 'bp_init', 'badgeos_community_loader', 1000 ); } add_action( 'bp_init', 'geodirectory_bp_init', 0 ); //
Please check and let us know.
Thanks,
Kiran -
AuthorPosts