Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/26/19 in all areas

  1. A repeater panel like on ASP.NET would be nice. Basically create the layout you want in a row, the row repeats. Image, HTML, Text, etc A flexible grid style..
    1 point
  2. QRCode is used everywhere in china,I wish unigui can have a QRCode scanner control,with that,I can call my phone camera and scan a qrCode and get the code informations ,or I can open a picture and find out the qrCode in it and get the information
    1 point
  3. Would it be possible to add support for V3 (or make an additional) reCaptcha control ? V3 doesn't require the 'checkbox - I'm not a robot' question. It just displays a 'hovering' logo right bottom side of the page. No user interaction is required with v3, which is nice. The sample howto for php is below: The basic JS code <script src="https://www.google.com/recaptcha/api.js?render=your reCAPTCHA site key here"></script> <script> grecaptcha.ready(function() { // do request for recaptcha token // response is promise with passed token grecaptcha.execute('your reCAPTCHA site key here', {action:'validate_captcha'}) .then(function(token) { // add token value to form document.getElementById('g-recaptcha-response').value = token; }); }); </script> The basic HTML code <form id="form_id" method="post" action="your_action.php"> <input type="hidden" id="g-recaptcha-response" name="g-recaptcha-response"> <input type="hidden" name="action" value="validate_captcha"> .... your fields </form> The basic PHP code if(isset($_POST['g-recaptcha-response'])){ $captcha=$_POST['g-recaptcha-response']; } else $captcha = false; if(!$captcha){ //Do something with error } else{ $secret = 'Your secret key here'; $response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret= .$secret.&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']); if($response.success==false) { //Do something with error } } ... The Captcha is valid you can continue with the rest of your code
    1 point
  4. Or you can use the TRESTClient, TRESTRequest and TRESTResponse components....depending on your Delphi version.
    1 point
  5. Hello Darksky007, We will implement lots of this components to core unigui in uniGUI equinox. Please stay tuned.
    1 point
  6. UniGui is a great framework, but in this barrel of honey there is a fly in the ointment. Why not implement messaging methods between servers and sessions in both directions.
    1 point
  7. i was try with the method like that, but 1.refresh the browser, the session id is changed, so the ondestroy function not found the before refresh sessionid 2. if the server reboot or failure then on server startup i must create other desktop service to clear all session on database
    1 point
  8. @Farshad: What are the chances, if at all possible, to create a TDBCtrlGrid equivalent for UniGUI?
    1 point
×
×
  • Create New...