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!

#26 2012-02-26 02:57:21

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

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

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

Well, if we have it run the filter after all the BBCode, but do it twice. In the first, use $text, but in the second, use strip_html($text).

Actually, that wouldn't work, because it wouldn't know how to put the HTML back.  tongue

Offline

 

#27 2012-02-26 15:22:24

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

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

HAS ANYONE NOTICED THE FORUM FILTERS ALL-CAPS MESSAGES? THIS CAN ALSO BY BYPASSED BY USING A SINGLE BBCODE!


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#28 2012-02-26 15:44:08

stevetheipad
Scratcher
Registered: 2011-08-06
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...

The censor system should be easy to modify to disqualify [b],[i] etc.


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#29 2012-02-26 20:40:07

IHeartGaming
Scratcher
Registered: 2010-07-23
Posts: 1000+

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

Support. But I use this for BBCode in the message, like this: [i]Supported.[/i]


IHeartGaming

Offline

 

#30 2012-02-27 11:03:14

Andres-Vander
Scratcher
Registered: 2010-09-16
Posts: 1000+

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

I've honestly never seen this happen, how big of a problem could it really be?


http://www.gifsoup.com/view1/2260823/flugelhorn-feline-o.gif

Offline

 

#31 2012-02-27 11:25:42

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

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

Andres-Vander wrote:

I've honestly never seen this happen, how big of a problem could it really be?

It depends.  I mean, if someone really wanted to troll, they could make a fairly large impact.


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#32 2012-02-27 12:01:46

Zeusking19
Scratcher
Registered: 2011-07-10
Posts: 1000+

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

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.

Yeah, if we figure it out...


http://i49.tinypic.com/2w7e1jm.pnghttp://dragcave.net/image/eFGFz.gifhttp://dragcave.net/image/9hE5q.gif

Offline

 

#33 2012-02-27 12:53:39

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

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

1) create a copy of the text to work with
2) strip out bbcode of the copy
3) strip out spaces and newlines of the copy
4)run the filter on the copy
5)calculate what was striped so it knows the position where the swear words appeard
6)censor it

This probably will work.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#34 2012-02-27 17:14:20

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

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

joefarebrother wrote:

1) create a copy of the text to work with
2) strip out bbcode of the copy
3) strip out spaces and newlines of the copy
4)run the filter on the copy
5)calculate what was striped so it knows the position where the swear words appeard
6)censor it

This probably will work.

It probably will work, but it would take awhile for it to do all of this so posts wouldn't show up instantaniously. I guess waiting for the post to show up is better than people saying cuss words.


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

 

#35 2012-02-28 05:24:00

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

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

An update to FluxBB at some point fixed this, but also created a bug where you can't show BBCode literally outside of a code box... They removed all empty BBCodes.

Offline

 

#36 2012-02-28 18:50:08

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

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

:/ I'm sure no matter what people would find workarounds  sad

Last edited by Mokat (2012-02-28 18:50:40)


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

 

#37 2012-02-28 18:54:42

mewkid
Scratcher
Registered: 2010-08-16
Posts: 100+

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

Support! My test account supports too  tongue

Offline

 

#38 2012-02-28 20:50:34

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

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

mewkid wrote:

Support! My test account supports too  tongue

mewkid_test? I'm just guessing  tongue


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

 

#39 2012-02-28 21:10:27

Liru
Scratcher
Registered: 2012-01-11
Posts: 1000+

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

Well, Ponify just replaces words to something else, I'm sure it's possible to do this. Whenever someone says that word it just changes to buck to me anyway, it's pretty funny to watch people rage in ponese.

Offline

 

#40 2012-02-29 09:26:01

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

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

Liru wrote:

Well, Ponify just replaces words to something else, I'm sure it's possible to do this. Whenever someone says that word it just changes to buck to me anyway, it's pretty funny to watch people rage in ponese.

@Liru: For me it changes to "****". It would be funny to see people do that, but with the word "buck"  lol

Last edited by Mokat (2012-02-29 09:28:48)


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

 

#41 2012-03-01 03:36:38

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

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

It is a large problem.
bump


http://trinary.tk/images/signature_.php

Offline

 

#42 2012-03-01 08:23:45

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

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

trinary wrote:

It is a large problem.
bump

indeed.


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

 

#43 2012-03-01 11:51:44

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

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

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


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#44 2012-03-01 18:29:54

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

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

Wouldn't the second one be the same as censoring it?  hmm


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

 

#45 2012-03-02 18:13:19

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

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

buuuuuuuummmmp!


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

 

#46 2012-03-02 18:33:05

ProgramCAT
Scratcher
Registered: 2011-12-13
Posts: 500+

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

I'm attempting (and failing) to code a filter which strips and replaces bbcode.


Programming is an art...
Goodbye, Scratch. I am leaving because of the exams coming up at our school, though I'll check the forums once or twice a week.

Offline

 

#47 2012-03-04 15:52:56

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

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

Mokat wrote:

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

Wouldn't the second one be the same as censoring it?  hmm

no because anyone would know what a swear word is if one letter is replaced with a star


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#48 2012-03-07 00:42:10

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

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

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.


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

Offline

 

#49 2012-03-07 08:42:27

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

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

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.

Oh yeah!


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

 

#50 2012-03-07 10:05:57

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

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

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


Posts: 20000 - Show all posts

Offline

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

Board footer