cleantalk / smf-antispam Goto Github PK
View Code? Open in Web Editor NEWAnti-spam MOD for Simple Machine Forum
License: GNU General Public License v3.0
Anti-spam MOD for Simple Machine Forum
License: GNU General Public License v3.0
cleantalk.org подымите - апач рухнул.И уже приличное время лежит ниже плинтуса.
Вы там вообще следите за своими серверами?
Cleantalk conflicts with other mods using __() function as a wrapper for translation (for example very popular Light-Portal SMF mod).
https://github.com/CleanTalk/smf-antispam/search?q=__%28
This leads to:
PHP Fatal error: Uncaught TypeError: Argument 2 passed to __() must be of the type array, string given, called in /var/www/html/Sources/cleantalk/lib/Cleantalk/Common/Firewall/FirewallModule.php on line 220
And this = forum down.
Sources/cleantalk/cleantalkMod.php Line 785
Undefined index: cleantalk_automod
This warning from cleantalk source fills error logs with useless information.
Code:
777: | if($ct_result->errno != 0 && !cleantalk_is_valid_js()){
-- | --
778: | cleantalk_log('deny post (errno !=0, invalid js test)' . strip_tags($ct_result->comment));
779: | fatal_error($ct_answer_text, false);
780: |
781: | return;
782: | }
783: | if ($ct_result->allow == 0){
784: | $msgOptions['cleantalk_check_message_result'] = $ct_result->comment;
==>785: | if ($modSettings['cleantalk_automod']){
786: | if ($ct_result->stop_queue == 1){
787: | cleantalk_log('spam message "' . $ct_result->comment . '"');
788: | cleantalk_after_create_topic('Spam message blocked. Reason: ' . strip_tags($ct_result->comment).'. <br/>Username: '. $ct_request->sender_nickname.'<br/>E-mail'.$ct_request->sender_email.'<br/>Message: '.$ct_request->message);
789: | fatal_error($ct_answer_text, false);
790: | }else{
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.