Hi, ive written a module for drupal that looks at a users IP address and either forces them to logon or does nothing. Ive been directed here to request a patch to add this feature instead of making a whole new module.

http://drupal.org/node/779822

That link should explain everything in detail and you can take a look at the code, it is a very small module and should not take long to read through. Let me know what you think.

Thanks!

Comments

jhus’s picture

Priority: Normal » Critical
jhus’s picture

Priority: Critical » Normal
Status: Patch (to be ported) » Active
jonfrancisskydiver’s picture

So a user who falls within an IP range, would be directed to user/login? Could you explain your situation a bit more? I am unclear on the scenario that requires this feature. Maybe you could create a mock-up of screens that describe how we can build the UI. Also, if you can post a patch of how you would alter IPAuth's code, that would be helpful.

Jonathan

jhus’s picture

So a user who falls within an IP range, would be directed to user/login?

Exactly

Maybe you could create a mock-up of screens that describe how we can build the UI. Also, if you can post a patch of how you would alter IPAuth's code, that would be helpful.

I will have something posted by tomorrow for you!