Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

Best way to copy banned IPs between sites with shared user base?

+1 vote
I have 3 Q2A instances running with a shared user base. I think I found how (in the related question) IP-banned users were able to register for new accounts - they used one of the other 2 sites.

So if I ban an IP on Site 1, that IP is not banned on Site 2 and they can register and post. Is there a way to copy IP bans to other sites automatically? In the docs for events there is one for when a user is blocked, but not for IPs.
Q2A version: 1.4
asked Dec 30, 2011 in Q2A Core by DisgruntledGoat

1 Answer

0 votes

Good question. I will add an event for IP address blocking or unblocking in 1.5 beta 2. In the meantime, you can also do this with a function override for qa_set_option(...) in the current beta - whenever the option is changed, copy it across to all other sites.

answered Jan 1 by gidgreen
My live site is still on 1.4 so overrides won't work. But it's fine, I can copy the IP addresses across for now.