Google Map Location and save IP-Adress from customer

WPPizza – A Restaurant Plugin for WordPress Support Feature Requests Google Map Location and save IP-Adress from customer

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12507
    user1337
    Participant

      Hello, I would add 2 features.

      First one is a simple Google Map Image which shows the ordered location and the location from the restaurant. So the driver can look on the paper and do not need to use navigation.

      Second one is that if someone orders something the IP-Adress will be saved. If someone orders many fun orders you have the IP to deal with it.

      #12514
      Olly
      Admin & Mod

        >a simple Google Map Image which shows the ordered location…
        there is nothing “simple” about getting the order location based on what address people input in some form

        >if someone orders something the IP-Adress will be saved…
        it already is actually and i could – optionally – display it somewhere.

        however, using ip addresses to identify people doing fake orders (if that is what you are referring to) is VERY simple to circumvent as well as VERY unreliable.
        i can easily do 10 orders on your site from 10 different ip addresses without any effort so the above would not help you at all

        #12516
        user1337
        Participant

          sure but not everyone know how to make orders from different ip-adresses.
          can you tell me how i can send the IP-Adress with the ordermail? Thank you!

          #12520
          Olly
          Admin & Mod

            > but not everyone know how to make orders from different ip-adresses

            but the people who want to send fake orders are the ones that most likely do know

            #12521
            user1337
            Participant

              sure but a little safety is not wrong or? If someone does not know and do it we could have at least something in our hand :))

              “can you tell me how i can send the IP-Adress with the ordermail? Thank you!” would be nice 🙂

              #12522
              Olly
              Admin & Mod

                there are a ton of action hooks you can use for this sort of thing.

                for example

                
                add_action('wppizza_emailhtml_end','some_function');
                funstion some_function($param){
                echo"<tr><td>".$_SERVER['REMOTE_ADDR']."</td></tr>";
                }
                

                or something along those lines

                #12524
                user1337
                Participant
                  This reply has been marked as private.
                  #12525
                  Olly
                  Admin & Mod
                    This reply has been marked as private.
                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘Google Map Location and save IP-Adress from customer’ is closed to new replies.