Kiran

Forum Replies Created

Viewing 15 posts - 5,881 through 5,895 (of 6,022 total)
  • Author
    Posts
  • in reply to: Date of ads #260081

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    We have fixed the date issue. Please check and let us know.

    Thanks

    in reply to: map not showing #259911

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: Get Direction #257389

    Kiran
    Moderator
    Post count: 7069

    Hi 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.6

    Let us know.

    Thanks,
    Kiran

    in reply to: Two Client Emails Sent When Set to Auto Approve #257387

    Kiran
    Moderator
    Post count: 7069

    Hi 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

    in reply to: Current User Listings Page #257292

    Kiran
    Moderator
    Post count: 7069

    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

    in reply to: Hide "Listing" in BuddyPress Integration #256029

    Kiran
    Moderator
    Post count: 7069

    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

    in reply to: Current User Listings Page #255965

    Kiran
    Moderator
    Post count: 7069

    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.php

    
    
    function 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,
    Kiran

    in reply to: Import process freezes #255961

    Kiran
    Moderator
    Post count: 7069

    Hello,

    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

    in reply to: Import process freezes #255897

    Kiran
    Moderator
    Post count: 7069

    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” respectively

    The 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.php

    Hope you are clear now with city_slug.

    Thanks

    in reply to: Import process freezes #255873

    Kiran
    Moderator
    Post count: 7069

    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 Spain

    So 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,
    Kiran

    in reply to: WPML- getting 404 error on all pages #255822

    Kiran
    Moderator
    Post count: 7069

    Hi 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,
    Kiran

    in reply to: Missing fields from REST API call #255814

    Kiran
    Moderator
    Post count: 7069

    Hey 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

    in reply to: Fail to get reviews through rest api #255262

    Kiran
    Moderator
    Post count: 7069

    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_api

    Let us know.

    Thanks

    in reply to: Hide "Listing" in BuddyPress Integration #255199

    Kiran
    Moderator
    Post count: 7069

    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.

    in reply to: Country and Regions 404 #253778

    Kiran
    Moderator
    Post count: 7069

    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

Viewing 15 posts - 5,881 through 5,895 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount