Parse BBCode before cuss-word filters.
Then again, I'm not sure if you can do that. Anyways: (pretend potato is a cuss word)
BBCode parser Word filter
Po[b][/b]tato -> Potato -> *
where now it's
Word filter BBCode parser
Po[b][/b]tato -> Po[b][/b]tato -> Potato
edit: lol, had to type [b[b][/b]][/b] instead of [b][/b]. quote & see.
I could do that for days. [b[b[b[b[b[b[b[b][/b]][/b]][/b]][/b]][/b]][/b]][/b]][/b]
Last edited by scratchisthebest (2012-03-07 17:07:54)
Offline
scratchisthebest wrote:
Parse BBCode before cuss-word filters.
Then again, I'm not sure if you can do that. Anyways: (pretend potato is a cuss word)
BBCode parser Word filter
Po[b][/b]tato -> Potato -> *
where now it's
Word filter BBCode parser
Po[b][/b]tato -> Po[b][/b]tato -> Potato
edit: lol, had to type [b[b][/b]][/b] instead of [b][/b]. quote & see.
I could do that for days. [b[b[b[b[b[b[b[b][/b]][/b]][/b]][/b]][/b]][/b]][/b]][/b]
That's what probably would need to happen.
lol you had to do it again so that you could put all of the [b] and [/b]'s in there :P
Last edited by Mokat (2012-03-07 17:23:01)
Offline
cheddargirl wrote:
The Scratch Team is aware of this problem, but it isn't an easy fix. The word filter system on the forums reads things literally, so one would have to input every possible combination of BBCode usage in cuss word to prevent such cheating of the filter.
Now if there's only a way to make FluxBB overlook BBCode...
Pretty sure there is
Offline
imnotbob wrote:
cheddargirl wrote:
The Scratch Team is aware of this problem, but it isn't an easy fix. The word filter system on the forums reads things literally, so one would have to input every possible combination of BBCode usage in cuss word to prevent such cheating of the filter.
Now if there's only a way to make FluxBB overlook BBCode...Pretty sure there is
If that were true, it would have been done a long time ago.
Offline
cheddargirl wrote:
imnotbob wrote:
cheddargirl wrote:
The Scratch Team is aware of this problem, but it isn't an easy fix. The word filter system on the forums reads things literally, so one would have to input every possible combination of BBCode usage in cuss word to prevent such cheating of the filter.
Now if there's only a way to make FluxBB overlook BBCode...Pretty sure there is
If that were true, it would have been done a long time ago.
In the latest version it strips empty BBCodes, then runs the filter...
Another solution is to *gasp* manually check each letter of a word, checking if it matches any of the swears, and if there's BBCode in there, it ignores it, but, OH THE PAIN (for the server).
Offline
scimonster wrote:
cheddargirl wrote:
imnotbob wrote:
Pretty sure there is
If that were true, it would have been done a long time ago.
In the latest version it strips empty BBCodes, then runs the filter...
Another solution is to *gasp* manually check each letter of a word, checking if it matches any of the swears, and if there's BBCode in there, it ignores it, but, OH THE PAIN (for the server).
We don't have the latest version of FluxBB. The forum pretty much uses a hacked version of an old FluxBB system that's been modified over the years so that's something to keep in mind when coming up with a solution.
Offline
I know this sounds like a dumb question, but is it really that hard to make a simple parsing script, then filter it?
Offline
Greenatic wrote:
I know this sounds like a dumb question, but is it really that hard to make a simple parsing script, then filter it?
I don't know much about FluxBB, but probably not that hard. They could have it erase all BBCode from the post, check it, then put the BBCode back.
Offline
cheddargirl wrote:
scimonster wrote:
cheddargirl wrote:
If that were true, it would have been done a long time ago.
In the latest version it strips empty BBCodes, then runs the filter...
Another solution is to *gasp* manually check each letter of a word, checking if it matches any of the swears, and if there's BBCode in there, it ignores it, but, OH THE PAIN (for the server).We don't have the latest version of FluxBB. The forum pretty much uses a hacked version of an old FluxBB system that's been modified over the years so that's something to keep in mind when coming up with a solution.
You said it would have been done. I said it was, but after you installed it.
I didn't like that though; it also made stuff like [b[b][/b]][/b] illegal.
But I could give you the code if you want.
Last edited by scimonster (2012-03-09 04:48:04)
Offline
scimonster wrote:
cheddargirl wrote:
scimonster wrote:
In the latest version it strips empty BBCodes, then runs the filter...
Another solution is to *gasp* manually check each letter of a word, checking if it matches any of the swears, and if there's BBCode in there, it ignores it, but, OH THE PAIN (for the server).We don't have the latest version of FluxBB. The forum pretty much uses a hacked version of an old FluxBB system that's been modified over the years so that's something to keep in mind when coming up with a solution.
You said it would have been done. I said it was, but after you installed it.
I didn't like that though; it also made stuff like [b[b][/b]][/b] illegal.
But I could give you the code if you want.
Well, if you think it could be compatible with 1.2.14, then feel free to share the code.
Offline
The problem is though, then people would just put something like "s-wear" or something
Offline
RedRocker227 wrote:
The problem is though, then people would just put something like "s-wear" or something
Maybe we could have a thing where if certain letters are within a certain number of places of each other, it takes them out? Problem with that is, people could go s-----wear.
Offline
Greenatic wrote:
zippynk wrote:
cheddargirl wrote:
The Scratch Team is aware of this problem, but it isn't an easy fix. The word filter system on the forums reads things literally, so one would have to input every possible combination of BBCode usage in cuss word to prevent such cheating of the filter.
Now if there's only a way to make FluxBB overlook BBCode...Maybe ScratchBB will be able to do that.
Isn't there a way to create another version of a post with BBCode filtered out, and scan that? Of course, you would have to make sure it was real BBCode, or people could just use [curse].
But they still could go like s wear or something or s-wear of s.wear or swe@r or something or maybe even
swear
Offline
Definitely support!
Offline
pietestaccount1234 wrote:
Greenatic wrote:
zippynk wrote:
Maybe ScratchBB will be able to do that.Isn't there a way to create another version of a post with BBCode filtered out, and scan that? Of course, you would have to make sure it was real BBCode, or people could just use [curse].
But they still could go like s wear or something or s-wear of s.wear or swe@r or something or maybe even
swear
I'm pretty sure the filter would catch it if it were in a block.
Offline
cheddargirl wrote:
imnotbob wrote:
cheddargirl wrote:
The Scratch Team is aware of this problem, but it isn't an easy fix. The word filter system on the forums reads things literally, so one would have to input every possible combination of BBCode usage in cuss word to prevent such cheating of the filter.
Now if there's only a way to make FluxBB overlook BBCode...Pretty sure there is
If that were true, it would have been done a long time ago.
Uh, guys....
wolvesstar97 wrote:
I have an idea! It could do a "preview" type thing, copy the text from the preview, and then run the filter! Becuase when its previewed you cant see the BBCode.
Shazam!
Sometimes the easiest solutions are the best.
A weird talent I seem to have is finding simple solutions to problems other people find complex, but for some simple problems I over analyze it and then cant come up with a solution.
Last edited by wolvesstar97 (2012-03-09 19:19:06)
Offline
wolvesstar97 wrote:
cheddargirl wrote:
imnotbob wrote:
Pretty sure there isIf that were true, it would have been done a long time ago.
Uh, guys....
wolvesstar97 wrote:
I have an idea! It could do a "preview" type thing, copy the text from the preview, and then run the filter! Becuase when its previewed you cant see the BBCode.
Shazam!
Sometimes the easiest solutions are the best.
A weird talent I seem to have is finding simple solutions to problems other people find complex, but for some simple problems I over analyze it and then cant come up with a solution.
Some solutions sound easier than they really are - someone would still need to program the filter for FluxBB to scan the message in preview mode.
Offline
cheddargirl wrote:
wolvesstar97 wrote:
cheddargirl wrote:
If that were true, it would have been done a long time ago.Uh, guys....
wolvesstar97 wrote:
I have an idea! It could do a "preview" type thing, copy the text from the preview, and then run the filter! Becuase when its previewed you cant see the BBCode.
Shazam!
Sometimes the easiest solutions are the best.
A weird talent I seem to have is finding simple solutions to problems other people find complex, but for some simple problems I over analyze it and then cant come up with a solution.Some solutions sound easier than they really are - someone would still need to program the filter for FluxBB to scan the message in preview mode.
But if we did that, wouldn't we have to preview everything?
Offline
It's fixed in more recent versions of FluxBB... perhaps our forum system for Scratch 2.0 will already have a fix built in.
Offline
Support!
I don't like it when people curse. It makes me feel unsafe online and it makes my mom and dad ban me from being online. And I'm not kidding.
Offline
Support
Though it did give a good way of bypassing the April's Fools Day censor...
Offline
logiblocs wrote:
Support
Though it did give a good way of bypassing the April's Fools Day censor...
lol yeah.
I guess you could go like Ⓣⓗⓘⓢ!
Or ¡sıɥʇ
(modded text)
Oh darn, someone could bypass the filter this way too
Offline
joefarebrother wrote:
the trouble is, a troll could do any of the following (imagine "lego" was a cuss word):
le[b][/b]go
l*go
le go
l-e-g-o
Let
Everyone
Go
Outside
l.e.g.o
HEY!
Offline