Default to user's location, current time?

Home Forums Welcome! Pre-Sales Questions Default to user's location, current time?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1146302
    David
    Guest

    Hi, would it be possible to tweak the pro version to show events near the user’s current location, today?

    #1146394
    Brook
    Participant

    Howdy Dave,

    That is pretty possible. It will require a little familiarity with programming to get there, but it’s quite possible.

    What most people will do is create a new URL for this default page. Something like example.com/events-near-me/. Then when someone visits this page they take the visitors IP address and geocode it, to get a latitude/longitude where that IP is likely from. Then they forward the user to our Map view with lat/lng filled in. For example here is a URL on our demo site where we have prefilled the coordinates for where you are viewing events, in this case I set them to San Francisco:

    http://wpshindig.com/events/map/?tribe-bar-geoloc-lat=37.7749295&tribe-bar-geoloc-lng=-122.41941550000001&tribe-bar-geoloc=San+Francisco%2C+CA

    Does that sound like what you needed? I have seen this request a few times before. It’d definitely something one of us can provide assistance with building once you get there.

    Cheers!

    – Brook

    #1154900
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Default to user's location, current time?’ is closed to new replies.