Member
Member
vincent3569   03-01-2013, 13:19
#1

hi
I'm working on adaptation of akismet spam filter to be a "real" plugin, conforms with the zenphoto plugin architecture...
orginal post about the filter here : http://www.zenphoto.org/support/topic.php?id=9793

I have a question : can I use my beta release of this plugin on older release than 1.4.4 for testing (I have no spam on dev site) ?
To do that, should I suppress all filters in zp-core/zp-extensions/spamfilters/ to avoid any class issues ?

Administrator
Administrator
acrylian   03-01-2013, 17:58
#2

There is a legacySPam plugin in 1.4.4 that allows to run the old style of spamfiltler for the time being (probably abandoned with 1.4.5 then).

Member
Member
sbillard   03-01-2013, 23:05
#3

The older versions of Zenphoto will not properly invoke a spam filter that is changed to be a plugin so you will have to upgrade your site to 1.4.4 in order to test it.

But as acrylian has mentioned, your old plugin can be used as well on that release, so your site will be protected when you ar not testing the new akismet spam filter.

Member
Member
bic   05-01-2013, 11:05
#4

Vincent, thank you for adapting akismet to zenphoto. I have a request for a new option, if it's not too hard to implement:
when the filter is set to [i]Forgiving[/i] it would be nice to have the possibility to disable comment notification for the "forgiven" spam.
I used to keep forgiving enbled, but then my IP was added to a blacklist by my hosting company, due to the notification messages sent from Zenphoto.

Member
Member
vincent3569   05-01-2013, 12:31
#5

I guess you wish to have notifications only for the real messages, but not for "forgiven" spam .
I suppose that it impacts the zenphoto core.
The easiest way is probably to disable message notification in all cases through the existing option.

Member
Member
bic   05-01-2013, 12:50
#6

Yes, your guess is correct. I know that notification involves Zenphoto core, but I suppose the same happens with moderated or rejected messages, so I was wandering if there was an easy way to tell Zenphoto that a forgiven message doesn't necessarily need a notification. Anyway if it's tricky to implement I can live without
Thanks again for the plugin, akismet is really effective in detecting spam!

Member
Member
sbillard   05-01-2013, 18:59
#7

Probably you should open a new feature request ticket for handling of the notification. I can see several options:

  1. email only "accepted" messages
  2. an option for emailing accepted and/or moderated messages.
  3. Maybe even add rejected messages to #2.

But we will need some feedback to understand what people want. Unfortunately neither acrylian nor I actually enable comments on our sites, so have no experience here.

Member
Member
bic   06-01-2013, 18:55
#8

The 3th option is quite scary
Anyway if it's just for me doesn't matter at all. I thought it was possible to do this without involving Zenphoto core, but I realize now I was totally wrong.

Member
Member
vincent3569   06-01-2013, 23:32
#9

hi

you can find a beta release of akismet span filter plugin:
http://www.vincentbourganel.fr/data/akismet_beta.zip
it could be used only with zenphoto 1.4.4

during beta tests, each action of the plugin are logged in debug log.

thanks in advance for feedbacks and bug reports in this post.
vincent

Member
Member
bic   07-01-2013, 17:35
#10

Hi Vincent, I tested your beta version on my dev server (locally) and it seems to work. Of course I made the test with a fake spam author, as you suggest in your hosting page. As soon as I will update my real site (hopefully very soon), I'll test it on a real server.
Cheers
Antonio.

Member
Member
bic   10-01-2013, 11:40
#11

Hi again Vincent,
I've updated my live site and installed your plugin. Everything seems ok, I'll post here if something wrong happens.

Member
Member
vincent3569   08-02-2013, 11:46
#12

hi

The release 2.0 of akismet plugin is now avaliable for ZenPhoto 1.4.4 (and more)

Improvements of 2.0 release

[list]
[*]Rewrite of the plugin to be compliant with ZenPhoto plugin architecture
[/list]
Follow the link :
http://www.vincentbourganel.fr/news/akismet-spam-filter-for-Zenphoto

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.