Add a one time pop up message
-
@Eskano Yes but it's also possible for the user to bypass it easily so I wouldn't bother.
-
@d-healey I don't mind if the user bypasses it. I'm just looking to prompt them to come back to my website. All I want is that they see the prompt, they can decide to follow the link or not. Can you post an example of how this would be done please?
-
@Eskano It is only possible to count a number of ms each time you open the plugin.
Which means It's good for 30min limited demo like. Counting from a date isn't possible (unless you implement it in C++ I imagine)You can use a panel timer that mutes a gain module or activates a midi muter.
-
@ustk I'm having trouble setting up the panel timer. Do you have a working example you can post?
That makes sense that it can only count the usage time of the plugin. I'd like to set that up too if possible. I want to have a panel pop up after 1 hour of use that links to a website. Can you post a snippet of that too if it's not too much trouble?
Thanks for your time and energy. I appreciate it.
-
HiseSnippet 1049.3ocsV0uaaSEE+5zZzhGYvj3Avp+UpTShy51X.BQHoorHnsVjsA+yzzM12Deo12qw2iaVzT+Kdw3Eg2AdCfy0eD6zFU5hDVIJ478uyG2y0tIROlRISHFMe0pXFw3SMmtR.AiBnbAYxIDiGYdFUArD6bVCWESUJlOwvXuePyvn49jrm+96FRCoBOVEKB4MRtG6m3Qbnhq6fejGFdJ0m8JdTMse5fIdRwHYnLEwydlNjXp2kzEryoZ0ZXRL9jw9bPlLEn.SQL1enze0z.4RQt9ugq3yBYZh9jonixYepLzWiXMWxn.dnuaYdqHnWbqpB6kWE9Byy39707qpFedl.6JKpWOLZbWvq++M7b1F7LpAu8yg2iMm5kvigJIZr8PyIBrQMmhsf5vJWWRi+pg4HIpg.5FQujcZBRr1h1O2w4H6m43b32zxpkE1HTf8UzDa.6Q9tx3zXWQn82ZW5hELXjLJVJPh1GrgVGn8wFb5pvpf1xDYX64zPEKOL2RMFnmIRFQCCmgM+1ySEd.WJZen0GrZBAb0FtBRRQOYcM98FNBnI4tp8wN5jxtWO6iULO6.VB6H69A1bk8wGoyZTdjpa2t4.pkEWDxEL6xPaK0zWNDDkQ0qLuOBqPgHBZY8gVV13Cetc6bVELzOsrZp+YrXA51txXl3WXyTbf09f..hUecudLpZkeBcIWr.wcWL.8VF2wKuT2KMNTR8U8dhS+upmyK58R4xNfri1fNSQjrfMSNqyzeOklvhoBP082hWj0Dzw85VVWi+c68shL6fC0k9h7acw+lIt1i0pJmKA1EEcFqqsruon4y2prBmEhslsINuocGF1VjFMikTV6KUDObr4ouGd+N8UTjqonTLQvgKv9TNc80GkYcoTGx5jsNqpbrN2rTaKpUw51G+IE8M7eudxITfp2HTvC0Klk.bc1ZbB6JbUa99gllmvTWBx3LcKZ131SHSZqxsGTAKjvwL6yL23zC48qWJOfNXUEwaGrj6CADCSiCMHj.FeQ.no9CBYyP8f7P8nhPMLE.oHKVMMKFppEk+zsVTHubPLNHKfZt6l.DXuWGDyQW7Z7CgqNSFgJRSP2XzPQuhMQ3lvvYZ8BPxs2fh6wk9ogTXyk65azJDfybarEUuoTfmZWU+FuOhM9N26Kjtuv8wltbvKX63swVvK1i9+FuE2e1xb774LOnBr6ad5utqWV9Q.keVlB3RzynPBGmuLOOMZJ95DdLDIBbbWomVanOVkS6no0UloLgeFw+fOEB6qoMJD1uTHIh5kHemW9YW8MzOHiChIQ1KpzDeiIj1tOIaCEZmoSWGRD9hCuyySWJ5fXe617jcvli2Aad5NXyy1Aad9NXyWtC17h6zF86r88ofLJ+XBxvcb1tTCiwBJNkkMQR9WXgRSLA
-
@Eskano Little update, I forgot to stop the timer...
HiseSnippet 1060.3ocsVs0aaaCElxIZnVctaEX+.DxSx.wxxMsccsXXd1IY0XKIBysc6kgBZIZK1HQpQREWig7z9iseR6g891g5hkbhWWpAlfMrO2+NW3gxWvCHRIWfLZ+pUoDjwmZNcESEMNBSYnIGiLdf4YXohHrKXMZUJVJIgHCi89NMCi16ixe9yuYDNFyBH0rPn2voAjeflPU0b8G98z33SwgjWQSZn8iGNIfyFyi4Y.d1yzCkhCtDufbNVqVKSjwmbRHUwESUXEQhL1eDOb0zH9RVg9ugJoyhIZhAnofiJXeJONTiXMWz3HZbneUdKQfW7qqB6UTE9Byyngz07qqFedt.6ZKZVOLZ8gf2f+a34sM3Yz.d6W.uGZNMPPSU0RzX69lSXPiZNFZAMgUgtnV+UKywbPClxMAeI4TAPr1Bmm54cn8S7759hNVcrfFgTYeEVXqfdTnOOMK0mEa+01UtXAQMlmjxY.gyAan0AZerAGWITEzVJ3wNywwRRQXtkZDkdlPLFGGOCZ9NyyXAJJm4z0525XYCOpHpzUp3o4J5z8EVsKX0HBJQFD.qqgu2v+JrnHBNG4oyU698sORRBriHBxg1ChroR6iNTWL.4IRWW2Bb1whxhoLhcEhr4Z5KGoXUQMnpbbHT3hADzoByz41NErJYne5X0V+yIrEfac4oD1OQlIoJhyAQJUp7486SvxUgB7RJaAfaWH.8Wl1KnnCzOKMliCk8ej2fupu2y5+R9xdJdOsA8lBHYAYFeVuo+ZFVPRwLkz8coKx6M53dcGqqg+t81YYlcPWcGoL+V2StYhq8Xipx4bE4h7FlUaqqsruon4y2prRmEq6oaQbY29e2PGVVxLhnp1WoHblYyCk2+tcnrrH2PQNaBipt.5SEzM2pTk0UR8PqS1lrpywlbySssnVMqauU.U12f+85IGiUX8hhRdfdoDghpyViiIWAafKVaz17Xh7R3nSttkMaXopJWZmpkJXFIFQgL6yL23zC58q2UODObUMwuLbIMTEgLLM5ZfPQD5hHkl52QnMC08JB0CJC0nLkhyxiUayxgpFQ4O7aDEzKGlBCxLUC2cS.pHuWGDywW7Z3ChJOim.JhEfaLZIwWQlv7EDXlVuWDc6Eqv5cdXVLVs4Ne8EckBfYtMVtpWfxfSsqZdQ3GwEAd246otqv8gl9TUPz1waqsfWnG8+MdKuVsi4IymSBT0fceyS+4c8NzOBn7i7LErD8LrRPg4KyyyRlBukQ.APBCF2k5o0V5iUEzdZZckYJgElS72vSovAZZiRgCpDhRvAB9aCJN6pu39d4b.Lwxe+k1vKRAz1CP4an.6L8b8PIv6S71f.conGf8sayi1AaNZGr4w6fMOYGr4o6fMe4NXyy9f1neUtuMSwSJNl.L7OIeWpgwILLLkkOQh9GemSF5C
-
Probably wouldn't take much to implement system time in HISE. Maybe a little project for someone...
-
@d-healey Who's someone? Do you know who he is? Never heard of him...
If someone responds to this name, please manifest yourself! -
@ustk This is awesome! Thank you. The link you set it to is epic. 10/10 would click again.
-
@ustk Is there a way to add a close panel button to this?
Also, does the timer restart after each instance is opened? Or does the timer start after the first instance is opened and continue to count down from then on?
-
@ustk Is it possible to create a "password" to make the pop up panel disappear?
-
@Eskano Of course, just add a button into the panel, and in the button callback, just use
Panel.showControl(false);
Well, if you look at the code, you can see that the panel is showing after 3 sec, then the timer stops in its own callback, hence will not popup again if you close it. (unless you tell him to do so in the close button callback...)
By instance, do you mean plugin or panel instance?
The panel will show again after 3 sec when you relaunch the plugin. If you want it to appear only once when you launch the plugin for the first time and not after that, you'll need to store a flag in an external file usingdumpAsJSON/loadFromJSON
.@TNTHM For this, you need to combine what I explained above with: https://forum.hise.audio/topic/1204/simple-copy-protection-done-right