This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » BBCode in the middle of cuss words- fix this please!

#51 2012-03-07 17:04:44

scratchisthebest
Scratcher
Registered: 2009-02-08
Posts: 500+

Re: BBCode in the middle of cuss words- fix this please!

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)


bye 1.4, we all loved you. but we all outgrew the site. 2.0 is a welcome change.
http://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.png

Offline

 

#52 2012-03-07 17:22:32

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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)


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#53 2012-03-07 18:22:02

imnotbob
Scratcher
Registered: 2010-12-11
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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


PesterChum Handle: annoyingAnchorman
durp yo terezi sup sup gotta beat john gotta beat john

Offline

 

#54 2012-03-08 00:35:48

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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.  neutral


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#55 2012-03-08 12:34:55

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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.  neutral

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

 

#56 2012-03-08 15:57:21

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

scimonster wrote:

cheddargirl wrote:

imnotbob wrote:

Pretty sure there is

If that were true, it would have been done a long time ago.  neutral

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.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#57 2012-03-08 18:01:55

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

I know this sounds like a dumb question, but is it really that hard to make a simple parsing script, then filter it?

Offline

 

#58 2012-03-08 19:26:58

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#59 2012-03-08 19:30:19

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

veggieman001 wrote:

I've actually never seen this happen. What I have seen is people replacing letters with accented versions though.

Like ê,ç, and ú?


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#60 2012-03-09 04:47:32

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

cheddargirl wrote:

scimonster wrote:

cheddargirl wrote:

If that were true, it would have been done a long time ago.  neutral

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.  tongue

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

 

#61 2012-03-09 05:20:07

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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.  tongue

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.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#62 2012-03-09 05:55:27

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

The problem is though, then people would just put something like "s-wear" or something  hmm


Why

Offline

 

#63 2012-03-09 08:47:57

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

RedRocker227 wrote:

The problem is though, then people would just put something like "s-wear" or something  hmm

Maybe we could have a thing where if certain letters are within a certain number of places of each other, it takes them out?  hmm  Problem with that is, people could go s-----wear.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#64 2012-03-09 17:49:48

pietestaccount1234
Scratcher
Registered: 2012-01-25
Posts: 10

Re: BBCode in the middle of cuss words- fix this please!

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

 

#65 2012-03-09 18:54:10

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: BBCode in the middle of cuss words- fix this please!

Definitely support!

Offline

 

#66 2012-03-09 18:57:40

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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.


Why

Offline

 

#67 2012-03-09 19:17:48

wolvesstar97
Scratcher
Registered: 2011-08-31
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

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.  neutral

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)


https://dl.dropbox.com/u/33551365/psyko.png

Offline

 

#68 2012-03-09 22:51:54

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

wolvesstar97 wrote:

cheddargirl wrote:

imnotbob wrote:


Pretty sure there is

If that were true, it would have been done a long time ago.  neutral

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.  hmm


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#69 2012-03-10 11:10:48

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

cheddargirl wrote:

wolvesstar97 wrote:

cheddargirl wrote:


If that were true, it would have been done a long time ago.  neutral

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.  hmm

But if we did that, wouldn't we have to preview everything?


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#70 2012-04-03 06:04:36

analytic
New Scratcher
Registered: 2012-02-20
Posts: 90

Re: BBCode in the middle of cuss words- fix this please!

This is quite a large problem.

Offline

 

#71 2012-04-03 10:36:41

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

It's fixed in more recent versions of FluxBB... perhaps our forum system for Scratch 2.0 will already have a fix built in.


Posts: 20000 - Show all posts

Offline

 

#72 2012-04-03 15:44:40

SplatKirby
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: BBCode in the middle of cuss words- fix this please!

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.     tongue     And I'm not kidding.


http://gifninja.com/animatedgifs/205654/well-this-is-awkward.gif

Offline

 

#73 2012-04-03 22:54:14

logiblocs
Scratcher
Registered: 2010-05-05
Posts: 100+

Re: BBCode in the middle of cuss words- fix this please!

Support

Though it did give a good way of bypassing the April's Fools Day censor...  smile

Offline

 

#74 2012-04-04 08:59:24

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: BBCode in the middle of cuss words- fix this please!

logiblocs wrote:

Support

Though it did give a good way of bypassing the April's Fools Day censor...  smile

lol yeah.
I guess you could go like Ⓣⓗⓘⓢ!
Or  ¡sıɥʇ
(modded text)
Oh darn, someone could bypass the filter this way too


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#75 2012-04-04 19:19:48

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: BBCode in the middle of cuss words- fix this please!

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!


http://pekkit.net/banners/pekkit.png

Offline

 
  • Index
  •  » Suggestions
  •  » BBCode in the middle of cuss words- fix this please!

Board footer