aphid schrieb:
> I'd love for this to be in config.php - I've made a number of
> customizations that I've mostly managed to keep inside the template
> folder.. I'm trying to keep the upgrade process as streamlined as
> possible, so as few changes that can be made inside the /lib folder the
> better.
Already discussed with DanFr. Reconsidering this now it would make sense
to put the number into config.ini, so that spammers will have to try out.
But we should better get the heuristics right, so that no one
complains. So thanks a lot for your input.
Maybe add some UserPref property for trusted users,
that will not be checked for spam and likewise?
Or a new UserGroup?
> On Sep 24, 2005, at 6:36 AM, Reini Urban wrote:
>> aphid schrieb:
>>> how might i turn off the 20 link limit on posts? all my users are
>>> authenticated and some paste very long pre-written essays with lots
>>> of urls in them.
>>
>> Good point.
>> Enhance the number in lib/editpage.php at isSpam()
>>
>> // 1. Not more then 20 new external links
>> if ($this->numLinks($newtext) - $this->numLinks($oldtext) >= 20)
>>
>> Maybe a better idea is to calc the ratio of number of
>> plain text chars / number of links and don't consider it spam if the
>> ratio is high enough. I'll try that out.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/
|