HISE Logo Forum
    • Categories
    • Register
    • Login

    Write User Name on Plugins Registration/Authorization

    Scheduled Pinned Locked Moved General Questions
    59 Posts 8 Posters 2.9k Views
    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.
    • NatanN
      Natan
      last edited by

      @DabDab said in Write User Name on Plugins Registration/Authorization:

      I have tried but no luck. Any help will be apprecia

      Make a Label, and Connect it to an external .JS File,
      and Once the user Input His/Her Names into the label box, the Name gets stored into that .JS file, and Label will Show the name.

      DabDabD 1 Reply Last reply Reply Quote 0
      • DabDabD
        DabDab @Natan
        last edited by DabDab

        @Natan Thank you @Natan. I have Minus Knowledge 😛 As usual it is not working. Maybe I am missing something. ES.jpg

        Bollywood Music Producer and Trance Producer.

        NatanN 1 Reply Last reply Reply Quote 0
        • NatanN
          Natan @DabDab
          last edited by

          @DabDab Mate, That was the Overall Idea, I Have Zero Experience With JS Files.
          :(

          DabDabD 1 Reply Last reply Reply Quote 0
          • DabDabD
            DabDab @Natan
            last edited by

            @Natan download.jpg

            Bollywood Music Producer and Trance Producer.

            1 Reply Last reply Reply Quote 0
            • Tania GhoshT
              Tania Ghosh
              last edited by

              @DabDab

              const var Button1 = Content.getComponent("Button1");
              const var Label1 = Content.getComponent("Label1");
              const var Input = Content.getComponent("Input");
              
              inline function onButton1Control(component, value)
              {
              
                  
                      local input = Input.getValue();
                      Label1.set("text", input);
                      local data = 
                              {
                                  "Username": input
                              };
              
                      Engine.dumpAsJSON(data,"../userInfo.js");     
              
              };  
              
              
              
              Content.getComponent("Button1").setControlCallback(onButton1Control);
              

              This will save UserName as External JS file. Hope this will give a good starting point.

              Tania Ghosh

              DabDabD Christoph HartC 2 Replies Last reply Reply Quote 1
              • DabDabD
                DabDab @Tania Ghosh
                last edited by

                @Tania-Ghosh Sorry but everytime it is not loading the entered UserName. It only loads the Saved Projects UserNames.

                Bollywood Music Producer and Trance Producer.

                1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @Tania Ghosh
                  last edited by

                  @Tania-Ghosh said in Write User Name on Plugins Registration/Authorization:

                  Engine.dumpAsJSON(data,"../userInfo.js");

                  This method is deprecated and it's recommended to use the File API for this (you also get optional encryption for sensitive user data).

                  DabDabD 1 Reply Last reply Reply Quote 0
                  • DabDabD
                    DabDab @Christoph Hart
                    last edited by

                    @Christoph-Hart Sir, How can I do this? Very simple thing I want. User will put his her name via Label. Whenever plugins will be loaded it will Display the Username.

                    Any help is appreciated. :)

                    Bollywood Music Producer and Trance Producer.

                    1 Reply Last reply Reply Quote 0
                    • DabDabD
                      DabDab
                      last edited by

                      @Christoph-Hart @Natan @Tania-Ghosh @d-healey

                      HiseSnippet 1157.3ocsV17aaaCE.mxIJK1atnEa2KQNL3.j4Xm1tMfsg3ZG6MilO7pyR2gMTPK8rEQjIEjnhqQQwtr+v1eQC63.1AuGojhjSbBZ8vRtX99f7Ge58AGDJcfnHYHwp74yC.h0mXObtP40wiwEj9GYDDOZJWcN7FEo87.VTD3Rrr1360VXUdSh4u+5v1LelvAxEQHWH4Nvwbz6boCZ8BtueOlKbNeZAqeZq9NRQGouLFoYC6Fj.lykrIvoLsYkrIVa00kqjgCULEDg1zV5NenmblHw9K3Q7Q9fdQSxPbiRDS53w8cGjcSiHDqMGjeu2H4d+Y1mvc4WKO+9+PiBZtGEiAVkVFoMWBol2ER8j9t5M3Nvyp.dalf2irG5DxCT4Zzr8w18EJHbLCC6EwJwVRoOcC6NRzBgp9T1kPuPbw0dT6YMZrG8fFM18apVAC8QJ5UrPZeQPrh9czLGm.pNxoARAtn1NFs6rrGmEqtOWRTeCeRxotSeRTa7Q+OW3yE.cbrvQwkBpTjXf14PoeMmLO2C2b+XX2pUda0Jk6w8g5yB4JXnJjKlTaGbGo6uO8GjyntRZepQI0Eb7Yg.MHTF.gzHSz6P8A+NC.2Oi0ifLP5v78GgYs0tAfI2C7fOYNsuKvn7H5UP3bZaVD2g1U+aEVMPm4ABJiFGgXjvlGOZeObk.qBnXDaFV7PGAzHcRFFHxh9GyFA900GxqP+Pbo55lbyYWAtTtdyOhGBNXN675z946muDqHcoZ5ovx7D3GOA8TaQj4DLwOkLkvYbkG8TXFsW+i6RilGofoGV7a0oREbln1tUdakxUdWkaoZ73UpKM14CgqTst6Q384XMQ7zQPXVJQlgXI0x0ra89Uy5jjDTvPonufqNK.RWmWU2bEU0jzrH7W+T+iXJltPOU1.Shmhqww5H3JrqYRYeY6ifnKUx.j5qS8HVaqLZql0TfI.eBGO5ssM+tI4MEaCOu3hYbWk20BZ8as7.9DuBMn4sFMIqMb4sVrXQhT7qZtz81aue2Ht.TkWFJSBoApOx1z0nHSGzJmoV+XqTlrs1whPx3w15w25bynoHg+h+CLBU5AT3g8RlWr+RjU4tHaa6jpmhn8jBn8G+5+Mz911Ot.Z3HL.y7XljKqMJRX0DBePJgsiUJoHEwjNIEP7gwEiduJGwWPJh3meKD+6EOewMQ7OWbwhk+9dfVLJ4exHO2XTfwXc2j9hAg.15SeU.g9RomSdLvBEZQ7nSjSw6FKDY0pD41izvAqR2XelZ4os5mUjp.KmWZrldzkHhqlW7YGe.ifarxQvqrX88D2GYOfqb7VMukVAuXQ++27l9flp1cGOFazmC6l1894080Ke.n7RYrBG1dBCm4hIs1mFOcHl+3.HIBr4TjN4rjt2Qx5F505HyPP3ZVfkRKRU1Tu1JUYyLkjoLmP4qcRZzqexz1FIHSByqEKaehdMsIwz7G8ytQ8FjoXF5qcbzghu.Ye09bvZ3ySVCed5Z3yyVCe9x0vmuZM74quWezMGddrRNMoLAELnqYJnkUWS2CSFI4eAnoowwH
                      

                      Help me please.

                      Bollywood Music Producer and Trance Producer.

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @DabDab
                        last edited by

                        @DabDab You need to use the File and FileSystem APIs. There is a lot of info in the documentation and you'll find several example by searching the forum.

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        DabDabD 1 Reply Last reply Reply Quote 0
                        • DabDabD
                          DabDab @d.healey
                          last edited by

                          @d-healey Sorry.. I tried.. Filesystem very confusing to me. No luck.

                          Bollywood Music Producer and Trance Producer.

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @DabDab
                            last edited by

                            @DabDab said in Write User Name on Plugins Registration/Authorization:

                            I tried.. Filesystem very confusing to me

                            Did you find some examples on the forum to use as a starting point?

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            DabDabD 1 Reply Last reply Reply Quote 0
                            • DabDabD
                              DabDab @d.healey
                              last edited by DabDab

                              @d-healey I am bit confused with FileSystem function and FILE function that you and @Christoph-Hart advised me to do. Actually in Doc there is no proper Example. as a beginner an Example is very essential.

                              Bollywood Music Producer and Trance Producer.

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @DabDab
                                last edited by

                                @DabDab said in Write User Name on Plugins Registration/Authorization:

                                Actually in Doc there is no proper Example. as a beginner an Example is very essential.

                                Did you find some examples on the forum to use as a starting point?

                                dde15518-f0f3-4580-b724-f07235454fe4-image.png

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                DabDabD 1 Reply Last reply Reply Quote 0
                                • DabDabD
                                  DabDab @d.healey
                                  last edited by

                                  @d-healey No Sir, I got your point. But unfortunately i am struggling how to declare File and Filesystem together.

                                  Bollywood Music Producer and Trance Producer.

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @DabDab
                                    last edited by d.healey

                                    @DabDab

                                    No Sir,

                                    So you didn't search for examples on the forum?

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    DabDabD 1 Reply Last reply Reply Quote 0
                                    • DabDabD
                                      DabDab @d.healey
                                      last edited by

                                      @d-healey I searched found this....https://forum.hise.audio/topic/3260/filesystem-api-possible-to-save-a-file-to-a-child-directory/2

                                      Bollywood Music Producer and Trance Producer.

                                      1 Reply Last reply Reply Quote 0
                                      • DabDabD
                                        DabDab
                                        last edited by

                                        @d-healey Can you please cover this topic in Your Youtube Tutorials? This will help us the most. File and FileSystem very confusing. And Doc is very very brief to understand.

                                        Bollywood Music Producer and Trance Producer.

                                        d.healeyD 2 Replies Last reply Reply Quote 1
                                        • d.healeyD
                                          d.healey @DabDab
                                          last edited by d.healey

                                          @DabDab

                                          Can you please cover this topic in Your Youtube Tutorials?

                                          Yes, it's a very good idea actually. I might do this for next month's Patreon video.

                                          If you keep searching you'll find this - https://forum.hise.audio/topic/2807/new-api-server-and-filesystem

                                          This post also contains some good info - https://forum.hise.audio/topic/3355/loadencryptedobject-cant-manage-to-un-encrypt-file-data/3

                                          Libre Wave - Freedom respecting instruments and effects
                                          My Patreon - HISE tutorials
                                          YouTube Channel - Public HISE tutorials

                                          DabDabD 1 Reply Last reply Reply Quote 0
                                          • DabDabD
                                            DabDab @d.healey
                                            last edited by

                                            @d-healey Why Patreon Sir? It will be good if you share your knowledge for non patreon users like me.

                                            Bollywood Music Producer and Trance Producer.

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            24

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.2k

                                            Posts