If you have activated the "Block Logins" option, logins from non-permitted countries are not allowed. The module then simply displays a white page.
If you want to display a custom page, or if you want to redirect to another page, you can do this via the file "custom_error_page.php".

To activate this feature, follow these steps:

  1. Navigate into the directory "/modules/addons/adminloginnotify/"
  2. Create the file "custom_error_page.php"
  3. Insert your HTML or PHP code into the file and save it

Those were all the necessary steps. From now on the content of this file will be displayed.
Since this is a PHP file, this procedure is also suitable for executing your own events in case of an invalid login.

  • No labels