Discuss Scratch

soarroying
Scratcher
500+ posts

Bring back User ID block!

Dragonmyflesh wrote:

:D :: sensing boolean //Dont use the support convention! It's undescriptive! *Rickrolls you* 

medians wrote:

Dragonmyflesh wrote:

:D :: sensing boolean //What did I just say?! 

Dragonmyflesh wrote:

That was a long time ago.
If July 2024 was a long time ago, I must be extremely old

TheCreatorOfUnTV wrote:

medians wrote:

DangerPuppy10 wrote:

you could use this to report how many views a project has (if you have good coding skills), thus leading me to this rejection. I dont know if this rejection entirely related to the post, it's just something to think about.
This has been opened for a while, and people who are logged out or are New Scratchers count towards the views.
Someone could just use cloud variables to make sure that the user is a Scratcher, and restrict from there.
Then that is already reportable xD if they are just locking people out for being a new Scratcher (unless the main project purpose of the project was cloud or something like that)
OOF. That is a big intake, my friend. Also, listen to Marcus the boolean. Don't just say “Support”. Give reasoning! (Ik im not exactly qualified to critisize about that but whatever)



Also king of the page

Last edited by soarroying (Oct. 1, 2024 21:12:11)

NotK3ndricAltAgain
Scratcher
500+ posts

Bring back User ID block!

bump cause no activity
hotcrystal
Scratcher
500+ posts

Bring back User ID block!

Should user ID in a project let people know that it’s in the project, like the username block?
hotcrystal
Scratcher
500+ posts

Bring back User ID block!

Bump!
canarycat2000
Scratcher
500+ posts

Bring back User ID block!

No support(FIGHT ME, ELITISTS)

(username) //this block works the same

And if you're gonna bring up the “this project can detect who's using it” warning the Username block pulls up, can't the User ID block do the same?

The two blocks basically do the same thing, adding one would make the other redundant.
mingo-gag
Scratcher
1000+ posts

Bring back User ID block!

I support and also

canarycat2000 wrote:

No support(FIGHT ME, ELITISTS)

(username) //this block works the same

And if you're gonna bring up the “this project can detect who's using it” warning the Username block pulls up, can't the User ID block do the same?

The two blocks basically do the same thing, adding one would make the other redundant.

there's a difference between that one and this one

A user wrote:

which means you will always have the same username, but your user ID varies depending in the project, and second of all, is a number, which means you can do a lot more with it than usernames.
That's why I support it

Last edited by mingo-gag (Feb. 6, 2025 18:34:30)

BigNate469
Scratcher
1000+ posts

Bring back User ID block!

mingo-gag wrote:

there's a difference between that one and this one

A user wrote:

which means you will always have the same username, but your user ID varies depending in the project, and second of all, is a number, which means you can do a lot more with it than usernames.
That's why I support it
But your actual user ID doesn't change between projects though, it just shows which user you are (and starts at 1). I'm user #35352848. This account was the 35352848th to join Scratch.
hotcrystal
Scratcher
500+ posts

Bring back User ID block!

This block does NOT report the user ID (as stored in Scratch’s servers) of the user. It reports a project-specific ID that increments by one for each different user who views it. See the wiki page for more information.
lapisi
Scratcher
1000+ posts

Bring back User ID block!

BigNate469 wrote:

(#667)

mingo-gag wrote:

there's a difference between that one and this one

A user wrote:

which means you will always have the same username, but your user ID varies depending in the project, and second of all, is a number, which means you can do a lot more with it than usernames.
That's why I support it
But your actual user ID doesn't change between projects though, it just shows which user you are (and starts at 1). I'm user #35352848. This account was the 35352848th to join Scratch.

that's not what this is, please take the time to read the OP before replying
IndestructableshadoW
Scratcher
16 posts

Bring back User ID block!

How about just backpack the script in this:
https://scratch.mit.edu/projects/1134829743/
It takes the number of your username and sets it as numbers. Numbers are able to be saved globally and although they act differently, from the actual ID block, it works.
Unless you'd rather it be a smaller number, then just wait for 4.0 if the devs remake the block.
IndestructableshadoW
Scratcher
16 posts

Bring back User ID block!

IndestructableshadoW wrote:

How about just backpack the script in this:
https://scratch.mit.edu/projects/1134829743/
It takes the number of your username and sets it as numbers. Numbers are able to be saved globally and although they act differently, from the actual ID block, it works.
Unless you'd rather it be a smaller number, then just wait for 4.0 if the devs remake the block.
Actually, ignore this. Scratch thinks capitalized is the same as lower case. (ex: A == a)
PUPPET_1013
Scratcher
24 posts

Bring back User ID block!

repeat until <[Scratch blocks v] contains (user id::sensing)>
support::events

end
i support. user id should be a block.


Possibly follow me?

Last edited by PUPPET_1013 (Feb. 25, 2025 18:40:15)

medians
Scratcher
1000+ posts

Bring back User ID block!

soarroying wrote:

OOF. That is a big intake, my friend. Also, listen to Marcus the boolean. Don't just say “Support”. Give reasoning! (Ik im not exactly qualified to critisize about that but whatever)


Also king of the page
Uhm.. what?

BigNate469 wrote:

mingo-gag wrote:

there's a difference between that one and this one

A user wrote:

which means you will always have the same username, but your user ID varies depending in the project, and second of all, is a number, which means you can do a lot more with it than usernames.
That's why I support it
But your actual user ID doesn't change between projects though, it just shows which user you are (and starts at 1). I'm user #35352848. This account was the 35352848th to join Scratch.
This is referring to the user id block that was present in 2.0 development (which reported 0 if you were logged out, 1 if you were the 1st viewer, 2 if you were the 2nd, etc), not the user id from the api. I don't think you'd be the 2nd viewer on every single project xD

I feel like a ST member should add a larger notice that this means the 2.0 block, not the api user id somehow in the title and original post.

Last edited by medians (Feb. 25, 2025 19:47:47)

granfer
Scratcher
18 posts

Bring back User ID block!

99% Support
Swiftpixel
Scratcher
100+ posts

Bring back User ID block!

Just encode their username and multiply it by the project ID so everyone has a different user ID per project
hotcrystal
Scratcher
500+ posts

Bring back User ID block!

medians wrote:

Could also work like this
(user [id v]::sensing
(user [name v]::sensing)
“user name” with a space just feels… weird.
tagrim123
Scratcher
500+ posts

Bring back User ID block!

Can’t someone discriminate a specific group of people like this?

when green flag clicked
if <(user id ::sensing reporter) = [insert person you don’t want to view your project here]> then
say [>:(]
else
Turbo_yeeter
Scratcher
100+ posts

Bring back User ID block!

+1, this would revolutionize cloud games… if the scratch team added cloud lists, but until then, +0.75, because the 10 cloud variables that we already have can make for a small list on its own.
hotcrystal
Scratcher
500+ posts

Bring back User ID block!

Turbo_yeeter wrote:

+1, this would revolutionize cloud games… if the scratch team added cloud lists, but until then, +0.75, because the 10 cloud variables that we already have can make for a small list on its own.
Not to get too off-topic, but cloud lists are rejected.

TOLORS wrote:

1.5 Cloud lists
This block would allow you to create lists available for everyone to see, similar to cloud variables. However, cloud lists would require similar restrictions as cloud variables, and the issues currently present with cloud variables would only grow with the addition of cloud lists. You can still use cloud variables to create a list which contains entries everyone can see.

(☁ list :: list)
bubgamer072
Scratcher
96 posts

Bring back User ID block!

tagrim123 wrote:

Can’t someone discriminate a specific group of people like this?

when green flag clicked
if <(user id ::sensing reporter) = [insert person you don’t want to view your project here]> then
say [>:(]
else
no, it changes across projects, and you can (but shouldn't) already do that with the username block

Powered by DjangoBB