Releases for IP Login
ip_login 6.x-1.x-dev
| Download | Size | md5 hash |
|---|---|---|
| ip_login-6.x-1.x-dev.tar.gz | 8.84 KB | f3c71d4f03f2899c3667d7565b8cd33f |
current dev version
ip_login 6.x-1.2
| Download | Size | md5 hash |
|---|---|---|
| ip_login-6.x-1.2.tar.gz | 7.76 KB | 9fe72f5e649fbe38f907bf146fc01a3f |
added admin setting to enable / disable via checkbox
ip_login 6.x-1.1
| Download | Size | md5 hash |
|---|---|---|
| ip_login-6.x-1.1.tar.gz | 7.68 KB | 2d4ab6baabd8edb3a59da8641e4fae6a |
added help message for when:
no profile fields are present or the profile field setting is not set.
ip_login 6.x-1.0
| Download | Size | md5 hash |
|---|---|---|
| ip_login-6.x-1.0.tar.gz | 7.63 KB | ffa1c8cb83242d46e0ef340ffc60c6bd |
Initial release of Drupal 6 version.
ip_login 5.x-1.0
| Download | Size | md5 hash |
|---|---|---|
| ip_login-5.x-1.0.tar.gz | 8.18 KB | 39fccedc75d487e10ae9942236824479 |
$Id$
IP Login - Login to Drupal automatically via your IP address
*** ABOUT ***
This module allows users to login first automatically via their IP address, instead of using a username / password.
The module uses the core 'Profile' module to lookup a user's IP address
*** HOW IT WORKS ***
When a user visits any Drupal page, IP Login checks that they're not logged in and that IP login hasn't run yet for this session.
If they are a new anon user, the module checks if a record exists for the user's IP address by looking up the profile_values field for the IP Address in $_SERVER['REMOTE_HOST']
If a matching IP address is found in profile_values, it logs them in as that user.
If not, normal username / password authentication is still always available as a second step.
*** HOW TO INSTALL ****
1. Create a user profile textfield to store the user's IP address. e.g: profile_ip. I recommend making it a private field, only available to admins.
2. Copy the module folder 'ip_login' to your module folder (e.g sites/all/modules/ )
3. Enable the module from Drupal admin -> modules
4. Go to the site config settings at admin/settings/iplogin and select the profile field that contains a user's IP address.
5. Done.
*** HOW TO TEST ***
You can test it by entering your IP address in your user profile. If you need to find your external IP address, try http://whatismyip.com
