jason

My feedback

  1. 51 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      jason commented  · 

      thought this may help until we get some official support for this:

      1.) install JinMenu
      2.) add menu option to execute following script:

      function showLocation(position) {
      window.location.href ="http://YOURDOMAINHERE/events/?action=tribe_list&tribe_paged=1&tribe-bar-geoloc-lat="+ position.coords.latitude +"&tribe-bar-geoloc-lng="+ position.coords.longitude;
      }

      function errorHandler(err) {
      if(err.code == 1) {
      alert("Error: Access is denied!");
      }else if( err.code == 2) {
      alert("Error: Position is unavailable!");
      }
      }
      function getLocation(){

      if(navigator.geolocation){
      // timeout at 60000 milliseconds (60 seconds)
      var options = {timeout:60000};
      navigator.geolocation.getCurrentPosition(showLocation,
      errorHandler,
      options);
      }else{
      alert("Sorry, browser does not support geolocation!");
      }
      }
      getLocation();

      or if you want a map view:

      function showLocation(position) {
      window.location.href ="http://YOURDOMAINHERE/events/map/?action=tribe_list&tribe_paged=1&tribe-bar-geoloc-lat="+ position.coords.latitude +"&tribe-bar-geoloc-lng="+ position.coords.longitude;
      }

      function errorHandler(err) {
      if(err.code == 1) {
      alert("Error: Access is denied!");
      }else if( err.code == 2) {
      alert("Error: Position is unavailable!");
      }
      }
      function getLocation(){

      if(navigator.geolocation){
      // timeout at 60000 milliseconds (60 seconds)
      var options = {timeout:60000};
      navigator.geolocation.getCurrentPosition(showLocation,
      errorHandler,
      options);
      }else{
      alert("Sorry, browser does not support geolocation!");
      }
      }
      getLocation();

      you cannot get a month view this way as it required the city to also populate. but hopefully this helps: you can see it in action at www.wcsaddict.com

    • 14 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

        jason commented  · 

        the battle with this is more of mobile viewing, When your scrolling it always get's caught in map and starts moving map instead of page....

        jason supported this idea  · 

      Feedback and Knowledge Base