We keep getting scum registering on our site and p2p'ing our stuff, we sell tunes,
We keep disabling them but they just re-register,
They ALL use @hush.com which is an anonymous warez/p2p domain,
Useless anyway as they pay with Paypal and we send out DMCA's to their real details.
But would be nice to just avoid all these c****.
Anyone?
Many thanks.
Skills: Ripp, copy, paste.

For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
1. Go to catalog/controller/account/register.php
2. Find and replace this:
Code: Select all
if ((utf8_strlen($this->request->post['email']) > 96) || !preg_match('/^[^\@]+@.*\.[a-z]{2,6}$/i', $this->request->post['email'])) {
Code: Select all
if ((utf8_strlen($this->request->post['email']) > 96) || !preg_match('/^[^\@]+@.*\.[a-z]{2,6}$/i', $this->request->post['email']) || strstr($this->request->post['email'], '@', true) == "hush.com") {
Let me know how you get on

Be sure to back up the file first if you are uncomfortable with changing OpenCart files

For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support

will get on it later on tonight and report back.
Thanks again!!!!

Skills: Ripp, copy, paste.

For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
Just tried and got this error:pedro1993 wrote:
Let me know how you get on![]()
Code: Select all
Warning: Wrong parameter count for strstr() in /home4/blabla/public_html/catalog/controller/account/register.php on line 359Warning: Cannot modify header information - headers already sent by (output started at /home4/blabla/public_html/index.php:104) in /home4/blabla/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home4/blabla/public_html/index.php:104) in /home4/blabla/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
But nothing showed up on admin, strange, maybe I missed something anyway, its late, im tired

Many thanks.
Skills: Ripp, copy, paste.

For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
Will report back and many thanks again!
Skills: Ripp, copy, paste.
I know this is rly late, finally upgraded to php 5.3, changed code as you kindly suggested but no joy,
No errors either, @hush.com can register still.
Any ideas?
Many thanks!
Skills: Ripp, copy, paste.
I sent you a PM

For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
Users browsing this forum: No registered users and 103 guests