0

Overview

Geolocation Hook For WHMCS will automate the switch of a currency, language or even the template of your WHMCS client area depending on the location of your audience. Upon detection of a country from where each of your visitors is, these crucial elements of your website will be adjusted instantly to secure customer experience that is personalized to perfection.

Under quick and very simple configuration, you will be able to benefit from MaxMind GeoIP2 or apply your own submodule to identify the location of not logged in users. As another option, you can choose the template to be changed according to the device used, be it a tablet or a mobile, or even the domain your visitor was redirected from. The hook will grant you the flexibility to select specific pages of your website where the alteration of its components should be performed. It will be also up to you whether to permit your clients to personally switch the currency.

Among further benefits lies the support for Polish Language Translation For WHMCS, allowing you to introduce a comprehensive Polish localization to the list of languages covered by the automatic switch.

Cater to individual preferences of your visitors with consummate ease. Download Geolocation Hook For WHMCS for free and transform customer journey from dated to avant-garde!

Visit our Blog article and take part in a live discussion about the hook. Read More

Features

  • Hook

    • Detect User Country With:
      • MaxMind GeoIP2 Submodule
      • Own Submodule
    • Set Up Automatically For Not Logged In Users:
      • Currency Per Country
      • Language Per Country
      • Client Area Template Per:
        • Country
        • Language
        • User Device (Mobile, Tablet)
        • Domain User Was Redirected From
    • Allow User To Switch Currency
    • Allow Client Area Template Change On Language Alteration
    • Select Pages Where Hook Should Be Active
    • Disable Hook For Specified IP Addresses And IP Pools
    • Disable Hook Redirects For Specified User-Agent Identifiers
  • General Info

Read More

Changelog

v2.2.6

Released: Jan 25th, 2024
New Feature
  • WHMCS V8.8 and V8.9 support
  • Support for PHP 8.1 version
Removed
  • Support for WHMCS V8.5 and previous
  • Support for PHP 7.3 version
Bug Fix
  • Adjusted method of detecting IP addresses to avoid problems with specific servers that might use additional protection such as Cloudflare - case #39
  • Solved problem with the CRM For WHMCS module where the PDF quote viewed from the admin area did not consider the default language set in WHMCS general settings - case #44

v2.2.5

Released: Mar 29th, 2022
New Feature
  • WHMCS V8.4 support
Removed
  • Support for WHMCS V8.0 and previous

v2.2.4

Released: Oct 28th, 2021
New Feature
  • WHMCS V8.3 support
Removed
  • Support for WHMCS V7.10 and previous
Bug Fix
  • The "Country" field will be now set automatically to the corresponding client location when providing a billing address on the order checkout page - case #30

v2.2.3

Released: May 17th, 2021
New Feature
  • Support for WHMCS V8.1
Removed
  • Support for WHMCS V7.9 and previous
  • Support for PHP 7.1 version

v2.2.2

Released: Aug 25th, 2020
New Feature
  • WHMCS V8.0 and PHP 7.4 support
Removed
  • Support for PHP 7.0 and previous
Bug Fix
  • Prevented "InvalidArgumentException: The value "" is not a valid IP address" error that might have occurred when executing the cron task of Domain Orders Extended For WHMCS module - case #25

v2.2.1

Released: May 4th, 2020
New Feature
  • WHMCS V7.10 support
Removed
  • Support for WHMCS V7.7 and previous

v2.2.0

Released: Oct 30th, 2019
New Feature
  • WHMCS V7.8 support
Bug Fix
  • Resolved problem with switching languages when the template remained unchanged
  • If the ‘$previentSwitchCurrency’ option in the ‘config.php’ file is set as false, the change of currency will be now possible
  • Corrected issue with choosing a country while registering new clients

v2.1.0

Released: Jan 16th, 2019
New Feature
  • Set a different template based on the user device (tablet and mobile) - case #8
  • Set a different template based on the domain from which the user was redirected to your website
  • Disable the hook execution for specified IP addresses and IP pools based on their IP CIDR
  • Disable the hook redirects for specified user agent identifiers (e.g. for Google Bot)
Improvement
  • The change of a language and a template will no longer be based on the redirection
Bug Fix
  • The currency will now be properly set on every site of the cart for non-logged in users - case #13, #14
  • Minor code tweak-ups and configuration comments adjustments

v2.0.1

Released: Jul 23rd, 2018
Bug Fix
  • Resolved minor issues with redirecting
  • Corrected errors catching in cases the country cannot be located on the basis of the IP address

v2.0.0

Released: Feb 8th, 2017
Improvement
  • Fully rewritten code
New Feature
  • PHP 7 support
  • WHMCS V7 support
  • MaxMind GeoIP2 submodule support
  • Utilize own submodules to detect user country

v1.0.2

Released: Apr 5th, 2016
New Feature
  • Ability to define the HTTP response code for site redirection
Bug Fix
  • Resolved problem with SEO

v1.0.1

Released: Oct 7th, 2015
New Feature
  • WHMCS V6 support

v1.0.0

Released: Mar 11th, 2013
Launch
  • Stable Release
Read More

Reviews

  • 4 years ago
    Thanks it's working fine after downloading & uploading new database from Maxmind. You should update default database to new one.
  • 7 years ago
    Nice free hook. But here are certain flaws with this hook.
    In current multicurtural world Language change shouldn't be based on your IP but on browser language. People do travel...
    Also by not passing language in the address this will create duplications and other problems with Google.
Read More

See Also

Polish Language Translation For WHMCS Icon
Polish Language Translation
$249.95 $199.96
WHMCS V8.11

Polish Language Translation For WHMCS

Chosen by 224 customers

Select Polish as a default language of your admin and client area or give visitors full freedom to choose the preferred version on their own with a single click.

$249.95 $199.96
MetricsCube Business Analytics For WHMCS Icon
MetricsCube Business Analytics
$0.00
Free
WHMCS V8.11

MetricsCube Business Analytics For WHMCS

Chosen by 1780 customers

Access nearly 90 advanced reports brought by MetricsCube, use intelligent filters, and view additional data on clients, services and domains right in your WHMCS admin area.

$0.00
ModulesGarden Widget For WHMCS Icon
ModulesGarden Widget
$0.00
Free
WHMCS V8.11

ModulesGarden Widget For WHMCS

Chosen by 3121 customers

Be first to get all hot news, monitor module updates and promotions in ModulesGarden, trace Twitter posts and access exclusive discounts accessible only from the widget.

$0.00

Account Synchronization For WHMCS

Chosen by 187 customers

Automate the import/export and two-way synchronization of accounts, products and clients located at cPanel, Plesk and other external servers with your WHMCS.

$99.95/yr
;