Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Help
  3. I need help with my chatting system

I need help with my chatting system

Scheduled Pinned Locked Moved Help
22 Posts 6 Posters 4.7k Views 2 Watching
  • 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.
  • CreatiCodeI CreatiCode

    @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.

    NotJaldolfYTN Offline
    NotJaldolfYTN Offline
    NotJaldolfYT
    trusted helpers
    wrote on last edited by
    #7

    @info-creaticode That’s a great idea 😄

    👋

    1 Reply Last reply
    1
    • CreatiCodeI CreatiCode

      @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.

      JaecadeJnightJ Offline
      JaecadeJnightJ Offline
      JaecadeJnight
      Mod Helper
      wrote on last edited by
      #8

      @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>

      CreatiCodeI 1 Reply Last reply
      0
      • JaecadeJnightJ JaecadeJnight

        @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

        CreatiCodeI Offline
        CreatiCodeI Offline
        CreatiCode
        wrote on last edited by
        #9

        @jeffreyrb03-gmail

        True. We can do it that way.

        1 Reply Last reply
        1
        • GreeniWasTakenYTG GreeniWasTakenYT

          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?

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #10

          @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_T 1 Reply Last reply
          0
          • CreatiCodeI CreatiCode

            @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_T Offline
            Tyller_T Offline
            Tyller_
            trusted helpers
            wrote on last edited by
            #11

            @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?

            CreatiCodeI 1 Reply Last reply
            0
            • Tyller_T Tyller_

              @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?

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote on last edited by
              #12

              @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_T 1 Reply Last reply
              1
              • CreatiCodeI CreatiCode

                @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_T Offline
                Tyller_T Offline
                Tyller_
                trusted helpers
                wrote on last edited by
                #13

                @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)

                CreatiCodeI 1 Reply Last reply
                1
                • Tyller_T Tyller_

                  @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)

                  CreatiCodeI Offline
                  CreatiCodeI Offline
                  CreatiCode
                  wrote on last edited by
                  #14

                  @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_T 2 Replies Last reply
                  0
                  • CreatiCodeI CreatiCode

                    @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_T Offline
                    Tyller_T Offline
                    Tyller_
                    trusted helpers
                    wrote on last edited by
                    #15

                    @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
                    0
                    • CreatiCodeI CreatiCode

                      @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_T Offline
                      Tyller_T Offline
                      Tyller_
                      trusted helpers
                      wrote on last edited by
                      #16

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

                      CreatiCodeI 1 Reply Last reply
                      0
                      • Tyller_T Tyller_

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

                        CreatiCodeI Offline
                        CreatiCodeI Offline
                        CreatiCode
                        wrote on last edited by
                        #17

                        @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_T 2 Replies Last reply
                        0
                        • CreatiCodeI CreatiCode

                          @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_T Offline
                          Tyller_T Offline
                          Tyller_
                          trusted helpers
                          wrote on last edited by
                          #18

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

                          1 Reply Last reply
                          0
                          • CreatiCodeI CreatiCode

                            @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_T Offline
                            Tyller_T Offline
                            Tyller_
                            trusted helpers
                            wrote on last edited by
                            #19
                            This post is deleted!
                            1 Reply Last reply
                            1
                            • CreatiCodeI CreatiCode

                              @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.

                              CodeWaveSurferJ Offline
                              CodeWaveSurferJ Offline
                              CodeWaveSurfer
                              wrote on last edited by
                              #20

                              @info-creaticode what block is it?

                              1 Reply Last reply
                              0
                              • CreatiCodeI CreatiCode

                                @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.

                                CodeWaveSurferJ Offline
                                CodeWaveSurferJ Offline
                                CodeWaveSurfer
                                wrote on last edited by
                                #21

                                @info-creaticode it just says avatar. It doesn’t upload the image

                                CreatiCodeI 1 Reply Last reply
                                0
                                • CodeWaveSurferJ CodeWaveSurfer

                                  @info-creaticode it just says avatar. It doesn’t upload the image

                                  CreatiCodeI Offline
                                  CreatiCodeI Offline
                                  CreatiCode
                                  wrote on last edited by
                                  #22

                                  @joshuakenny1411-0c86dd08

                                  Can you try this example? It attaches the user’s avatar image as a costume, then uses that costume as the user icon in the chat:

                                  play.creaticode.com/projects/6931cbd2f8ef27a6f8693a1f

                                  1 Reply Last reply
                                  0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • CreatiCode