Discuss Scratch

MegaApuTurkUltra
Scratcher
1000+ posts

Don't Message Users for Bumps

MushroomMan99 wrote:

Support, but I can't see how the Scratch Team could do this easily.
if (not (message matches regex /.*b+u+m+p+.*/gi )) then
add to mail

// matches:
// bump
// buuuuuuuuuuuuuuuump
// bbbbbuuuuummmmppp
// bleghwhatever bump epic awesome whatever
// BuUuUmP
// etc.
One flaw would be if the topic was actually talking about bumps. However, it doesn't happen often enough (I think) to be much of a problem.
OmnipotentPotato
Scratcher
1000+ posts

Don't Message Users for Bumps

This would be too ironic if I wrote bump…
theonlygusti
Scratcher
1000+ posts

Don't Message Users for Bumps

Support. Although I think we should just see a short preview of the new post, like we see a short preview of comments. That way we can tell if it just a bump.
theonlygusti
Scratcher
1000+ posts

Don't Message Users for Bumps

MushroomMan99 wrote:

Support, but I can't see how the Scratch Team could do this easily.
^.{0,20}(\bbu+mp\b.{0,20})$                //this is called a regular expression, they match against strings. So If the string contains 20 characters, then the word bump, or buuuump, or however many us, and only 20 characters after that, this will find it.

Yes. Can't at all see how the scratch team could do this easily. 25 characters, what effort.

Support!

Last edited by theonlygusti (Sept. 30, 2014 17:30:53)

theonlygusti
Scratcher
1000+ posts

Don't Message Users for Bumps

MegaApuTurkUltra wrote:

MushroomMan99 wrote:

Support, but I can't see how the Scratch Team could do this easily.
if (not (message matches regex /.*b+u+m+p+.*/gi )) then
add to mail

// matches:
// bump
// buuuuuuuuuuuuuuuump
// bbbbbuuuuummmmppp
// bleghwhatever bump epic awesome whatever
// BuUuUmP
// etc.
One flaw would be if the topic was actually talking about bumps. However, it doesn't happen often enough (I think) to be much of a problem.

Or you could just make sure that the amount of precedent and subsequent characters fall within a certain number, like 10:

/^.{0,10}b+u+m+p+.{0,10}/g

This way only short posts will be un-messaged. (But who would follow a topic talking about bumps anyway?) Also, the caret (^) makes sure that the post starts at the, well, start, otherwise the regex would match anywhere within the post, and not just from the beginning.

Last edited by theonlygusti (Sept. 29, 2014 22:50:57)

RandomPerson1789
Scratcher
100+ posts

Don't Message Users for Bumps

Its hard to control the bumping. Just typing in a message bumps the thing. Some people do things like:
Bumpity, Bump Bump
or other messages, so this would be hard to control.
But nevertheless, support
theonlygusti
Scratcher
1000+ posts

Don't Message Users for Bumps

RandomPerson1789 wrote:

Its hard to control the bumping. Just typing in a message bumps the thing. Some people do things like:
Bumpity, Bump Bump
or other messages, so this would be hard to control.
But nevertheless, support

This wouldn't be hard to control, this checks for everything that could be typed:
/^.{0,20}(\b(b|B)u+mp(ity)?\b).{0,20}/g

That will match against (find) any of these (and more):

Bump.
Bump bump buuuuump
I don't want to do this again, but, bump!
Buuuuuuuuuuuuuuuuuuump!
Bump ity Bump Bump
I'm going to have to bump this topic, it's very important.

Last edited by theonlygusti (Sept. 30, 2014 07:08:52)

theonlygusti
Scratcher
1000+ posts

Don't Message Users for Bumps

RandomPerson1789 wrote:

Its hard to control the bumping. Just typing in a message bumps the thing. Some people do things like:
Bumpity, Bump Bump
or other messages, so this would be hard to control.
But nevertheless, support
Before posting something like that, read the other posts.
lifesalibrary4me
Scratcher
43 posts

Don't Message Users for Bumps

Support
danielhal
Scratcher
100+ posts

Don't Message Users for Bumps

Why not add a bump button and make it against the rules to post bump.
danielhal
Scratcher
100+ posts

Don't Message Users for Bumps

And for people saying that support posts shouldn't either seehttp://scratch.mit.edu/discuss/topic/40584/ because that would remove posts saying just “support”.
theonlygusti
Scratcher
1000+ posts

Don't Message Users for Bumps

See my bump-comment detection algorithm at work here!
robosnakejr
Scratcher
1000+ posts

Don't Message Users for Bumps

Support for checkbox.
RPFluffy
Scratcher
1000+ posts

Don't Message Users for Bumps

Why would people even bump someones post because that is kind of considered spam…
krymat
Scratcher
100+ posts

Don't Message Users for Bumps

See, most people just put that phrase and nothing else. But, what's stopping them from, say, doing something completely unusual, like, uh, putting the phrase "BUMP" in their own sentences, as a clever way to get around this filter?

As useful as it'd be, there's just a lot o' ways to get around this. On a website where you inspire kids to be creative?

That said, I DO support, no matter how many people are going to bypass it.

Last edited by krymat (Oct. 1, 2014 07:22:06)

MegaApuTurkUltra
Scratcher
1000+ posts

Don't Message Users for Bumps

krymat wrote:

See, most people just put that phrase and nothing else. But, what's stopping them from, say, doing something completely unusual, like, uh, putting the phrase "BUMP" in their own sentences, as a clever way to get around this filter?

As useful as it'd be, there's just a lot o' ways to get around this. On a website where you inspire kids to be creative?

That said, I DO support, no matter how many people are going to bypass it.

Just strip bbcode before running the filter:
Remove regex matching
/\[[a-zA-Z0-9='"\/]*?\]/g
Of course trolls could still be like
5 \_/ |* 3 |2   1 3 3 7   |3 \_/ |\/| |*
But I don't think you can ever stop trolls…

Last edited by MegaApuTurkUltra (Oct. 1, 2014 12:19:45)

Rumanti
Scratcher
1000+ posts

Don't Message Users for Bumps

RPFluffy wrote:

Why would people even bump someones post because that is kind of considered spam…
no. not at all
OmnipotentPotato
Scratcher
1000+ posts

Don't Message Users for Bumps

I think that the checkbox is the most effective way to do this. Also, a New Scratcher block could be added so that New Scratchers can't use it. Also, you would only be able to use the bump checkbox maybe 3 times a day, but all on different topics. This will probably remove most of the spam.
mitdk
Scratcher
1000+ posts

Don't Message Users for Bumps

-deleted-

Last edited by mitdk (Oct. 28, 2020 17:34:02)

lapisi
Scratcher
1000+ posts

Don't Message Users for Bumps

mitdk wrote:

danielhal wrote:

Why not add a bump button and make it against the rules to post bump.
Here's a mockup for that:

it basically just bumps, does not post anything.
I don't see how the image relates to this

Powered by DjangoBB