UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Spam fight

aelsharawi · ·
11:46 PM Wednesday, 21 May 2014
None
Im trying to use this :
components/com_user/controller.php
to this
  // If user activation is turned on, we need to set the activation information
$useractivation = $usersConfig->get( 'useractivation' );
if ($useractivation == '1')
{
jimport('joomla.user.helper');
$user->set('activation', JUtility::getHash( JUserHelper::genRandomPassword()) );
$user->set('block', '1');
}

// ##### BEGIN: SPAM DOMAIN FILTER #####
// Kick out spam domains
$email = $user->get('email');
if ( strpos($email,"gawab.com") ||
strpos($email,"mail.ru") ||
strpos($email,"list.ru") ||
strpos($email,"bk.ru") ||
strpos($email,"yahoo.co.uk") ||
strpos($email,"gmail.com") ||
strpos($email,"minivds.ru") ||
strpos($email,"nakgirls.ru") ||
strpos($email,"yandex.ru") ||
strpos($email,"info1a.cn") ||
strpos($email,"gooogletartsert.net") ||
strpos($email,"freemeilaadressforall.net") ||
strpos($email,"goodemailadressforfree.net") ||
strpos($email,"5opicforum.cn") ||
strpos($email,"pozitifff.com") ||
strpos($email,"2008bases1.net") ||
strpos($email,"nm.ru") ||
strpos($email,"goldwoof.net") ||
strpos($email,"megapochta.cn") ||
strpos($email,"meta.ua") ||
strpos($email,"fene4ek.net") ||
strpos($email,"mail15.com") ||
strpos($email,"googlemail.com") ||
strpos($email,"yandex.com") ||
strpos($email,"inmail24.com") )
{
JError::raiseWarning('','e-Mail domain is spam flagged');
$this->register();
return false;
}
// ##### END: SPAM DOMAIN FILTER #####

http://forum.joomla.org/viewtopic.php?p=1564182

to ban certain spammers on my website, Do i need to edit anything in easysocial or this enough ?
The replies under this section are restricted to logged in users or users with an active subscription with us