Creating and modifying plugins.
at the moment I am experiencing problems with my comment spam filter. Completely legit comments are market with a spam probability of 95% or higher... Is there a bulk method to train the filter with older comments?
I tried the recycler but a) in Safari / Mac the script seems to be overwhelmed by the number of messages and I have to stop it ("slow script" error) and b) there is no possibility to mark multiple messages there as ham?
Indeed, there isn't. It's normally mostly spam in the recycler. But you can chose a few comments, restore them, and then use the buttons in the comments-section.
I can't use or test with that browser. You could try chromium, the javasript-performance is probably better in that browser.
Yes. Go into the Spamblock-bayes-menu, there to database, and click the button "learn from old". This will learn old comments as ham and comments from your spamlog as spam.
Another question on the same topic:
At the moment I experience a lot of comment spam, which is assigned a too low probability (eg. 80 % or less).
1) Could I train this as spam to raise the probability?
2) If I click the valid or spam buttons nothing happens (like a confirmation) is this the designed behavior or something wrong with my backend?
You are right, i get the following error:
SyntaxError: Parse error
serendipity_admin.php:740ReferenceError: Can't find variable: spam
Same error for "Valid"
The other links work well (information, edit, approve, ...)
Ok, I just checked with my test installation of s9y:
Preparation: completely new installation of the spambayes plugin, change of s9y front and backend to serendipity 2.3
Result: Same error as above for spam and ham clicks.
ps: could someone move this thread to the bugs area please?
Ok here is the step by step:
In the Admin Interface I click Comments -> Result:
SyntaxError: Parse error /plugins/serendipity_event_spamblock_bayes/bayes_commentlist.js:222
Then I click "Spam" and the second error appears:
ReferenceError: Can't find variable: spam serendipity_admin.php:731
Which file should I cat? serendipity_admin does not have more than 400 lines. the comments.tpl neiter...
Ahh. Sure here it is (lines 731 and following)
Ok, the error seems to be limited to safari (most current version). firefox works...
anyone a idea why this does not work in safari? The code below seems to be faulty.
In line 222 of the bayes_commentlist.js is this code:
Who is online
Users browsing this forum: No registered users and 2 guests