Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Just because a troll shows up doesn't mean we should start feeding it!! The civil thing to do is ignore it!!! [ Pity for someone so shallow and wretched may also be appropriate, but I digress. ]

For example the code below will hide the contents of someone’s messages (at least with IE7). If you want to see the contents (and possibly vote on it) you can still drill down to the actual node. To use this put it in the "On-Site CSS Markup" section of your Display Settings. Obviosuly replace <userid> with the userid of the troll.

tr.pmnote-<userid> { display: none; } /* Ignore <userid> */

I had some misgivings about this as it felt like censorship. But I think the ability to drill down is a nice compromise when dealing with users who continue to exhibit crude behavior.

I’d like to thank Fletch, perrin, and several Monks who were in the chatterbox a couple months back for the code snippet and thank the Monks in the chatterbox today for giving me advice, especially jZed.

Merry Christmas everyone!!

Update 2008-04-16: I want to draw attention to tye's excellent post about the difference beteween a flamer and a troll and why you should always ignore the troll.

Update 2011-07-20: Some of you may find the suggestions in Blocking users usefull as well, such as the ones in this post by MidLifeXis.

In reply to Do Not Feed the Trolls!!! by Argel

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    [perldigious]: karlgoethebier: Well it is a pretty old and complicated (for me) bit of code I wrote (poorly by my current standards), so I'm expecting everything to break when I add the scoping and find out what else is undesireably scope changed. :-)
    [perldigious]: Ah, thanks choroba, that sort of thing was precisely what I was wondering when I asked.
    [perldigious]: I didn't want to tie up memory unecessarily basically, I wanted to "delete" it specifically to free it up, and wasn't sure I was even accomplishing that.
    [stevieb]: perldigious You should start by writing some unit tests. That'll ensure current functionality doesn't break with changes.
    [choroba]: unit tests++
    [choroba]: The only problem you can't solve by adding more tests is the problem of having too many tests.

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (4)
    As of 2017-07-21 19:57 GMT
    Find Nodes?
      Voting Booth?
      I came, I saw, I ...

      Results (335 votes). Check out past polls.