Not getting User City and Region when Geo Tracking is on
-
Hello
I am using your plugin for user login history display in the front end as well as send a login review mail and SMS.
In order to get the data into the SMS I am using the following code in my functions.phpif($mobile != ''){ $newDate = date("Y-m-d", strtotime($data['time_login'])); $message = "Hello ".$first_name."\nYour Asimi Jewels account was logged in to from a new browser or device. was this you?\n".$newDate.",\n".$data['city'].", ".$data['region_name'].", ".$data['country_name'].",\n" .$data['operating_system']." ". $data['browser']." ". $data['browser_version']."\nIf it wasnt you report to us immedietely! else Ignore the SMS.\nTeam Asimi!";
However, the country is sent in the same and also seen in the front end and backend the other two are blank everywhere.
I am using User Login History 2.1.0 (Basic Version) on WordPress 5.7.1Thanks in advance for a prompt and detailed response.
Regards
Vikram P.The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Not getting User City and Region when Geo Tracking is on’ is closed to new replies.