Location pop-up

This topic contains 34 replies, has 4 voices, and was last updated by  Stiofan O’Connor 7 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #369032

    Joy
    Buyer
    Post count: 1076

    So the additional “undefined” popup(after location is shared) is happening because I’m not using a GD homepage?

    And the redirect to load the current page after allowing location permission is not an possible, even with custom coding? Why is no redirection an option if it’s not possible?

    Thank you.

    #369037

    Guust
    Moderator
    Post count: 29970

    So the additional “undefined” popup(after location is shared) is happening because I’m not using a GD homepage?

    No, that is most likely a local issue with cookies and caching.

    And the redirect to load the current page after allowing location permission is not an possible, even with custom coding? Why is no redirection an option if it’s not possible?

    “No redirection” means no geolocation. That is why it is an option, for people who do not want geolocation and redirection.

    Try this:
    visit https://wpgeo.directory/gdf/
    That page is the GD home page, and if you accept geolocation, it will take you to your closest location, and the page just looks the same because both are using the same setup.
    You want the same page to look different for different visitors, that is just not possible.

    #369046

    Joy
    Buyer
    Post count: 1076

    I do not wish to have a different page for different visitors. I just would like the current page to be reloaded after location is shared. I don’t wish the page to appear any different.

    Is that not possible with custom coding? Thank you.

    #369054

    Guust
    Moderator
    Post count: 29970

    So you want the geolocation to be set in the browser session, without a reload?

    #369056

    Joy
    Buyer
    Post count: 1076

    Yes if possible, if it must reload, then reloading the current page (home) would be ideal. Again, it’s just to get visitors location permission as soon as they enter the site.

    Although it was mentioned that the “near me” search and location are separate, once location permission is given, the “near me” search is automatically enabled. So in some way, they must communicate.

    #369283

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Joy,

    As far as i can tell what you want is for people to land on home, share location and then the homepage to be customsied to that location? If so that is how we used to do things and we changed it for a number of reasons.
    #1 Caching, you can’t cache that page, meaning it will always be slower and its going to be one of the most popular pages.
    #2 SEO, How should Google list the page, the page should be the same, individual pages for each location.

    The closes page to what you want/need would be “/location/me/” page.

    Thanks,

    Stiofan

    #369410

    Joy
    Buyer
    Post count: 1076

    Hi Stiofan,

    Thank you for your response. But I’m sorry to say, this is not what I am seeking. Please let me try to explain again.

    I do not want the homepage to be customized in any way for any user. The page that I have set as “Home” would be the same page I would like every visitor to enter upon. I would like the visitor to be prompted to provide location permission, once given, I would just like to reload that exact same page again – with the location permissions that were allowed.

    Here are my reasons:
    1)Once the page reloads(after permission is given) the “Near Me” checkbox is automatically enabled for the search. I want this to happen, because without location permission given, many may not notice the “Near Me” checkbox as most people will just enter their search and then click on the search button. Automatically enabling the “Near Me” checkbox that is done with location permission eliminates the issue with user error.

    2)Users who wish to navigate the site and utilize the “Near Me” button(that leads to nearby listings on the locations page) will not get any results until location permission is granted. Without the location permission prompt or the location permission prompt that is created when a user clicks on the “Near Me” checkbox in the search options, there is no other way to generate the users location. Needless to say, this does not work very well for site that relies on a users location. The location function should be paramount.

    Please let me know if you need anymore clarification. I’m surprised that this hasn’t come up before. Although this is a great plugin system and you have many users, I wonder how much users actually are able to create a solid site that garners the audience that they hope. From all the sites that I see on the showcase, many aren’t utilized. I’ve spent a lot of time on my site and had a lot of custom work done to get this “just right”. The location aspect is a huge part of it though, and I do hope that you can assist me. I think the functionality I seek should be standard for the reasons that I have mentioned above.

    In addition, I’ve had about 15 peers visit/navigate the site. Only about 1/3 of them utilized the “Near Me” checkbox to enable location permission and only a handful of those were able to recognize the navigation icon to reveal the “Near Me” checkbox on their first visit.

    Thank you! Sorry for the long post!

    #369499

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Joy,

    I am not sure it is the best way, if you first visit a site and it asks for your location i think you are far more likely to just click deny rather than if u specifically click something where you might want to share your location.

    We have functions for getting and storing a users location, maybe you would be best with implementing your own check there?

    Thanks,

    Stiofan

    #369504

    Joy
    Buyer
    Post count: 1076

    Hmmm, I guess if you’re unfamiliar with a site, you would likely deny location sharing. That’s a good point.

    Let’s say that someone denies location sharing, will they be prompted again on their next visit or does the site store their preferences, or is that completely controlled by the browser?

    In regards to a blank location page (I use the near me button to reach that) is there a way to ask for permission if permission has not been granted when someone views the location page?

    I appreciate your patience and help with this. Thank you.

    #369508

    Guust
    Moderator
    Post count: 29970

    It is up to the visitor whether they will be prompted again on their next visit, and it depends on the browser they use for what options they have, see image.

    If you use the Near Me widget on the location page, then they will have another opportunity to be geolocated.

    Thanks

    #369683

    Joy
    Buyer
    Post count: 1076

    Okay, thank you all for your patience with me and taking the time to discuss all of this. I appreciate it so much!

    #369706

    Joy
    Buyer
    Post count: 1076

    Oh my gosh I’m back with more thoughts on this.

    When I responded to Stifoan it was almost 3am and my brain wasn’t working very well. In hindsight, although users “may” deny location permission with an unfamiliar website, I still think it’s better to offer it.

    I found a plug that does great with this function and even allows you to choose the page to reload once permission is allowed, (https://wordpress.org/plugins/geo-my-wp/), but it has some sort of conflict with GD because I notice that there is a small lag and the location page reloads 3 times to reflect the location based listings. But the functionality is there…

    With that being said, Stiofan mentioned functions for getting and storing a users location. The functions are currently in place to get and store a users location and force a page redirect – can you point me in the right direction to those? If a page redirect is currently in place, I can’t see why a page reload wouldn’t be an easy edit since more complicated framework currently exists. Thank you!

    #369783

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    OK, without worrying about the HOW, please explain WHAT you want to happen, maybe there is an easier way i can think to do things.

    Stiofan

    #369797

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #369804

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    “So the location switcher switches to the closest location in the database, but does not go to a location page.” What is the point then? :/

    Stiofan

Viewing 15 posts - 16 through 30 (of 35 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