Hack Forums
Modify spam filter - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hack Forums Official Information (https://hackforums.net/forumdisplay.php?fid=1)
+--- Forum: Site News (https://hackforums.net/forumdisplay.php?fid=2)
+---- Forum: Suggestions and Ideas (https://hackforums.net/forumdisplay.php?fid=134)
+---- Thread: Modify spam filter (/showthread.php?tid=3841596)



Modify spam filter - Mafugsa Bob - Nov 2, 2013

In the coding sections indentation is very important, but the spam filter removes characters that are repeated > 5 times(?), so most indentation screws up, especially in the Python section.

PHP Code

<?php

class SomeClass
{
    function 
SomeFunction()
    {
  if(
someCondition)
  {
    if(
someOtherCondition)
    {
    for(
some; con; ditions)
    {
    if(
someOtherCondition)
    {
    echo 
someVariable;
    }
    }
    }
  }
    }
} 



* - Omniscient - Nov 2, 2013

I'll think about making forum exceptions in the coding area.


* - Mafugsa Bob - Jan 11, 2014

Bump.

Nothing has changed and reading code is still a pain in the ass.


* - 'Snorlax - Jan 11, 2014

Remove the character repeat spam filter... PLEASE

Quote:I'm just gonna give the same answer. It's been suggested, and it's been denied. But for now, I'll close this thread and if Omni feels it
needs to be address, he can reopen/reply to the closed topic and leave a response, just saying though, don't hold your breath.

Made a thread a few days ago. It got denied.. :/


* - RDCA - Jan 11, 2014

I would also like to see this, it seems extremely beneficial.


* - 1n9i9c7om - Jan 11, 2014

(Nov 2, 2013 01:36 PM)Omniscient Wrote:  I'll think about making forum exceptions in the coding area.

That'd be pretty cool, however, you made the post a while ago.
Are you still thinking about doing this?


* - Omniscient - Jan 11, 2014

Test

55555
666666
7777777

I've adjusted it.


* - Tester - Jan 11, 2014

55
66
77

Testing the filter check.

Test

55
66
77

I've adjusted it.

Test

55555
666666
77

I've adjusted it.


* - Omniscient - Jan 11, 2014

You should now be able to do 6 repeating characters before it's cut. If you go over the 6 repeating characters it will but it back to just 6.

55555
666666
777777
888888


* - Douchebag # 145 - Jan 11, 2014

I just want to say this was an awesome suggestion and I'm glad Omni went through with it.


* - xhflhkeuhwguu34 - Jan 12, 2014

999999

ZOMG more characters. No more broken color BBCode! Woot!


* - Mung - Jan 12, 2014

Thankyou Omni, much of a help.
I started getting frustrated aswell because when I did this at the end of my sentence '...' it cut it down to '..', which my OCD went AWOL over.

666666 666666 |||| 999999 999999
Wooo!


* - 1n9i9c7om - Jan 12, 2014

Thanks, Omni. :)
However, 6 isn't that much when you use spaces instead of tabs in your code, but I guess I'll just change it to tabs then. :P