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

#1 2012-11-12 14:14:04

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Showing if a post has been reported

With the (not-so-) new changes to the reports of posts, I think there should be in indicator showing if the post has been reported, like so:
http://img818.imageshack.us/img818/8526/screenshot20121112at110.png

That way, if it's in the wrong topic, and someone reports it to be moved, the next people who see it that see it needs to be moved won't report it again, and so the person who posted in the wrong forum won't get banned. But if the post is really inappropriate, people will still be able to report it 3 (or however much it is) times to have the post go under review.

Offline

 

#2 2012-11-12 14:16:21

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

Re: Showing if a post has been reported

Remember that no big changes are coming before 2.0.

Also, just thinking about the code, I can't think of a good way to do this with my SQL skillset that doesn't involve exploding the number of queries.


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

Offline

 

#3 2012-11-12 14:18:26

Willpower
Scratcher
Registered: 2012-01-26
Posts: 1000+

Re: Showing if a post has been reported

jvvg wrote:

Remember that no big changes are coming before 2.0.

Also, just thinking about the code, I can't think of a good way to do this with my SQL skillset that doesn't involve exploding the number of queries.

prehaps change the text from "report" to "this post has been reported for everyone"?

Last edited by Willpower (2012-11-12 14:18:38)


http://i49.tinypic.com/e84kdj.png

Offline

 

#4 2012-11-12 14:22:58

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Showing if a post has been reported

jvvg wrote:

Remember that no big changes are coming before 2.0.

Also, just thinking about the code, I can't think of a good way to do this with my SQL skillset that doesn't involve exploding the number of queries.

I don't know any server based programming languages, but can't they just assign a property to the post (since every post has a different id), have something on the server making that property (to see if it's been reported) to stay true, and while loading have an if (post.property==true){document.postSection=<i>This post has been reported</i>}

Where the postSection is the part of the post that is shown in the picture. Isn't it possible to just do that?

Offline

 

#5 2012-11-12 14:32:30

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

Re: Showing if a post has been reported

TorbyFork234 wrote:

jvvg wrote:

Remember that no big changes are coming before 2.0.

Also, just thinking about the code, I can't think of a good way to do this with my SQL skillset that doesn't involve exploding the number of queries.

I don't know any server based programming languages, but can't they just assign a property to the post (since every post has a different id), have something on the server making that property (to see if it's been reported) to stay true, and while loading have an if (post.property==true){document.postSection=<i>This post has been reported</i>}

Where the postSection is the part of the post that is shown in the picture. Isn't it possible to just do that?

It's the server-side part of the code, and without some structure modifications, I believe it is rather difficult. I tried left-joining the reports table with any reports for that post and seeing if any exist, but it gave me strange results.


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

Offline

 

Board footer