You are here

README.txt in IP Ban 8

Same filename and directory in other branches
  1. 7 README.txt
IP Ban Module
====================

Description
-----------

A large majority of all websites have content that's only relevant to a country 
or region. This can be problematic because visitors from other countries or 
regions may not exactly be visiting your site with your best interests in mind. 

This module allows you configure the site to be "read only" or "complete ban" 
for a visitor based on individual IP addresses or by country (using IP address 
lookup).  

For complete bans, you can redirect the user to any page you choose and/or 
display an "error" message. There is nothing preventing you from entering an 
external address as the page to redirect to.

"Read only" will allow you to disable blocks for visitors from a country or IP 
address set to "Read only", and disallows access to all /user pages. If you also
need to disable forms, it is recommended you install the Read only mode module.

Combined with a sensible use of block visibility on the pages you redirect to 
for blocks containing menus,  phone numbers, etc., you should be able to 
effectively block out unwanted contacts.  


Installation
------------

See https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-modules-find-import-enable-configure

Note that this module requires the ip2country module; see 
https://www.drupal.org/project/ip2country

Author
------

Written by: Daniel Harris of Webdrips (http://webdrips.com and 
https://www.drupal.org/u/webdrips)

If you use this module, find it useful, and want to send the author
a thank you note, then use the Feedback/Contact page at the URL above.

File

README.txt
View source
  1. IP Ban Module
  2. ====================
  3. Description
  4. -----------
  5. A large majority of all websites have content that's only relevant to a country
  6. or region. This can be problematic because visitors from other countries or
  7. regions may not exactly be visiting your site with your best interests in mind.
  8. This module allows you configure the site to be "read only" or "complete ban"
  9. for a visitor based on individual IP addresses or by country (using IP address
  10. lookup).
  11. For complete bans, you can redirect the user to any page you choose and/or
  12. display an "error" message. There is nothing preventing you from entering an
  13. external address as the page to redirect to.
  14. "Read only" will allow you to disable blocks for visitors from a country or IP
  15. address set to "Read only", and disallows access to all /user pages. If you also
  16. need to disable forms, it is recommended you install the Read only mode module.
  17. Combined with a sensible use of block visibility on the pages you redirect to
  18. for blocks containing menus, phone numbers, etc., you should be able to
  19. effectively block out unwanted contacts.
  20. Installation
  21. ------------
  22. See https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-modules-find-import-enable-configure
  23. Note that this module requires the ip2country module; see
  24. https://www.drupal.org/project/ip2country
  25. Author
  26. ------
  27. Written by: Daniel Harris of Webdrips (http://webdrips.com and
  28. https://www.drupal.org/u/webdrips)
  29. If you use this module, find it useful, and want to send the author
  30. a thank you note, then use the Feedback/Contact page at the URL above.