This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#851 2011-08-30 13:07:12

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

sparks, I can't find the details.  sad  Can you please email me them again?

Offline

 

#852 2011-08-30 13:37:43

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

sent  smile  I've also fixed the scroll bars  big_smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#853 2011-08-30 13:47:11

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

Hmm, could you put the code for the commenting on the other site?

Offline

 

#854 2011-08-30 13:49:44

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

Re: Welcome to your local block library! - Website development thread.

Now I can't post though. :S

Offline

 

#855 2011-08-30 13:57:25

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

scimonster wrote:

Now I can't post though. :S

Works for me.  hmm

Offline

 

#856 2011-08-30 15:12:09

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

I can't login D:

Offline

 

#857 2011-08-30 15:29:04

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

Magnie wrote:

I can't login D:

Logging in isn't finished yet!

I'm having trouble with the javascript to show/hide the login bar at the top of the page ¬_¬


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#858 2011-08-30 17:22:16

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

Because I don't particularly want to spend ages compiling a list of rude words Amos was kind enough to give me the list used by the Scratch site. However, the commenting system will have the same limitations caused by the Scunthorpe problem as the Scratch one. This means that the word "grapes" will also be blocked once the filter is in place. I really can't see a way around it though!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#859 2011-08-30 18:19:54

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

Re: Welcome to your local block library! - Website development thread.

sparks wrote:

Because I don't particularly want to spend ages compiling a list of rude words Amos was kind enough to give me the list used by the Scratch site. However, the commenting system will have the same limitations caused by the Scunthorpe problem as the Scratch one. This means that the word "grapes" will also be blocked once the filter is in place. I really can't see a way around it though!

Here's an idea!  Why don't you take a list of real words and compare it against the post?

Offline

 

#860 2011-08-30 18:35:35

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

That's what it already does, Greenatic  smile

Imagine that the word "app" is a word we don't want to appear. There are two things we can do.

1) disallow the word app to be posted.

app = blocked
apple = blocked

You can see that the word apple is blocked even though it's not the one we're looking for.

2) disallow the word app to be posted with spaces to either side

app = blocked
apple = not blocked.

In this case app is only removed if there are spaces to either site. However, you could now write .app. or :app: or !app! or app. or any other combination of characters to either site of the word.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#861 2011-08-30 18:51:13

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

Re: Welcome to your local block library! - Website development thread.

sparks wrote:

That's what it already does, Greenatic  smile

Imagine that the word "app" is a word we don't want to appear. There are two things we can do.

1) disallow the word app to be posted.

app = blocked
apple = blocked

You can see that the word apple is blocked even though it's not the one we're looking for.

2) disallow the word app to be posted with spaces to either side

app = blocked
apple = not blocked.

In this case app is only removed if there are spaces to either site. However, you could now write .app. or :app: or !app! or app. or any other combination of characters to either site of the word.

No, that's not what I meant, because of what you mentioned in the last paragraph.  This is what I mean, using your app example:


The user posts "app apple !app!".
1) Check to see if each word contains an inappropiate word.  All the words do.
2) Check to see if each blocked word is a real word.
App is not a valid word.
Apple is.
!app! is not.

Therefore, app and !app! are censored, and combinations like :app: and !app won't work.  In addition, I would automatically replace @ with a, $ with s, etc. before step #1.  That's a smart filter.

Offline

 

#862 2011-08-31 02:17:40

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

Re: Welcome to your local block library! - Website development thread.

sparks wrote:

That's what it already does, Greenatic  smile

Imagine that the word "app" is a word we don't want to appear. There are two things we can do.

1) disallow the word app to be posted.

app = blocked
apple = blocked

You can see that the word apple is blocked even though it's not the one we're looking for.

2) disallow the word app to be posted with spaces to either side

app = blocked
apple = not blocked.

In this case app is only removed if there are spaces to either site. However, you could now write .app. or :app: or !app! or app. or any other combination of characters to either site of the word.

Well, if it checks for spaces or underscores around it, and it has a flag, it should be OK.

Offline

 

#863 2011-08-31 06:15:33

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

So in other words you want the commenting system to check if every word containing a swear word is actually an existing word too? That sounds like a big job compiling a dictionary....

On the other hand a list of common exceptions could be created...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#864 2011-08-31 06:33:37

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

Re: Welcome to your local block library! - Website development thread.

sparks wrote:

So in other words you want the commenting system to check if every word containing a swear word is actually an existing word too? That sounds like a big job compiling a dictionary....

On the other hand a list of common exceptions could be created...

Yeah, a list of exceptions would be good!

Offline

 

#865 2011-08-31 06:37:59

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

One day someone is going to want to write about grapes... There's probably a site somewhere that lists normal words that have rude words inside them...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#866 2011-08-31 06:41:17

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

Re: Welcome to your local block library! - Website development thread.

sparks wrote:

One day someone is going to want to write about grapes... There's probably a site somewhere that lists normal words that have rude words inside them...

And there are a hundred topics here complaining.  tongue

Offline

 

#867 2011-08-31 07:16:49

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

Okay, I'll see what I can rustle up... Amos was complaining that theirs sucks so If I submit my system to them they might even start using it  tongue


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#868 2011-08-31 08:15:55

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

Re: Welcome to your local block library! - Website development thread.

sparks wrote:

Okay, I'll see what I can rustle up... Amos was complaining that theirs sucks so If I submit my system to them they might even start using it  tongue

XD

Offline

 

#869 2011-08-31 08:23:49

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

Hmmm, the problem is doing it in a way that doesn't slow everything down...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#870 2011-08-31 10:28:21

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

You should now be able to log in and comment as yourself here! Please tell me what browser you are using if there are any problems with it!

I haven't managed to hide the login bar until you press "Login" yet, so it's always there if you log out. Admins and librarians: I also fixed the admin page so that you're not logged out all the time!

Last edited by sparks (2011-08-31 10:29:18)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#871 2011-08-31 10:37:46

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

Re: Welcome to your local block library! - Website development thread.

Grr, I can't log in to the admin page.

Offline

 

#872 2011-08-31 10:40:07

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

You can't? That's odd.... Have you tried logging in and out again?

And you didn't log in as Scimonster, did you? You need to log in as scimonster.

Last edited by sparks (2011-08-31 10:40:52)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#873 2011-08-31 10:43:17

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

Re: Welcome to your local block library! - Website development thread.

sparks wrote:

You can't? That's odd.... Have you tried logging in and out again?

And you didn't log in as Scimonster, did you? You need to log in as scimonster.

I'll check. Let's discuss on the test page. lol

Offline

 

#874 2011-08-31 10:47:58

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Welcome to your local block library! - Website development thread.

supported smilies, since I can't get it to post on the test page, are

:) :( :D :angel: O_o :wave: :cool: ¬_¬ v_v :huh: :laugh: :lol: '-' :o :rolleyes: :# :'( :P :unsure: ;)

The smilies came from a free website under the "forum smilies" category

Last edited by sparks (2011-08-31 10:48:57)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#875 2011-08-31 10:53:12

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

Re: Welcome to your local block library! - Website development thread.

I can't post either. :S

Offline

 

Board footer