Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello, I would like to limit users to only be able to register one account from the same IP address.
Can this be done with the Rules module?
I am using Drupal 7 and the IP address manager module to record IP addresses.
Comments
Comment #1
Vaibhavi Soni CreditAttribution: Vaibhavi Soni at AddWeb Solution Pvt. Ltd. commentedYou need to follow below steps.
1) Install User Ip Log module and rules module.
2) Enable PHP Filter module:
3) Create a rule, use your custom php code to check the users Ip log and block theme with your custom conditions.
Note that your conditions should be date-realted because Internet Provider Services, assign this IPs to others too.
Hope this helps.
Thanks!
Comment #2
TR CreditAttribution: TR commentedThis question was answered by #1.
Comment #3
TR CreditAttribution: TR commented