Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    I need help with my chatting system

    Help
    5
    19
    740
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GreeniWasTakenYT
      GreeniWasTakenYT last edited by

      Screenshot 2025-01-14 9.25.23 AM.png
      I’m trying to make the pfp on the chat menu match the user pfp. can someone help?

      when life give you toasters, make toasterade… something like that

      NotJaldolfYT info-creaticode 3 Replies Last reply Reply Quote 2
      • NotJaldolfYT
        NotJaldolfYT @GreeniWasTakenYT last edited by

        @s9205307-810c679a I’d recommend sending the project so that if an admin try’s to help, they wont have to ask for the project so they can remix and find the issue 😄

        i have toddler humor

        1 Reply Last reply Reply Quote 1
        • NotJaldolfYT
          NotJaldolfYT last edited by

          @s9205307-810c679a I could be wrong, but is this the game? https://play.creaticode.com/projects/66e7487ab156734ad26fcf1c

          i have toddler humor

          GreeniWasTakenYT 1 Reply Last reply Reply Quote 0
          • GreeniWasTakenYT
            GreeniWasTakenYT @NotJaldolfYT last edited by

            @jd131111 yes it is

            when life give you toasters, make toasterade… something like that

            1 Reply Last reply Reply Quote 0
            • info-creaticode
              CreatiCode @GreeniWasTakenYT last edited by

              @s9205307-810c679a

              That’s a good idea. We will provide a new block that can fetch the user’s profile picture as a new costume, then you can use that costume as the icon in the chat window.

              GreeniWasTakenYT NotJaldolfYT jeffreyrb03-gmail 3 Replies Last reply Reply Quote 1
              • GreeniWasTakenYT
                GreeniWasTakenYT @info-creaticode last edited by

                @info-creaticode Ok. Thanks!

                when life give you toasters, make toasterade… something like that

                1 Reply Last reply Reply Quote 1
                • NotJaldolfYT
                  NotJaldolfYT @info-creaticode last edited by

                  @info-creaticode That’s a great idea 😄

                  i have toddler humor

                  1 Reply Last reply Reply Quote 1
                  • jeffreyrb03-gmail
                    JaecadeJnight Mod Helper @info-creaticode last edited by

                    @info-creaticode oh yeah i remember me and tylerr recommended that but it’d make sense to have a reporter block instead called “user profile picture” (in sensing section near “username” blocks) that returns that image URL of the PFP that can then be used as a costume with blocks

                    #LLJW
                    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                    info-creaticode 1 Reply Last reply Reply Quote 0
                    • info-creaticode
                      CreatiCode @jeffreyrb03-gmail last edited by

                      @jeffreyrb03-gmail

                      True. We can do it that way.

                      1 Reply Last reply Reply Quote 1
                      • info-creaticode
                        CreatiCode @GreeniWasTakenYT last edited by

                        @greeniwastakenyt

                        A new reporter block has been added to the sensing category, which returns the URL of the user’s avatar image.

                        db8c2744-7884-42a0-8e4f-596e050e32c2-image.png

                        If the user has not uploaded an avatar, this block will return an empty string. In that case, you can use the default avatar image: https://play.creaticode.com/static/images/profile_avatar.png

                        Tyller_ 1 Reply Last reply Reply Quote 0
                        • Tyller_
                          Tyller_ Best Forum Helpers @info-creaticode last edited by

                          @info-creaticode can it be made to have an input for their user id so I don’t need to send the pfp along the rest of the message?

                          info-creaticode 1 Reply Last reply Reply Quote 0
                          • info-creaticode
                            CreatiCode @Tyller_ last edited by

                            @tyller_

                            Currently this block only returns the profile image of the current user who is running the project, and it can not get the profile image of any user given a user ID.

                            Can you please explain the use case for that function?

                            Tyller_ 1 Reply Last reply Reply Quote 1
                            • Tyller_
                              Tyller_ Best Forum Helpers @info-creaticode last edited by

                              @info-creaticode IT would allow me to have each client receive only hte user id from another client in a message broadcast (instead of both the user id and the user pfp url) and then get the url of that person and their pfp, basically not having to use the broadcast message to send data the receiving client could of interpreted (I believe i send the user id through the broadcast message, if I don’t then I probably will add that because it’s less length than a url, if broadcast messages have a length limit)

                              info-creaticode 1 Reply Last reply Reply Quote 1
                              • info-creaticode
                                CreatiCode @Tyller_ last edited by

                                @tyller_

                                We are hesitant about allowing a project to get the user profile image of any other user at this point.

                                How about sending both the user ID and the user PHP URL in one broadcast message and splitting it on the receiving side? If you run into issues with that approach we can help figure it out.

                                Tyller_ 2 Replies Last reply Reply Quote 0
                                • Tyller_
                                  Tyller_ Best Forum Helpers @info-creaticode last edited by

                                  @info-creaticode I can do that, I was wanting to reduce the size of the broadcast message but if there’s no length limit I could. I would also store the user pfp in the google sheet so when loading messages pfps can be loaded

                                  1 Reply Last reply Reply Quote 0
                                  • Tyller_
                                    Tyller_ Best Forum Helpers @info-creaticode last edited by

                                    @info-creaticode It isn’t returning anything, and you forgot labels for when the check mark thingy is clickedIMG_0100.jpeg

                                    info-creaticode 1 Reply Last reply Reply Quote 0
                                    • info-creaticode
                                      CreatiCode @Tyller_ last edited by

                                      @tyller_

                                      Yes, we will add the labels. But it will return the URL if you have specified your profile image. If it is empty, it means you have never updated the profile image.

                                      Tyller_ 2 Replies Last reply Reply Quote 0
                                      • Tyller_
                                        Tyller_ Best Forum Helpers @info-creaticode last edited by

                                        @info-creaticode ohhhhhhh that makes sense, Ig I’ll finally set a pfp

                                        1 Reply Last reply Reply Quote 0
                                        • Tyller_
                                          Tyller_ Best Forum Helpers @info-creaticode last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post