Find Jobs
Hire Freelancers

Add Australian postcode google search to exisiting WP site

$30-250 USD

Completed
Posted over 9 years ago

$30-250 USD

Paid on delivery
add the following search criteria used on our APP to our WP site. $range = 50; if(!empty($location) && !empty($range)) { $this->loadModel('User'); $user_ids=array(); $address = $location.",Australia"; $coordinates = file_get_contents('[login to view URL]' . urlencode($address) . '&sensor=true'); $coordinates = json_decode($coordinates); $lat = $coordinates->results[0]->geometry->location->lat; $lng = $coordinates->results[0]->geometry->location->lng; $userdata = $this->User->find('all',array( 'fields'=>array('[login to view URL]','User.app_type','User.first_name','User.last_name','[login to view URL]','User.image_before', 'User.image_after','User.image_bytes','[login to view URL]','User.personal_message','[login to view URL]', 'User.street_name','[login to view URL]','[login to view URL]','[login to view URL]','[login to view URL]', '[login to view URL]','[login to view URL]','[login to view URL]','User.device_id', '[login to view URL]','[login to view URL]','User.full_name' ), 'conditions'=>array('[login to view URL] ='=>'Consultant') )); $Datas=array(); foreach($userdata as $usdata){ $uzip=$usdata['User']['zip']; if(!empty($uzip)){ $uaddress = $uzip.",Australia"; $coordinates = file_get_contents('[login to view URL]' . urlencode($uaddress) . '&sensor=true'); $coordinates = json_decode($coordinates); if(isset($coordinates->results[0])){ $ulat = $coordinates->results[0]->geometry->location->lat; $ulong = $coordinates->results[0]->geometry->location->lng; $distance = 6371 * acos( cos( deg2rad($lat) ) * cos( deg2rad( $ulat ) ) * cos( deg2rad( $ulong ) - deg2rad($lng) ) + sin( deg2rad($lat) ) * sin( deg2rad( $ulat ) ) ) ; if($distance < $range){ $usdata['User']['distance']=$distance; $filterData[]=$usdata; } } } } $Datas = Set::sort($filterData, '{n}.[login to view URL]', 'asc'); $Data2 = $this->User->find('all',array('conditions'=>array('[login to view URL]'=>$location,'[login to view URL] ='=>"Consultant") )); $mixarr = array_merge($Data2,$Datas);
Project ID: 6754353

About the project

10 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
hi sir, im expert in yii,google map api,and wordpress theme/plugin customization. please check reviews for proof. i have done many similar projects before. thank you, odel
$155 USD in 5 days
5.0 (4 reviews)
2.9
2.9
10 freelancers are bidding on average $130 USD for this job
User Avatar
A proposal has not yet been provided
$105 USD in 3 days
4.9 (115 reviews)
6.0
6.0
User Avatar
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks
$237 USD in 11 days
4.8 (42 reviews)
6.0
6.0
User Avatar
Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Looking forward to hear from you soon - GOD Bless You.
$178 USD in 3 days
4.8 (22 reviews)
5.3
5.3
User Avatar
Hello. I'm highly interesed in your project. You can see in my reviews I'm good and fast worker. So if you're interesed in my services please contact me to discuss details. Thank you.
$50 USD in 0 day
5.0 (18 reviews)
3.4
3.4
User Avatar
Hello, I have read your job post and find myself quite comfortable to deliver result oriented SEO/SMM services to achieve high PR on Google and major search engines. I have 2+ years of extensive experience with Proven Track Record in delivering SEO/SMM services. - Make optimum use of Social Media to target relevant customers, by creating more than 3 Social Media Pages in order to get maximum exposure - 200+ Back-links Building with Do-Follow attribute - I have good knowledge of WordPress development and plug in customization so I will also use All in One SEO WP Plugin - I will also use Google Analytics My Expertise Include - - Website and Competition Analysis - Keyword Research - Implementing On page and Off page techniques - Exchange links to a website with other relevant high PR websites - Use of latest SEO tools like Google Webmaster, moz tools, Google Analytics etc.. I assure you, if you will give me the chance to serve you, I will yield remarkable results within minimal possible time. Also please review Attachment for my Achievements. I have an excellent communication skills and always ready to discuss with you on your Project. I would like to have long term association with you. Looking forward to work with you. Thanks and Regards, Sachin Bhargava
$88 USD in 3 days
5.0 (1 review)
2.0
2.0

About the client

Flag of CYPRUS
Nicosia, Cyprus
5.0
17
Payment method verified
Member since Aug 19, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.