This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » Filter messages when quoting - and I also explained how!

#1 2012-09-24 20:31:23

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Filter messages when quoting - and I also explained how!

When quoting a message, if it contains inappropriate words, it still shows them.

However, this can be fixed with a small amount of code.

I posted the solution here.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#2 2012-09-24 20:49:47

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Filter messages when quoting - and I also explained how!

One problem with that:  what if the word is wrongly censored? (ex, if skyscraper was wrongly censored.)  They'd then have to go look in the database, which would take much too long, especially as mods have no access to the database.
What might be a better solution is that if the user is not a mod/admin, then it shows like you said.  However, if the user is a mod/admin, there's a little checkbox or  radio button saying "Show censored words" or something.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#3 2012-09-24 21:33:49

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Filter messages when quoting - and I also explained how!

SJRCS_011 wrote:

One problem with that:  what if the word is wrongly censored? (ex, if skyscraper was wrongly censored.)  They'd then have to go look in the database, which would take much too long, especially as mods have no access to the database.
What might be a better solution is that if the user is not a mod/admin, then it shows like you said.  However, if the user is a mod/admin, there's a little checkbox or  radio button saying "Show censored words" or something.

That would be too complicated. Also, the user would probably know if the word was censored incorrectly and then post it separately (separating the letters by spaces or something).

[semi offtopic]Am I the first person to provide a suggestion and all of the code necessary to do it?


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 
  • Index
  •  » Suggestions
  •  » Filter messages when quoting - and I also explained how!

Board footer