Skip to content

CleanTalk/joomla3.x-4.x-antispam

Repository files navigation

Anti-spam plugin for Joomla 3.X.-4.x

Version 3.2.5

Simple antispam test

Example how to use plugin to filter spam bots at any Joomla form.

        $result = plgSystemCleantalkantispam::onSpamCheck(
            '',
            array(
                'sender_email' => $contact_email, 
                'sender_nickname' => $contact_nickname, 
                'message' => $contact_message
            ));

        if ($result !== true) {
            JFactory::getApplication()->enqueueMessage($this->_subject->getError(),'error');
        }

Requirements