Your Moodle version

Blocks: Spam deletion

block_spam_deletion
Maintained by Dan at desk in Moodle HQ, Perth Dan Poltawski, Picture of David Mudrák David Mudrák
The spam deletion block is used for detecting and deleting spam.
17
10
4

To install the block:

  • Add the block to the front page
  • Edit the block settings
  • Change 'Page contexts' to 'Display through the entire site'

See the discussion Spam reporting and removal for further information and tracker links.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Dan at desk in Moodle HQ, Perth
Dan Poltawski (Lead maintainer)
Picture of Helen Foster
Helen Foster: UI texts fixes
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Mary Cooch
    Tue, Feb 26, 2013, 2:58 AM
    Just a note to say when I tried this, you could only add the block from the front page and then make it "sticky" for it to work. The instructions on the download page are the default instructions for any block and they are therefore confusing, I think.
  • Dan at desk in Moodle HQ, Perth
    Tue, Feb 26, 2013, 10:47 AM
    Thanks Mary - I updated the plugin info to add some info about it.
  • Picture of Daniel Neis Araujo
    Tue, Jun 3, 2014, 3:57 AM
    Hello,

    I've updated the code to work on 2.7 https://github.com/danielneis/block-spam_deletion
    Hope that you like.
  • Picture of Andrew Davis
    Tue, Oct 21, 2014, 3:04 AM
    In Moodle 2.8 there are two warnings on blocks/spam_deletion/viewvotes.php. Everything still works so its not a big problem.

    You need to update your sql to include additional name fields in the user object.
    line 3581 of /lib/moodlelib.php: call to debugging()
    line 517 of /blocks/spam_deletion/lib.php: call to fullname()
    line 761 of /lib/tablelib.php: call to spam_report_table->col_spammer()
    line 1385 of /lib/tablelib.php: call to flexible_table->format_row()
    line 1497 of /lib/tablelib.php: call to table_sql->build_table()
    line 36 of /blocks/spam_deletion/viewvotes.php: call to table_sql->out()

    You need to update your sql to include additional name fields in the user object.
    line 3581 of /lib/moodlelib.php: call to debugging()
    line 563 of /blocks/spam_deletion/lib.php: call to fullname()
    line 761 of /lib/tablelib.php: call to forum_spam_report_table->col_votecount()
    line 1385 of /lib/tablelib.php: call to flexible_table->format_row()
    line 1497 of /lib/tablelib.php: call to table_sql->build_table()
    line 36 of /blocks/spam_deletion/viewvotes.php: call to table_sql->out()
  • Just wondering . . .
    Thu, Dec 31, 2015, 4:25 PM
    Just checking:

    Is this the same bloock that appears on Moodle.org?
    Is it working with Moodle 3.0.1?

    -Derek
  • Dan at desk in Moodle HQ, Perth
    Thu, Dec 31, 2015, 4:41 PM
    Hi Derek,

    Yes it is (to both questions), however I don't think the latest version has been published yet. It's unfortunately one of these plugins we end up doing rapid changes to in response to some spam threat and then don't always get to publishing and there was some consideration of trying to avoid publishing the changes in the hope that spammers wouldn't use the code inspection to bypass the defences more easily. (David Mudrák was mostly recently working on it, so i'm a bit hazy on the details).

    Are you trying to use the block a the moment?
  • Just wondering . . .
    Thu, Dec 31, 2015, 5:14 PM
    Thanks Dan. I'm actually not quite sure of my facts.
    I asked over here: https://moodle.org/mod/forum/discuss.php?d=325253#p1306862 about the "Report to moderator" link on Moodle.org.
    This is all I am really interested in.

    So: No, I am, not using it at the moment.
    So my question is: does this give the "Report to Moderator" link in each post?

    -Derek
  • Just wondering . . .
    Sun, Jan 3, 2016, 8:07 AM
    David and Dan: I have a second off topic question I have been had for weeks now, ever since I had my once a year delve deep into the bowels of the plugin world. Why are so many plugins not updated on the database here so that it says "ready for 3.0" (or even 2.9)?
    If you google "Ready for Moodle 3.0" there are tons of these,and I've looked at a lot as well.

    Is it just people are too busy?
    Is it a difficult process to do for the coder?
    Is there a humongous backlog in at HQ?
    Do coders not really care?
    Or is it just like documentation. It's the last thing we bother to do and we hate it. ("Oh no, 3.1 is coming, I'll have to update the plugins database again!!")

    To have this sorted more consistently would help a lot.

    -Derek
  • Picture of Helen Foster
    Mon, Jan 4, 2016, 3:18 PM
    Hi Derek,

    To answer your question 'does this give the "Report to Moderator" link in each post?' - yes it does, though we've customised the wording from "Report as spam".

    Regarding your off-topic question, how about posting it in one of the forums in Moodle in English?
Please login to post comments