Location Page – Map Zoom Error and Listing Sorting Error

This topic contains 18 replies, has 3 voices, and was last updated by  Kiran 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #520811

    Ellory Wells
    Lifetime Member
    Post count: 64

    Hey guys!

    First, I did try reading through some of the support docs, and either the other people didn’t have the same error, or I couldn’t tell due to hidden content.

    Second, my location page doesn’t have the right zoom and the posts are listed by a featured/recommended order.

    Here’s the page: https://www.cigarscore.com/location/near/me/35.1536575,-106.49950039999999/

    I’ve tried resetting to the default short codes, and the problem was still there.

    Zoom: The map’s zoom level is either the entire globe, or it’s too close and in the wrong area.

    Sorting: the listings are sorted by distance, which is nice, but I want my paying customers to be shown first.

    Also, the default short codes in the GeoDirectory settings page show short codes with ‘xyz’ and the new shortcode builder shows them with “xyz” – the parenthesis are different and I don’t know which one is the right one.

    Thanks all!

    #520860

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    On your Location page, you can use any combination of GD Listings to show listings. You can even set them as featured only. However, the sort order will always be distance, nearest first, just like near search results.

    For shortcodes, either ” or “” will work.

    For the map zoom, that is usually best left to automatic, as it will zoom automatically to include all locations, with the center of the map being the center of the locations returned.

    If all the locations are in the west side of the radius, the zoom would seem to be off center, yes.

    #521247

    Ellory Wells
    Lifetime Member
    Post count: 64

    Alex, did you click on the link?

    This link (https://www.cigarscore.com/location/near/me/35.1536575,-106.49950039999999/)

    has 6 listings on it, all within 24 miles of my GPS location. However, the map shows the entire western half of the United States. The zoom is set to “5”. Whenever I changed the zoom level to “0” or auto, it shows the whole country.

    #521321

    Alex Rollin
    Moderator
    Post count: 27815

    If all the locations are in the west side of the radius, the zoom would seem to be off center, yes.

    Adjust the radius in the search settings.

    https://wpgeodirectory.com/docs-v2/geodirectory/settings/general/#search

    Maybe set it for 20? 40?

    If that isn’t the issue then please write back with WP Admin and we will check it out.

    #521964

    Ellory Wells
    Lifetime Member
    Post count: 64

    That didn’t fix it. I also updated to the latest release of GeoDirectory and cleared my cache.

    I’ll post login credentials below.

    #521966

    Ellory Wells
    Lifetime Member
    Post count: 64
    This reply has been marked as private.
    #522006

    Alex Rollin
    Moderator
    Post count: 27815

    The developers will take a look.

    #522376

    Kiran
    Moderator
    Post count: 7069

    Hi Ellory,

    Please provide FTP credentials to look into more.

    Google map shows following error in console.

    You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started

    Kiran

    #522384

    Ellory Wells
    Lifetime Member
    Post count: 64
    This reply has been marked as private.
    #522385

    Ellory Wells
    Lifetime Member
    Post count: 64

    I just sent my FTP credentials.

    Do we have to pay for Google Console or Google Cloud to get full functionality from GeoDirectory?

    #522438

    Alex Rollin
    Moderator
    Post count: 27815

    You must have billing enabled on the API key project, yes. Please enable it and let us know.

    #522448

    Ellory Wells
    Lifetime Member
    Post count: 64

    I created a fresh Google API key and enabled billing.

    #522506

    Kiran
    Moderator
    Post count: 7069

    Hi Ellory,

    Google map billing issue fixed with new API key.

    FTP credentials are not working. It shows following error:

    
    
    Response:	530 Login authentication failed
    Error:	Critical error: Could not connect to server

    Regards,
    Kiran

    #522572

    Ellory Wells
    Lifetime Member
    Post count: 64
    This reply has been marked as private.
    #523053

    Kiran
    Moderator
    Post count: 7069

    Hi Ellory,

    Issue has been fixed. There was issue in validation in longitude value with minus sign(Ex: -106.). We have fixed this issue and it will be in next release.

    Please apply this patch https://github.com/AyeCode/geodirectory/commit/2cd2b4abf5c5e697caa05674067571a8f6a2858b
    OR
    Provide FTP credentials again because FTP credentials are working fine but 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.

    Regards,
    Kiran

Viewing 15 posts - 1 through 15 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount