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.
    • d.healeyD
      d.healey @DabDab
      last edited by

      @DabDab

      Yesterday @Christoph-Hart advised this method is deprecated

      You're mixing up things. Christoph said the dump json function is deprecated, that is totally separate from his authorization method.

      Here is the tutorial for authorization. Just swap out the dump json stuff with the write string stuff - if it's too complicated for you then just stick with dump json, it's deprecated but it still works.

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

      DabDabD LindonL 2 Replies Last reply Reply Quote 0
      • DabDabD
        DabDab @d.healey
        last edited by

        @d-healey OK. Now I Understand. @Christoph-Hart has a scientist brain. My brain is ordinary. So messed up. :beaming_face_with_smiling_eyes:

        Bollywood Music Producer and Trance Producer.

        1 Reply Last reply Reply Quote 1
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey said in Write User Name on Plugins Registration/Authorization:

          @DabDab

          Yesterday @Christoph-Hart advised this method is deprecated

          You're mixing up things. Christoph said the dump json function is deprecated, that is totally separate from his authorization method.

          Here is the tutorial for authorization. Just swap out the dump json stuff with the write string stuff - if it's too complicated for you then just stick with dump json, it's deprecated but it still works.

          yeah but....the file API documentation is fundamentally lacking....there is a lot of stuff about how to act upon a file, but nothing that tells you how to create a new file....Engine.dumpAsJSON(someData, "myFileName.js") creates a file....I cant see anything in the documentation that allows me to do this:

          var profileData = Engine.loadFromJSON("ProfileData.js");
          
          if (profileData == "")
          {
              profileData = [
                              {
                                  ProfileName: "FirstOne",
                                  someValue: [80]
                              }
                          ];
              Engine.dumpAsJSON(profileData,"ProfileData.js");
          };
          

          HISE Development for hire.
          www.channelrobot.com

          d.healeyD DabDabD 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @Lindon
            last edited by

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

            I cant see anything in the documentation that allows me to do this:

            I already made a tutorial snippet for dabdab covering this.

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

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @d.healey
              last edited by

              @d-healey I think you are missing the point I'm making. Its not that:

              "You cant do this in HISE"

              but:

              "Its not explained in the documentaiton how to do this in HISE"

              HISE Development for hire.
              www.channelrobot.com

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

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

                "Its not explained in the documentaiton how to do this in HISE"

                I get it, I'm just saying that dabdab has a solution for that part of the puzzle. I'll try and add something to the docs this evening if I have some free time.

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

                LindonL DabDabD 2 Replies Last reply Reply Quote 0
                • DabDabD
                  DabDab @Lindon
                  last edited by

                  @Lindon Exactly...... As a beginner I am very much suffering. Figuring out the way and how it works a nightmare to me.

                  Bollywood Music Producer and Trance Producer.

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

                    @d-healey yeah basically this comment needs expanding:

                    Returns a child file if this is a directory.

                    to:

                    Returns a child file if this is a directory. Returns a new file if childFileName does not exist

                    HISE Development for hire.
                    www.channelrobot.com

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

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

                      As a beginner

                      Have you done any javascript script tutorials or watched my HISE scripting 101 video?

                      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 Yes Sir, Each Function or most used function should come with an Example. So the beginner can understand how to write /declare it.

                        You gave me a good starting point yesterday. Still many functions need proper Example.

                        Bollywood Music Producer and Trance Producer.

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

                          @d-healey Yup. I am a Youtube warm. HISESAUCE is my favourite.

                          Bollywood Music Producer and Trance Producer.

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

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

                            Still many functions need proper Example.

                            Definitely. But Christoph is only one person so we need more people to help out.

                            Anyone who wants to contribute can access the docs repo here - https://github.com/christophhart/hise_documentation

                            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 New comers will struggle to figure out how Functions work without a prior example. It will be better in your FREE time if you can attach Examples in HISE docs.

                              Bollywood Music Producer and Trance Producer.

                              1 Reply Last reply Reply Quote 0
                              • JayJ
                                Jay
                                last edited by

                                Authorization HM.js

                                Check this files which is from the authorization from @Christoph-Hart and look on what I add it about the name. Let me know if you can't figure it out.

                                Joansi Villalona

                                DabDabD 1 Reply Last reply Reply Quote 0
                                • JayJ
                                  Jay
                                  last edited by

                                  Or I can attack my PluginTemplate folder from which you can look too.

                                  Joansi Villalona

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

                                    @Jay Yeah... Very higher. I mean tough.

                                    PluginTemplate folder

                                    Yes Please :)

                                    Bollywood Music Producer and Trance Producer.

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

                                      @jay. I have solved the problem. Your Example was also very good and professional. (y)

                                      Bollywood Music Producer and Trance Producer.

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

                                        @d-healey Is it possible to save Username as Encrypted format? When user will write his/her name it will be saved as Encrypted form. But when it will be loaded back it will be Decrypted.

                                        I have tried writeEncryptedObject but no Luck. Unable to Decrypt it back. HISE Label only shows the Encrypted form.

                                        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:

                                          Unable to Decrypt it back.

                                          What did you try?

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

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

                                            @DabDab I’m glad you solve it, because I know it’s very frustrating when we can’t, anyway the guys in the forum are very good at making us figure things out, because it’s the only way to learn. I personally have learned a lot from @d-healey. Cheers for this guy, that’s why I had credited him in every plug-in.

                                            Joansi Villalona

                                            DabDabD 1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post

                                            7

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.5k

                                            Posts