Чтобы всех неактивных пользователей или тех кто почту не проверяет или использовал какую-нибудь старую при регистрации выкосить? Не проще вообще сайт закрыть — гарантия что ботов не будет 100%.
Тем более когда бот уже зарегился как правило поздно пить боржоми. Чтобы отсечь ботов есть отличный плагин AntiBot.
Я имею в виду версию которая нормально работает с плагином совместимости, можно за основу взять репозиторий от orthograf выше. Просто несколько правок, и вуаля. Лицензия GPL позволяет проделать данную манипуляцию, автор должен был быть в курсе когда публиковал да и вряд ли он будет против если его бесплатным плагином будут пользоваться больше людей.
[LOG:1427368896.686-5513EBC0A7854][2015-03-26 14:21:36][PID:12982][ERROR][[
E_WARNING [2] Class 'PluginBr_ModuleUser_EntityUser' not found (/var/www/example.com/engine/classes/core/Loader.class.php on line 337)
— call stack — class_alias() in /var/www/example.com/engine/classes/core/Loader.class.php on line 337
Loader::Autoload()
spl_autoload_call() in /var/www/example.com/common/plugins/mailing/classes/modules/user/entity/User.entity.class.php on line 4
include_once() in /var/www/example.com/engine/include/functions/File.php on line 932
AltoFunc_File::IncludeFile()
call_user_func_array() in /var/www/example.com/engine/include/Func.php on line 656
Func::IncludeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 310
Loader::_includeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 343
Loader::Autoload()
spl_autoload_call()
class_alias() in /var/www/example.com/engine/classes/core/Loader.class.php on line 337
Loader::Autoload()
spl_autoload_call() in /var/www/example.com/common/plugins/br/classes/modules/user/entity/User.entity.class.php on line 12
include_once() in /var/www/example.com/engine/include/functions/File.php on line 932
AltoFunc_File::IncludeFile()
call_user_func_array() in /var/www/example.com/engine/include/Func.php on line 656
Func::IncludeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 310
Loader::_includeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 343
Loader::Autoload()
spl_autoload_call()
unserialize() in /var/www/example.com/engine/libs/DklabCache/Cache/Backend/TagEmuWrapper.php on line 185
Dklab_Cache_Backend_TagEmuWrapper->_loadOrTestMulti() in /var/www/example.com/engine/libs/DklabCache/Cache/Backend/TagEmuWrapper.php on line 34
Dklab_Cache_Backend_TagEmuWrapper->load() in /var/www/example.com/engine/classes/modules/cache/Cache.class.php on line 322
ModuleCache->_backendLoad() in /var/www/example.com/engine/classes/modules/cache/Cache.class.php on line 543
ModuleCache->MultiGet() in /var/www/example.com/engine/classes/modules/cache/Cache.class.php on line 515
ModuleCache->Get()
call_user_func_array() in /var/www/example.com/engine/classes/core/Engine.class.php on line 636
Engine->_CallModule() in /var/www/example.com/engine/classes/abstract/LsObject.class.php on line 44
LsObject->__call() in /var/www/example.com/common/classes/modules/user/User.class.php on line 260
PluginInvites_ModuleUser->Cache_Get() in /var/www/example.com/common/classes/modules/user/User.class.php on line 260
ModuleUser->GetUsersByArrayId() in /var/www/example.com/common/classes/modules/user/User.class.php on line 173
ModuleUser->GetUsersAdditionalData() in /var/www/example.com/common/classes/modules/user/User.class.php on line 584
ModuleUser->GetUserById() in /var/www/example.com/common/classes/modules/user/User.class.php on line 525
ModuleUser->GetUserBySessionKey() in /var/www/example.com/common/classes/modules/user/User.class.php on line 654
ModuleUser->AutoLogin() in /var/www/example.com/common/classes/modules/user/User.class.php on line 98
ModuleUser->Init() in /var/www/example.com/engine/classes/core/Engine.class.php on line 377
Engine->InitModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 457
Engine->LoadModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 699
Engine->GetModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 612
Engine->_CallModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 773
Engine->__call()
Engine->User_GetUserCurrent()
call_user_func_array() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1298
E::__callStatic() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1307
E::User_GetUserCurrent() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1307
E::User() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1345
E::UserId() in /var/www/example.com/common/classes/hooks/HookStatisticsPerformance.class.php on line 38
HookStatisticsPerformance->RegisterHook() in /var/www/example.com/engine/classes/core/Engine.class.php on line 517
Engine->InitHooks() in /var/www/example.com/engine/classes/core/Engine.class.php on line 285
Engine->Init() in /var/www/example.com/engine/classes/core/Router.class.php on line 172
Router->Exec() in /var/www/example.com/index.php on line 23
— end — ]][END:1427368896.686-5513EBC0A7854]
[LOG:1427368896.687-5513EBC0A7C36][2015-03-26 14:21:36][PID:12982][ERROR][[
E_ERROR [1] Class 'PluginMailing_Inherit_ModuleUser_EntityUser' not found (/var/www/example.com/common/plugins/mailing/classes/modules/user/entity/User.entity.class.php on line 4)
— call stack — Func::_callStackError() in /var/www/example.com/engine/include/Func.php on line 147
Func::_errorLog() in /var/www/example.com/engine/include/Func.php on line 274
Func::_errorHandler() in /var/www/example.com/engine/include/Func.php on line 69
Func::done()
— end ---
<?php
class PluginMailing_ModuleUser_EntityUser extends PluginMailing_Inherit_ModuleUser_EntityUser {
public function getUserNoDigestHash() {
return md5(Config::Get('module.security.hash').$this->getMail());
}
}
?>
PHP Fatal error: Class 'PluginMailing_Inherit_ModuleUser_EntityUser' not found in /var/www/example.com/common/plugins/mailing/classes/modules/user/entity/User.entity.class.php on line 4
Тем более когда бот уже зарегился как правило поздно пить боржоми. Чтобы отсечь ботов есть отличный плагин AntiBot.
Не понятно еще почему такой косяк с языком, ну да ладно…
Кстати такой же вопрос к вам — не хотите опубликовать портированную версию с правками?
$oUserTo = $this->User_GetUserById($oMail->getUserId());
$sText = htmlspecialchars_decode($oMail->getMailingText(), ENT_QUOTES);
$this->Lang_SetLang($oUserTo->getUserLang());
//$sText .= $this->Lang_Get('plugin.mailing.unsub_notice', array('email' => $oUserTo->getMail(), 'hash' => $oUserTo->getUserNoDigestHash()));
$this->Mail_SetAdress($oUserTo->getMail(), $oUserTo->getLogin());
$this->Mail_SetSubject($oMail->getMailingTitle());
$this->Mail_SetBody($sText);
$this->Mail_setHTML();
в чем может быть проблема?
Однако хэш не работает все равно… ((
example.com//mailing/unsubscribe?email=&hash=
А есть другой путь этот метод добавить?
[LOG:1427368896.686-5513EBC0A7854][2015-03-26 14:21:36][PID:12982][ERROR][[
E_WARNING [2] Class 'PluginBr_ModuleUser_EntityUser' not found (/var/www/example.com/engine/classes/core/Loader.class.php on line 337)
— call stack — class_alias() in /var/www/example.com/engine/classes/core/Loader.class.php on line 337
Loader::Autoload()
spl_autoload_call() in /var/www/example.com/common/plugins/mailing/classes/modules/user/entity/User.entity.class.php on line 4
include_once() in /var/www/example.com/engine/include/functions/File.php on line 932
AltoFunc_File::IncludeFile()
call_user_func_array() in /var/www/example.com/engine/include/Func.php on line 656
Func::IncludeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 310
Loader::_includeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 343
Loader::Autoload()
spl_autoload_call()
class_alias() in /var/www/example.com/engine/classes/core/Loader.class.php on line 337
Loader::Autoload()
spl_autoload_call() in /var/www/example.com/common/plugins/br/classes/modules/user/entity/User.entity.class.php on line 12
include_once() in /var/www/example.com/engine/include/functions/File.php on line 932
AltoFunc_File::IncludeFile()
call_user_func_array() in /var/www/example.com/engine/include/Func.php on line 656
Func::IncludeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 310
Loader::_includeFile() in /var/www/example.com/engine/classes/core/Loader.class.php on line 343
Loader::Autoload()
spl_autoload_call()
unserialize() in /var/www/example.com/engine/libs/DklabCache/Cache/Backend/TagEmuWrapper.php on line 185
Dklab_Cache_Backend_TagEmuWrapper->_loadOrTestMulti() in /var/www/example.com/engine/libs/DklabCache/Cache/Backend/TagEmuWrapper.php on line 34
Dklab_Cache_Backend_TagEmuWrapper->load() in /var/www/example.com/engine/classes/modules/cache/Cache.class.php on line 322
ModuleCache->_backendLoad() in /var/www/example.com/engine/classes/modules/cache/Cache.class.php on line 543
ModuleCache->MultiGet() in /var/www/example.com/engine/classes/modules/cache/Cache.class.php on line 515
ModuleCache->Get()
call_user_func_array() in /var/www/example.com/engine/classes/core/Engine.class.php on line 636
Engine->_CallModule() in /var/www/example.com/engine/classes/abstract/LsObject.class.php on line 44
LsObject->__call() in /var/www/example.com/common/classes/modules/user/User.class.php on line 260
PluginInvites_ModuleUser->Cache_Get() in /var/www/example.com/common/classes/modules/user/User.class.php on line 260
ModuleUser->GetUsersByArrayId() in /var/www/example.com/common/classes/modules/user/User.class.php on line 173
ModuleUser->GetUsersAdditionalData() in /var/www/example.com/common/classes/modules/user/User.class.php on line 584
ModuleUser->GetUserById() in /var/www/example.com/common/classes/modules/user/User.class.php on line 525
ModuleUser->GetUserBySessionKey() in /var/www/example.com/common/classes/modules/user/User.class.php on line 654
ModuleUser->AutoLogin() in /var/www/example.com/common/classes/modules/user/User.class.php on line 98
ModuleUser->Init() in /var/www/example.com/engine/classes/core/Engine.class.php on line 377
Engine->InitModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 457
Engine->LoadModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 699
Engine->GetModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 612
Engine->_CallModule() in /var/www/example.com/engine/classes/core/Engine.class.php on line 773
Engine->__call()
Engine->User_GetUserCurrent()
call_user_func_array() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1298
E::__callStatic() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1307
E::User_GetUserCurrent() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1307
E::User() in /var/www/example.com/engine/classes/core/Engine.class.php on line 1345
E::UserId() in /var/www/example.com/common/classes/hooks/HookStatisticsPerformance.class.php on line 38
HookStatisticsPerformance->RegisterHook() in /var/www/example.com/engine/classes/core/Engine.class.php on line 517
Engine->InitHooks() in /var/www/example.com/engine/classes/core/Engine.class.php on line 285
Engine->Init() in /var/www/example.com/engine/classes/core/Router.class.php on line 172
Router->Exec() in /var/www/example.com/index.php on line 23
— end — ]][END:1427368896.686-5513EBC0A7854]
[LOG:1427368896.687-5513EBC0A7C36][2015-03-26 14:21:36][PID:12982][ERROR][[
E_ERROR [1] Class 'PluginMailing_Inherit_ModuleUser_EntityUser' not found (/var/www/example.com/common/plugins/mailing/classes/modules/user/entity/User.entity.class.php on line 4)
— call stack — Func::_callStackError() in /var/www/example.com/engine/include/Func.php on line 147
Func::_errorLog() in /var/www/example.com/engine/include/Func.php on line 274
Func::_errorHandler() in /var/www/example.com/engine/include/Func.php on line 69
Func::done()
— end ---
Файл
/mailing/classes/modules/user/entity/User.entity.class.php:
PluginMailing.class.php:
Ошибка:
PHP Fatal error: Class 'PluginMailing_Inherit_ModuleUser_EntityUser' not found in /var/www/example.com/common/plugins/mailing/classes/modules/user/entity/User.entity.class.php on line 4
Class 'PluginMailing_Inherit_ModuleUser_EntityUser' not found in
?