Hi. I haven't tried this module yet, as I use this service's API with my own implementation. I was wondering, if a Drupal site lucky enough to be getting 5000+ registrations per day did occur, what would happen? SFS's API usage is just that. 5000/day limit otherwise it throws an error. If an error was returned from their API, would this script crash the Drupal website upon registering, or would it simply stand aside and allow the registration to go ahead without the background check? Or worse, would it prevent everyone from registering?
Other than this concern, I think this is a very useful module.
Thanks :)
Comments
Comment #1
miiimoooDo you know what the response looks like when you reach the 5000/day limit?
Comment #2
darklight commentedNot sure about the exact response, I haven't exeeded the limit for quite a while, but all you need to do is check if "success" is "1" it's quite simple to check.
Comment #3
miiimoooLooking at the code of the new version ..
.. I think it's okay. It doesn't check the success field..
Comment #4
bengtan commentedHi,
Please move to the 3.x branch if you can as 2.x is no longer supported.
With regards to the 3.x branch ...
Blacklisting only occurs if the service is up and there was a successful request. The module does checks the 'success' field within spambot_sfs_request(). If there was a communications error, then blacklisting does not happen (and the error is logged).
However, I can't say what will happen if the 5000/day limit is exceeded because I've never had that happen to me, and the documentation on www.stopforumspam.com is not clear.
If you do happen to run into this limit and Spambot flags an error, the response should be logged in your site logs. If you could post the log here, that would be great so we can confirm what will actually happen.
For now, I've moving this issue to the 3.x branch, and keeping it open for a bit so other users can more easily find this issue.
Comment #5
darklight commentedOkay cool. Will do and thanks :)
Comment #6
fgmI just got an answer from the SFS webmaster: the limit has been raised to 8000/day, making it even less likely to be hit.
More detail:
Comment #7
darklight commentedThanks for the info :)
Comment #8
kala4ek