Skip to content

Commit b0cea56

Browse files
author
davydovct
committed
release 5.8
1 parent 485b8b6 commit b0cea56

File tree

4 files changed

+28
-7
lines changed

4 files changed

+28
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Anti-spam plugin for Joomla 2.5-3.X.
22
============
33
[![Build Status](https://travis-ci.org/CleanTalk/joomla25-3x-antispam.svg)](https://travis-ci.org/CleanTalk/joomla25-3x-antispam)
44

5-
Version 5.7
5+
Version 5.8
66

77
## Simple antispam test
88

@@ -18,5 +18,5 @@ Example how to use plugin to filter spam bots at any Joomla form.
1818
));
1919

2020
if ($result !== true) {
21-
JError::raiseError(503, $this->_subject->getError());
21+
JFactory::getApplication()->enqueueMessage($this->_subject->getError(),'error');
2222
}

antispambycleantalk.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* CleanTalk joomla plugin
55
*
6-
* @version 5.7
6+
* @version 5.8
77
* @package Cleantalk
88
* @subpackage Joomla
99
* @author CleanTalk (welcome@cleantalk.org)
@@ -27,7 +27,7 @@ class plgSystemAntispambycleantalk extends JPlugin
2727
/**
2828
* Plugin version string for server
2929
*/
30-
const ENGINE = 'joomla3-57';
30+
const ENGINE = 'joomla3-58';
3131

3232
/*
3333
* Flag marked JComments form initilization.
@@ -596,7 +596,8 @@ public function exceptionList()
596596
$option_cmd == 'com_users' ||
597597
$option_cmd == 'com_user' ||
598598
$option_cmd == 'com_login' ||
599-
$option_cmd == 'com_akeebasubs')
599+
$option_cmd == 'com_akeebasubs' ||
600+
$option_cmd == 'com_acymailing')
600601
return true;
601602

602603
return false;
@@ -773,7 +774,7 @@ public function onBeforeCompileHead()
773774

774775
}
775776
if(isset($notice))
776-
JError::raiseNotice(1024, $notice);
777+
JFactory::getApplication()->enqueueMessage($notice,'notice');
777778
}
778779

779780
}

antispambycleantalk.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<license>GNU/GPLv2</license>
88
<authorEmail>welcome@cleantalk.org</authorEmail>
99
<authorUrl>cleantalk.org</authorUrl>
10-
<version>5.7</version>
10+
<version>5.8</version>
1111
<description>PLG_CLEANTALK_DESCRIPTION</description>
1212
<files>
1313
<filename plugin="antispambycleantalk">antispambycleantalk.php</filename>

plugin-updates.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<updates>
3+
<update>
4+
<name>Antispam by CleanTalk</name>
5+
<description>Antispam plugin for Joomla registrations and contacts, for VurtueMart, Rapid Contact, VTEM Contact, JComments 2.3, 3.0.</description>
6+
<element>antispambycleantalk</element>
7+
<type>plugin</type>
8+
<folder>system</folder>
9+
<client_id>0</client_id>
10+
<client>0</client>
11+
<version>5.8</version>
12+
<infourl title="Antispam by CleanTalk">https://cleantalk.org/joomla-anti-spam-plugin-without-captcha</infourl>
13+
<downloads>
14+
<downloadurl type="full" format="zip">https://github.com/CleanTalk/joomla25-3x-antispam/archive/5.8.zip</downloadurl>
15+
</downloads>
16+
<tags>
17+
<tag>stable</tag>
18+
</tags>
19+
<maintainer>CleanTalk</maintainer>
20+
<maintainerurl>https://cleantalk.org</maintainerurl>
21+
<targetplatform name="joomla" version="[23].*"/>
22+
</update>
323
<update>
424
<name>Antispam by CleanTalk</name>
525
<description>Antispam plugin for Joomla registrations and contacts, for VurtueMart, Rapid Contact, VTEM Contact, JComments 2.3, 3.0.</description>

0 commit comments

Comments
 (0)