Keywords in filtering doesn't seem to work 5 years 8 months ago #1

  • Marina
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 16
Using the latest version of Joomla (3.8.12) with PHP 7.2.9 and the Spam Protect 1.1.
I am not getting the expected results when using a keyword in the filtering options. It is detecting the keyword in the name, but it doesn't do that when the keyword is used in the username.
Also entering multiple keywords doesn't seem to be working either for detection. I have tried separating them per line, with a comma, with a comma and space..
When saving the configuration, I get an error 0 Call to undefined function recursive_array_diff() even though the configuration change has been saved.
Am I doing something wrong, or is there something else going on?
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #2

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 4856
Hello!

To separate multiple entries in the keyword section you should use comma (,)

Can you post a screenshot of the settings page (Filters tab)? Also please provide example of registration form data that is failing to be detected as spam?
thePHPfactory Customer Support
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #3

  • Marina
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 16
Hi Alexandru,

Attached a spamprotect.png file which has a screenshot of the filter settings.
Using a keyword in the username: The second (spamprotect1.png) one was being allowed to register. The third one (spamprotectblocked.png) was successfully blocked.
Using a keyword in the name: A name like "testing viagra" was successfully blocked, but a name like "testing cialis" was not blocked (but that might have been because the keyword was actually having a capital as first letter in the settings?? Because using a name like "testing Cialis" was being blocked.
Last Edit: 5 years 8 months ago by Marina.
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #4

  • Marina
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 16
And every time I save the config of the options I am getting the attached error.
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #5

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 4856
1. We've just released a new version of the extension that contains a fix regarding this. Let us know if the issue persists.

2. Regarding the recursive_array_diff() error: this does not seem to be generated by our extension. For debugging purposes, enable System Debug and set Error Reporting to Maximum from backend Global Configuration and try again. You should now be receiving a more detailed error message. Can you paste here the message?
thePHPfactory Customer Support
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #6

  • Marina
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 16
Thanks for the new version. I can see you have added an option in the filter page.

Debugging shows the error apparently is caused with a Foollog component, so I suppose that we have to ask Foollog about this.

Will get back to you after testing.
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #7

  • Marina
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 16
The error with Foollog has been resolved, so I will get on with testing the keywords.

Are the keywords case sensitive? If yes, that would mean I would have to add each and every possibility with certain keywords? Is there any limit in the amount of keywords that can be added or is that limitless?
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #8

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 4856
Since the last version, the keywords are NOT case sensitive any more.
No, there is no limit.
thePHPfactory Customer Support
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #9

  • Marina
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 16
Well, done some extensive testing.
Keywords are now not case sensitive, so that is great.
But when a keyword is entered in the email address, it is not being flagged.
Keywords do get flagged correctly in name and username, but not in the email address.

And another thing I found, while in the logs page the time logged is okay, but in the dashboard, the time logged is 2 hours off.
Last Edit: 5 years 8 months ago by Marina.
The administrator has disabled public write access.

Keywords in filtering doesn't seem to work 5 years 8 months ago #10

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 08:49
  • Europe/Bucharest
  • Posts: 4856
Can you provide an example? What have you entered in the keyword filter list and what email address is not being blocked?
thePHPfactory Customer Support
The administrator has disabled public write access.