MyBB Community Forums

Full Version: Check IP user on registration and allow or not instant activation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I would like to edit registration php page. I need to check IP on member registration.

For example: 

- If user IP is 50.12.*.* then activation from Admin;

- If user IP isn't 50.12.*.* then instant activation.

How can I do this? What's a way to check IP user on member registration (php page)?

Thank you very much in advance, sorry for my bad English, I hope you understand my question