Question about Enterprise and geolocation

Popular automatic website translation tool

Question about Enterprise and geolocation

Postby natastna2 » Thu Aug 11, 2016 10:03 pm

Hello,

I have just installed the enterprise version on mylarshop.com and notice that since changing from Pro to Enterprise the geo-location does not seem to be working. When a customer is in a foreign language they are presented with a message meant for our French customers regardless of what country they are located in.

Will the geo-location module need editing to work with the Enterprise version?

Thank you for your time.
natastna2
 
Posts: 158
Joined: Wed Jan 26, 2011 2:43 am

Re: Question about Enterprise and geolocation

Postby Edvard » Fri Aug 12, 2016 1:11 am

Hi,

I think that geo-location module just uses our server IP address instead of real visitor IP address which we send in X-Real-IP request header. So you probably need to modify the module to use that header if it is set.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4403
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Question about Enterprise and geolocation

Postby natastna2 » Fri Aug 12, 2016 7:15 pm

OK thanks Edvard,

If I wanted to echo the X-Real-IP do you think this would be OK?

<?php
echo $_SERVER['X-Real-IP'];
?>

Thank you for your time.
natastna2
 
Posts: 158
Joined: Wed Jan 26, 2011 2:43 am

Re: Question about Enterprise and geolocation

Postby Edvard » Sat Aug 13, 2016 9:10 am

Use $_SERVER['HTTP_X_REAL_IP']
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4403
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests

cron