Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
1.9k views
in Q2A Core by
I blocked some ips like this: 222.*

I thought now from this IP nobody could access my site, but registering is still possible.

This is a probem as these users (China this time), register many new users in a short time.

I get spamed with emails and have to delete pages of users one by one, or at least block them

when the approve option is activated...

 

Any idea ?
Q2A version: 1.6.2
by
I think this is the same thing I mentioned many months ago. With the new filters in v1.6 you should be able to block signups meeting certain conditions... but I still think it's a bug for blocked IPs to be able to create accounts.
by
Thank You Scott, even with recaptcha activated they are creating accounts.

They can not do anything on the page but I still receive the mails and have to go into the system to block and delete them.

Would be great to have the option to deny access for some ips...

1 Answer

+2 votes
by
Blocking an IP is meant to prevent new users registering from that IP, so if this is not happening it's a bug. I will look into it for Q2A 1.6.3.
by
For others, this method seems to work very well, there was just one new registration from a not listed ip from china....
by
I am checking this again now and blocking an IP address does seem to block registrations from that IP in Q2A 1.6.2. So I'm confused why you're seeing the issue. Are you using the regular Q2A registration page? Check if qa-page-register.php has if (qa_user_permit_error()) { ... } in it.
by
Beginning on line 64, never changed that file.

If You want me to test something, just let me know. Actually I am using the htaccess solution and that works so far.

The registration page is the normal one, nothing changed so far.
by
I could use the standard theme and set back the htaccess, to check what ever You want. Actually that site is on hold. If really necessary I could redirect the page name to any demo page You want after recceiving new spam.
...