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

#126 2012-01-04 12:23:56

sdg1
Scratch Team
Registered: 2010-07-06
Posts: 41

Re: Scratch Forum Development Thread

Lightnin wrote:

Magnie wrote:

Lightnin: Also, how do you plan on adding Authentication from other sites ( like, if I had my own site and I wanted users to authenticate as a user from Scratch )? Will there be a special protocol ( to keep everyone's passwords, etc secure ) or will it be the plain text way where the site they are logging in from just send the username and password to the Scratch site and Scratch will reply if the username and password are correct or not (thus the Scratchers' passwords could easily be logged by the Third-Party site)?

We're not certain exactly how this will work yet. Sdg1, who is working on the back end of Scratch 2.0, is away right now but when he returns we'll definitely talk about this. It might be best to implement an open-source established protocol, like openid or something. But really sdg is the one who knows about this stuff - It's really beyond my expertise.

But the reason I'd like to use a protocol that someone else has thought through already is that there are many many bright minds working out all the security issues related to that platform. If you roll your own, then it's up to you to imagine all the zillion different ways it can be attacked (and patch them). That can quickly get overwhelming.

I'm currently looking at CAS (http://en.wikipedia.org/wiki/Central_Authentication_Service) as a possible candidate for this kind of system. Other options include OpenID and OAuth, but at the moment CAS seems to be the most simple mechanism which meets our requirements.

Offline

 

#127 2012-01-04 12:34:36

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

Re: Scratch Forum Development Thread

sdg1 wrote:

Lightnin wrote:

Magnie wrote:

Lightnin: Also, how do you plan on adding Authentication from other sites ( like, if I had my own site and I wanted users to authenticate as a user from Scratch )? Will there be a special protocol ( to keep everyone's passwords, etc secure ) or will it be the plain text way where the site they are logging in from just send the username and password to the Scratch site and Scratch will reply if the username and password are correct or not (thus the Scratchers' passwords could easily be logged by the Third-Party site)?

We're not certain exactly how this will work yet. Sdg1, who is working on the back end of Scratch 2.0, is away right now but when he returns we'll definitely talk about this. It might be best to implement an open-source established protocol, like openid or something. But really sdg is the one who knows about this stuff - It's really beyond my expertise.

But the reason I'd like to use a protocol that someone else has thought through already is that there are many many bright minds working out all the security issues related to that platform. If you roll your own, then it's up to you to imagine all the zillion different ways it can be attacked (and patch them). That can quickly get overwhelming.

I'm currently looking at CAS (http://en.wikipedia.org/wiki/Central_Authentication_Service) as a possible candidate for this kind of system. Other options include OpenID and OAuth, but at the moment CAS seems to be the most simple mechanism which meets our requirements.

Ok then.


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

Offline

 

#128 2012-01-04 22:47:09

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

Re: Scratch Forum Development Thread

scimonster wrote:

This sounds amazing.  big_smile  If you are doing it (I haven't read it all  tongue ), I might submit bits of code.  smile
BTW, some people don't want Scratch Time to disappear.

psst... you'd be able to set it to whatever time zone you wanted


Posts: 20000 - Show all posts

Offline

 

#129 2012-01-04 23:02:52

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

Re: Scratch Forum Development Thread

For planning, lets discuss what features we want in the forums.

ScratchBB Forum Software
- Categories
- Sub (sub, sub, etc) categories/boards
- Topics ( Titles, Descriptions?, Icons? )
- Posting ( Titles, Icons? )
- BBCode ( Decorating posts with Bold, Colors, etc, quotes )
- Smileys
- Modification of Topic titles, descriptions?, and icons?
- Topic Previews of first post
- Modification of Posts titles, content, icons?
- Previous post versions will be view-able
- Deletion of posts
- Users
- User Groups
- User Permissions ( Global or board specific permissions )
- Authentication/Account Creation through Scratch
- Avatars? (should it be optional for the forum admins to enable or disable avatars?)
- Signatures
- User Profiles?
- Skins/Themes, Custom Skins/Themes ( with CSS? )
- Admin Panel
. Ability to Create, Modify, or Delete boards/categories
. Ability to add custom BBCode
. Ability to add, modify, or delete User Group Permissions
- Moderator Options and Panel?
- Post backups?
- Allow mods to see a deleted post and if needed, be able to recover it
- http://scratch.mit.edu/forums/viewtopic … 1#p1080221 / Stickies Section
- Allow Stickies Section to be collapsible
- Quotes summaries/Scroll Bar/Single Line Summary
- Quote Summaries can be expanded to full post
- Forced Sticky Read? ( I kind of go against this, but whatever )
- Thread following, favourite threads, Favourite Threads section under the Stickies Section
. Basically Official Sticky Section, User Sticky Section
- Markers to mark what "state" your topic is in ( Example: [SOLVED] How do you get a signature? )
- Show My Topics/Posts
- Watching a topic ( you get an email when it's posted in )
- User Profile
- Customizable user-profile
. User-profiles use the CSS/Theme/Skin the user is using to browse the forums?

ScratchBB Site/Forum
- Split AT into Advanced Scratching, Scratch Mods, Programming/Coding
- Topic icons will be
. Gray for closed
. Black for not being posted in over a month
. Blue for last post by a user
. Green for last post by a Mod or Admin
- Scratch Cat Smileys
- Topic title change time limit increased to 1 hour
- Allow "New Scratchers" to delete their post within 3 minutes
- No Avatars
- An "Everything" Category

Just as a quick basic list to start from. Don't leave anything out (add question marks for possibilities).

We really do want to discuss each and every single feature we want in the forums so we know exactly what to add.  smile

Should we have this as the "Official List" or would we like to put it somewhere else?

Last edited by Magnie (2012-01-07 15:38:05)

Offline

 

#130 2012-01-05 01:35:44

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

Re: Scratch Forum Development Thread

Magnie wrote:

For planning, lets discuss what features we want in the forums.

- Categories
- Sub (sub, sub, etc) categories/boards
- Topics ( Titles, Descriptions?, Icons? )
- Posting ( Titles, Icons? )
- BBCode ( Decorating posts with Bold, Colors, etc, quotes )
- Smileys
- Modification of Topic titles, descriptions?, and icons?
- Modification of Posts titles, content, icons?
- Deletion of posts
- Users
- User Groups
- User Permissions ( Global or board specific permissions )
- Authentication/Account Creation through Scratch
- Avatars?
- Signatures
- User Profiles?
- Skins/Themes, Custom Skins/Themes ( with CSS? )
- Admin Panel
- Moderator Options and Panel?

Just as a quick basic list to start from. Don't leave anything out (add question marks for possibilities).

We really do want to discuss each and every single feature we want in the forums so we know exactly what to add.  smile

Should we have this as the "Official List" or would we like to put it somewhere else?

I think we should use the same board structure as we currently have, but actually, maybe we could have sub-boards. So, for example, AT could be split into "Advanced Scratching", "Mods", "Web coding", "Other coding".
On topic list pages, I think it should show the topic title the way it currently does, and the first x characters of the message (newlines and spaces reduced) in a smaller font. This could be disabled though. The icons next to the title could be improved. Gray for closed, black for no-posts-in-over-a-month, blue for last-post-by-scratcher-or-new-scratcher, and maybe green for last-post-by-admin-or-mod.
Posting I think we should try to duplicate.
All current BBCode (except [blocks], which we would use JSO's new parser for) we should add, and also several suggestions, such as changing font face and size (reasonably), adding background color, text alignment, and strike-through.
We should use those new Scratch Cat smileys I mentioned earlier.  big_smile
Topic titles could be edited for about an hour, which I think is better than the current 5 or so minutes.
Post editing would work pretty much the same as currently, though I think you could check a box that allows the previous version to be viewable instead.
The current rule of only Scratchers deleting posts is a good one, though maybe for 3 minutes a New Scratcher could? Any deleted post could be recoverable/viewable by a mod. Now, only posts deleted by mods are viewable to them, and I don't know about recoverable.

I'm tired of writing now, I'll get to the rest of the list later.  tongue

Offline

 

#131 2012-01-05 06:52:25

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

Re: Scratch Forum Development Thread

There is certainly a lot to discuss and I think a list would be a good idea. Perhaps I shall transport Magnie and sci's list to the first post? I probably need to edit that to be a little less tentative now anyway  tongue

Here's an idea I've quickly HTML'd together as a solution to stickies. I think whilst I-Topics save space, those important threads actually aren't seen much so with this method we can sort of compromise by saving more space than stickies did but getting more views than I-Topics did.

http://dl.dropbox.com/u/22935223/stickies.PNG
link to image

Since, for stickies, views, comments and last replies aren't hugely required as first-view stats, this could perhaps be included in the <title> and <alt> tags so when you hover over the sticky link, the stats are shown there?

This technique only takes a little space compared to the current list of stickies because of the two rows. If we removed the names from next to the titles we could probably get three rows in.

This brings me on to an idea I have from another forum I saw. When you hover over a thread link, the first 500 characters or so of the first post appear in a box (title/alt tag) so you get an idea of what the thread is about. This would be especially helpful in areas like misc where people tend to post things like "ummm...." or "read this!" as thread titles.

http://dl.dropbox.com/u/22935223/forum%20titles.png
link to image

P.S. This is why I love Firebug! You can just live-edit any page to change how it looks!  big_smile

Last edited by sparks (2012-01-05 07:08:20)


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

Offline

 

#132 2012-01-05 10:02:44

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

Re: Scratch Forum Development Thread

scimonster: I meant in the technical aspect. If we want to be able to put (install, unzip) it on multiple websites and allow people to easily change the boards and categories, then the ideas for how the boards are organized (and anything customize-able) then most of your ideas will probably be used for our forum.

sparks: I actually really like your idea for the stickies. That could fix many, many problems. It also keeps our forums original, since I know of *very* few forums that do that.

Last edited by Magnie (2012-01-05 10:04:31)

Offline

 

#133 2012-01-05 11:03:37

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

Re: Scratch Forum Development Thread

Magnie wrote:

scimonster: I meant in the technical aspect. If we want to be able to put (install, unzip) it on multiple websites and allow people to easily change the boards and categories, then the ideas for how the boards are organized (and anything customize-able) then most of your ideas will probably be used for our forum.

sparks: I actually really like your idea for the stickies. That could fix many, many problems. It also keeps our forums original, since I know of *very* few forums that do that.

Hmm. Good way of install method.

Download Zip

Upload files

Go to install/install.php

Setup Databases and first user account.

Hmm.


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

Offline

 

#134 2012-01-05 11:32:17

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

Re: Scratch Forum Development Thread

sparks wrote:

There is certainly a lot to discuss and I think a list would be a good idea. Perhaps I shall transport Magnie and sci's list to the first post? I probably need to edit that to be a little less tentative now anyway  tongue

Here's an idea I've quickly HTML'd together as a solution to stickies. I think whilst I-Topics save space, those important threads actually aren't seen much so with this method we can sort of compromise by saving more space than stickies did but getting more views than I-Topics did.

http://dl.dropbox.com/u/22935223/stickies.PNG
link to image

Since, for stickies, views, comments and last replies aren't hugely required as first-view stats, this could perhaps be included in the <title> and <alt> tags so when you hover over the sticky link, the stats are shown there?

This technique only takes a little space compared to the current list of stickies because of the two rows. If we removed the names from next to the titles we could probably get three rows in.

This brings me on to an idea I have from another forum I saw. When you hover over a thread link, the first 500 characters or so of the first post appear in a box (title/alt tag) so you get an idea of what the thread is about. This would be especially helpful in areas like misc where people tend to post things like "ummm...." or "read this!" as thread titles.

http://dl.dropbox.com/u/22935223/forum%20titles.png
link to image

P.S. This is why I love Firebug! You can just live-edit any page to change how it looks!  big_smile

Great idea for the stickies.  big_smile

Also, what about my snippets suggestion? That's similar to what you said about having stuff in the title attribute.
@Firebug: Yeah, that's what the new Inspect tool is missing, editing the HTML.

Magnie wrote:

scimonster: I meant in the technical aspect. If we want to be able to put (install, unzip) it on multiple websites and allow people to easily change the boards and categories, then the ideas for how the boards are organized (and anything customize-able) then most of your ideas will probably be used for our forum.

You mean like, ideas on how to code it? I thought we were still just brainstorming.

Offline

 

#135 2012-01-05 11:48:39

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Forum Development Thread

Magnie wrote:

- BBCode ( Decorating posts with Bold, Colors, etc, quotes )

I recommend adding [h] (for headers, bold and slightly larger font size)

- Avatars?

I vote no: just signatures should be fine.

- Skins/Themes, Custom Skins/Themes ( with CSS? )

CSS would be best.

scimonster wrote:

I think we should use the same board structure as we currently have, but actually, maybe we could have sub-boards. So, for example, AT could be split into "Advanced Scratching", "Mods", "Web coding", "Other coding".

We should probably have a special 'all' category which lists the topics in all sub-boards.

Posting I think we should try to duplicate.

I think we should use an AJAX-based system which only ever fetches content and uses the new history API to update the borwser's history accordingly. It the user didn't have JS enabled, the links would still work, but the entire page would refresh.

All current BBCode (except [blocks], which we would use JSO's new parser for)

Did you mean me? I can write a compatibility-mode parser so existing topics with [blocks] don't break

and also several suggestions, such as changing font face and size (reasonably), adding background color, text alignment, and strike-through.

Background color might not play well with themes, but text alignment is a good idea. I think we should stick with BBCode that represents (mostly) the content, not the presentation (the theme would have control over that). For example, the user could define a heading (maybe levels 1-6 like HTML), but the theme would control how that heading was rendered (e.g., in a serif font and/or larger font size, with a line below, or in a different color)

Post editing would work pretty much the same as currently, though I think you could check a box that allows the previous version to be viewable instead.

I think it should always keep old revisions, but only make them public (i.e., viewable to all users, not just moderators) if a checkbox is checked.

Last edited by nXIII (2012-01-05 11:52:11)


nXIII

Offline

 

#136 2012-01-05 11:56:33

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch Forum Development Thread

nXIII wrote:

...

some googd ideas there


http://i.imgur.com/1QqnHxQ.png

Offline

 

#137 2012-01-05 12:03:46

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Forum Development Thread

Oh, we should also make the stickies section collapsible, so it's open by default but if you have read the topics and don't want it taking up space, you can hide it.


nXIII

Offline

 

#138 2012-01-05 12:11:22

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch Forum Development Thread

long quotes should only show first x lines then have a show all button to show the rest of the post

x being a user set value

Last edited by TRocket (2012-01-05 12:11:36)


http://i.imgur.com/1QqnHxQ.png

Offline

 

#139 2012-01-05 12:40:12

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Scratch Forum Development Thread

TRocket wrote:

long quotes should only show first x lines then have a show all button to show the rest of the post

x being a user set value

Maybe a scroll bar? Great idea!  smile


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#140 2012-01-05 13:17:45

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Forum Development Thread

MathWizz wrote:

TRocket wrote:

long quotes should only show first x lines then have a show all button to show the rest of the post

x being a user set value

Maybe a scroll bar? Great idea!  smile

I think we should use a single-line box with a disclosure arrow that you can click to show the full quote.


nXIII

Offline

 

#141 2012-01-05 13:31:52

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

Re: Scratch Forum Development Thread

nXIII wrote:

Magnie wrote:

- BBCode ( Decorating posts with Bold, Colors, etc, quotes )

I recommend adding [h] (for headers, bold and slightly larger font size)
Yeah, forgot that one.  tongue

- Avatars?

I vote no: just signatures should be fine.
Perhaps it could be one of those optional feature.

- Skins/Themes, Custom Skins/Themes ( with CSS? )

CSS would be best.

scimonster wrote:

I think we should use the same board structure as we currently have, but actually, maybe we could have sub-boards. So, for example, AT could be split into "Advanced Scratching", "Mods", "Web coding", "Other coding".

We should probably have a special 'all' category which lists the topics in all sub-boards.
Yeah, that's right.  tongue

Posting I think we should try to duplicate.

I think we should use an AJAX-based system which only ever fetches content and uses the new history API to update the borwser's history accordingly. It the user didn't have JS enabled, the links would still work, but the entire page would refresh.
Sorry, forgot the AJAX discussion.  tongue

All current BBCode (except [blocks], which we would use JSO's new parser for)

Did you mean me? I can write a compatibility-mode parser so existing topics with [blocks] don't break
No, JSO's Block Plugin. And someone could simply mod it for compatibility mode.

and also several suggestions, such as changing font face and size (reasonably), adding background color, text alignment, and strike-through.

Background color might not play well with themes, but text alignment is a good idea. I think we should stick with BBCode that represents (mostly) the content, not the presentation (the theme would have control over that). For example, the user could define a heading (maybe levels 1-6 like HTML), but the theme would control how that heading was rendered (e.g., in a serif font and/or larger font size, with a line below, or in a different color)

Post editing would work pretty much the same as currently, though I think you could check a box that allows the previous version to be viewable instead.

I think it should always keep old revisions, but only make them public (i.e., viewable to all users, not just moderators) if a checkbox is checked.
That's what I said.

nXIII wrote:

MathWizz wrote:

TRocket wrote:

long quotes should only show first x lines then have a show all button to show the rest of the post
x being a user set value

Maybe a scroll bar? Great idea!  smile

I think we should use a single-line box with a disclosure arrow that you can click to show the full quote.

Maybe show like 5 lines.

nXIII wrote:

Oh, we should also make the stickies section collapsible, so it's open by default but if you have read the topics and don't want it taking up space, you can hide it.

It should default open if there are unread stickies, and closed if there aren't.  big_smile

Last edited by scimonster (2012-01-05 13:33:07)

Offline

 

#142 2012-01-05 13:51:20

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch Forum Development Thread

scimonster wrote:

...

nXIII wrote:

Oh, we should also make the stickies section collapsible, so it's open by default but if you have read the topics and don't want it taking up space, you can hide it.

It should default open if there are unread stickies, and closed if there aren't.  big_smile

I agree mabye you should be sent a message on the scratch site if a new sticky is posted?


http://i.imgur.com/1QqnHxQ.png

Offline

 

#143 2012-01-05 13:59:02

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Scratch Forum Development Thread

While your on the topic of stickies, I think each user should be able to choose their own favourite threads to sticky so that the only stickied threads shown are ones of which the scratcher has chose.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#144 2012-01-05 14:07:33

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

Re: Scratch Forum Development Thread

Daffy22 wrote:

While your on the topic of stickies, I think each user should be able to choose their own favourite threads to sticky so that the only stickied threads shown are ones of which the scratcher has chose.  smile

Maybe we could have 2 sticky sections: official stickies and user stickies.

Offline

 

#145 2012-01-05 14:17:15

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

Re: Scratch Forum Development Thread

Okay, I've updated the list a little bit. I think BBCode will just be all the stuff suggested, I don't want to waste time adding every single BBCode feature to the list.  tongue

Offline

 

#146 2012-01-05 14:48:43

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Scratch Forum Development Thread

For BBCode, I think we should remember to add a feature of the admin panel where you can easily add BBCode: you put in the tag (ex. [b]) then put in the replacement HTML code (ex. <b>)


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#147 2012-01-05 14:58:25

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: Scratch Forum Development Thread

gbear605 wrote:

For BBCode, I think we should remember to add a feature of the admin panel where you can easily add BBCode: you put in the tag (ex. [b]) then put in the replacement HTML code (ex. <b>)


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#148 2012-01-05 15:44:33

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Scratch Forum Development Thread

Daffy22 wrote:

gbear605 wrote:

For BBCode, I think we should remember to add a feature of the admin panel where you can easily add BBCode: you put in the tag (ex. [b]) then put in the replacement HTML code (ex. <b>)

I agree!

Also, on the user stickies maybe they should be called "pinned" topics


http://i.imgur.com/1QqnHxQ.png

Offline

 

#149 2012-01-05 15:46:36

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

Re: Scratch Forum Development Thread

TRocket wrote:

Daffy22 wrote:

gbear605 wrote:

For BBCode, I think we should remember to add a feature of the admin panel where you can easily add BBCode: you put in the tag (ex. [b]) then put in the replacement HTML code (ex. <b>)

I agree!

Also, on the user stickies maybe they should be called "pinned" topics

Possibly. I've added the custom Admin BBCode idea to the list.

Offline

 

#150 2012-01-05 17:10:04

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

Re: Scratch Forum Development Thread

That is pretty awesome brainstorming!

I love the idea of stickies being collapse-able and users being able to sticky their own chosen topics to the top of another section! Perhaps when a new sticky is added, collapsed sticky spots will un-collapse?

We have some forum feedback, by the way!:

Hey guys, for a little market research I am just finding out what you, the Scratchers, love about the Scratch fora and what you think isn't right and should be added/made better. All posts are helpful, but please post the truth! Many thanks, Sparks.

EDIT: Since people seem to be talking a lot about the users, I'm more interested in hearing about the features the fora offer for this research, thanks!

Here's a list of things people have said already. Rather than reposting, please +1 them in your post  smile

We like:
Interacting with the community [8]
Learning new and interesting things [2]
Find info on a problem [2]
Ask for help [1]
simple to use design [1]
kind and helpful mods [1]

We dislike:
"Scratch time" rather than local time [7]
spam preventatives that inconvenience the innocent (e.g. no img tag) [7]
"2cool4rules" - people misusing the fora [5]
old-fashioned forum blocks [3]
no preview for quick-post [3]
no "read" mark next to read threads [2]
linking to youtube repeat, not allowing video embedding [1]
disabling smilies in a post is not remembered [1]
no way to appreciate posts (like button) [2]
view counter is not unique [1]
not enough time to edit topic titles [1]
more than one thread discussing pretty much the same thing [1]


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

Offline

 

Board footer