NO SPAM and error in SPIP Forum

Hello,
It was last year when I sent an email to SPIP mailing list about an error on my website forum. When I posted even 2 paragraphs Farsi message (right to left), I gave an error that it must be at last 10 characters.
The error was because of NO SPAM plugin. It was fixed by changing the line
$texte = trim(preg_replace(’,[\W]+,ims’,’ ‹ ,$texte));
To
$texte = trim(preg_replace( ›,[\W]+,uims’,’ ',$texte));
In file /nospam/nospam_pipelines.php
Now the plugin has updated and I give the same error. I cannot find above lines in updated version. I have SPIP version 2.0.10 /14698.
Any solution?
Thank you
Kamran
PS: http://www.mail-archive.com/spip-en@rezo.net/msg00382.html

---------- Forwarded message ----------
From: kamran Mir Hazar <kamran_mirhazar@yahoo.com>
Date: Sun, Feb 14, 2010 at 9:32 AM
Subject: [Spip-en] NO SPAM and error in SPIP Forum
To: spip-en@rezo.net

Hello,
It was last year when I sent an email to SPIP mailing list about an error on my website forum. When I posted even 2 paragraphs Farsi message (right to left), I gave an error that it must be at last 10 characters.
The error was because of NO SPAM plugin. It was fixed by changing the line
$texte = trim(preg_replace(’,[\W]+,ims’,’ ‹ ,$texte));
To
$texte = trim(preg_replace( ›,[\W]+,uims’,’ ',$texte));
In file /nospam/nospam_pipelines.php
Now the plugin has updated and I give the same error. I cannot find above lines in updated version. I have SPIP version 2.0.10 /14698.
Any solution?
Thank you
Kamran
PS: http://www.mail-archive.com/spip-en@rezo.net/msg00382.html


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Hi,
Maybe there is another issue. He has added the following lines in to file nospam/inc/nospam.php

$texte = PtoBR($texte);
$texte = preg_replace(‹ ,<a.*,Uims ›,‹  ›,$texte);
$texte = trim(preg_replace(‹ ,[\W]+,uims ›,’ ',$texte));
return strlen($texte);

When I disable that plugin, I don’t give that error, but immediately several spam will be posted.
Kamran


From: Gilles VINCENT gilles.vincent@gmail.com
To: kamran Mir Hazar editor@kabulpress.org
Sent: Sun, February 14, 2010 11:03:00 AM
Subject: Re: [Spip-en] NO SPAM and error in SPIP Forum

Hi,

I’ve forwarded your message to the list spip-zone.
I think the developpers of nospam have forgotten your bug in their update.

.Gilles

On Sun, Feb 14, 2010 at 9:32 AM, kamran Mir Hazar <kamran_mirhazar@yahoo.com> wrote:

Hello,
It was last year when I sent an email to SPIP mailing list about an error on my website forum. When I posted even 2 paragraphs Farsi message (right to left), I gave an error that it must be at last 10 characters.
The error was because of NO SPAM plugin. It was fixed by changing the line
$texte = trim(preg_replace(‹ ,[\W]+,ims ›,’ ‹ ,$texte));
To
$texte = trim(preg_replace( ›,[\W]+,uims’,’ ',$texte));
In file /nospam/nospam_pipelines.php
Now the plugin has updated and I give the same error. I cannot find above lines in updated version. I have SPIP version 2.0.10 /14698.
Any solution?
Thank you
Kamran
PS: http://www.mail-archive.com/spip-en@rezo.net/msg00382.html


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

---------- Forwarded message ----------
From: kamran Mir Hazar <kamran_mirhazar@yahoo.com>
Date: Sun, Feb 14, 2010 at 11:33 AM
Subject: Re: [Spip-en] NO SPAM and error in SPIP Forum
To: spip-en@rezo.net

Hi,
Maybe there is another issue. He has added the following lines in to file nospam/inc/nospam.php

$texte = PtoBR($texte);
$texte = preg_replace(‹ ,<a.*,Uims ›,‹  ›,$texte);

$texte = trim(preg_replace(‹ ,[\W]+,uims ›,’ ',$texte));

return strlen($texte);

When I disable that plugin, I don’t give that error, but immediately several spam will be posted.
Kamran


From: Gilles VINCENT <gilles.vincent@gmail.com>
To: kamran Mir Hazar <editor@kabulpress.org>
Sent: Sun, February 14, 2010 11:03:00 AM
Subject: Re: [Spip-en] NO SPAM and error in SPIP Forum

Hi,

I’ve forwarded your message to the list spip-zone.
I think the developpers of nospam have forgotten your bug in their update.

.Gilles

On Sun, Feb 14, 2010 at 9:32 AM, kamran Mir Hazar <kamran_mirhazar@yahoo.com> wrote:

Hello,
It was last year when I sent an email to SPIP mailing list about an error on my website forum. When I posted even 2 paragraphs Farsi message (right to left), I gave an error that it must be at last 10 characters.
The error was because of NO SPAM plugin. It was fixed by changing the line
$texte = trim(preg_replace(‹ ,[\W]+,ims ›,’ ‹ ,$texte));
To
$texte = trim(preg_replace( ›,[\W]+,uims’,’ ',$texte));
In file /nospam/nospam_pipelines.php
Now the plugin has updated and I give the same error. I cannot find above lines in updated version. I have SPIP version 2.0.10 /14698.
Any solution?
Thank you
Kamran
PS: http://www.mail-archive.com/spip-en@rezo.net/msg00382.html


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en


spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en