Discuss Scratch

Yeetoburro1
Scratcher
1000+ posts

Slight tweak to comments

Support! If I am writing some python for someone in a comment, I can't because of the line thingy.
LankyBox01
Scratcher
1000+ posts

Slight tweak to comments

fdreerf wrote:

bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
“Report” exists.
fdreerf
Scratcher
1000+ posts

Slight tweak to comments

LankyBox01 wrote:

fdreerf wrote:

bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
“Report” exists.
That just creates more work for the moderators.
RedGuy7
Scratcher
1000+ posts

Slight tweak to comments

fdreerf wrote:

LankyBox01 wrote:

fdreerf wrote:

bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
“Report” exists.
That just creates more work for the moderators.
did you read the op?

gravtest wrote:

However, this could allow for spam:

this is……………………



huge amount of newlines




………….awesome!

A limit could be added:

$commentbody = implode("<br />", explode("\n", $commentbody, 15));

commentbody = commentbody.replace("\n", "<br />", 15)

Well, it's just a suggestion, so yeah
fdreerf
Scratcher
1000+ posts

Slight tweak to comments

RedGuy7 wrote:

fdreerf wrote:

LankyBox01 wrote:

fdreerf wrote:

bump
I personally don't see why a short comment needs line breaks, and someone could make a 500-line comment and make the page very long.
“Report” exists.
That just creates more work for the moderators.
did you read the op?
Would that prevent this:
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
?
MDCCCLXVII
Scratcher
1000+ posts

Slight tweak to comments

bump
wvj
Scratcher
1000+ posts

Slight tweak to comments

support, it's easier to read long comments if you use line breaks
also bump
TurtleLegos
Scratcher
1000+ posts

Slight tweak to comments

bump
Quantum-Cat
Scratcher
1000+ posts

Slight tweak to comments

Line breaks can be useful in de-cluttering large blocks of text. For spam problems, I saw multiple suggestions:
  1. Limit the amount of line breaks entered at once, but this, however, doesn't prevent a spammer from doing this:
    .
    .
    and so on
  2. Limit the total amount of line breaks in a comment, which solves the previous problem, but doesn't prevent this:
    a
    lots of new lines, but still below the total limit
    b
  3. Only make new lines depending on the length of the content:

    qwertykid44 wrote:

    Make newlines count for several characters. Perhaps, say, 50 characters. This allows in a no-content message up to 10 newlines, but obviously there must be content for a newline to render. As such, only 8 newlines would likely ever render in a message. That's fairly manageable.

    (source)
  4. Add scrollbars for long comments, or read more:

    ScolderCreations wrote:

    Yeah, if a comment has too many new lines, there should be a scroll bar to prevent a single comment from using all 500 new lines.

    (source)

    Sheep_maker wrote:

    To avoid users spamming with empty newlines a “read more” button that automatically appears for longer comments would be a good idea

    (#16)
  5. Or multiple of them
AnAccount_StopAsking
Scratcher
500+ posts

Slight tweak to comments

Agreed, just look at one of those random guides for your favorite Scratch game. If only there were different lines there, it would look far better than a giant wall of text that's painful to read. Though, I do think you should just hit enter instead of having to code a bunch of random stuff.

Last edited by AnAccount_StopAsking (June 20, 2022 18:31:36)

YtArie5
Scratcher
1000+ posts

Slight tweak to comments

to anyone saying it can be a really long comment they can just compact it like a signature
Miraheze
Scratcher
100+ posts

Slight tweak to comments

10 years later and Scratch Team didn't approve this suggestion
Miraheze
Scratcher
100+ posts

Slight tweak to comments

bumping
blablablahello
Scratcher
1000+ posts

Slight tweak to comments

wouldn't it be better if a newline just counted as like 70 or so characters (however long each new line would be if it was full of characters)

Powered by DjangoBB