Changeset 1244015
- Timestamp:
- 09/12/2015 11:44:42 AM (10 years ago)
- Location:
- i-am-human/trunk
- Files:
-
- 2 edited
-
iamhuman.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i-am-human/trunk/iamhuman.php
r1243989 r1244015 83 83 answer_field = form.children('input[name=\"iamhuman_answer\"]:first'); 84 84 } 85 85 86 86 jQuery(\"#iamhuman_container\").dialog({ 87 87 resizable: false, 88 88 modal: true, 89 89 width: 'auto', 90 my: 'center', 90 my: 'center', 91 91 at: 'center', 92 92 buttons: { 93 \"Check!\": function(selected) { 94 93 \"Check!\": {text: 'Check!', id: 'dialog_check', click: function(selected) { 94 95 jQuery('#dialog_check').button('option', 'disabled', true ); 96 95 97 selection_string = get_selection_string(\"#iamhuman_grid\", \"colour_one\"); 96 98 … … 101 103 102 104 dialog = this; 103 104 $.post(ajaxurl, data, function(response) {105 105 106 jQuery.post(ajaxurl, data, function(response) { 107 106 108 result = $(response).find('success').first().text(); 107 109 108 110 if(result == 'true') { 109 $('.iamhuman_message').hide();111 jQuery('.iamhuman_message').hide(); 110 112 answer_field.val(selection_string); 111 $('#alt_submit').click();113 jQuery('#alt_submit').click(); 112 114 } else { 113 115 // display error message 114 $('.iamhuman_message').show();116 jQuery('.iamhuman_message').show(); 115 117 } 116 118 jQuery('#dialog_check').button('option', 'disabled', false ); 117 119 }); 118 120 119 } ,121 }}, 120 122 Cancel: function() { 121 123 // reset the grid … … 123 125 highlight_list(\"#iamhuman_grid\", \"colour_one\", foreground); 124 126 highlight_list(\"#iamhuman_grid\", \"colour_two\", guide); 127 jQuery('.iamhuman_message').hide(); 125 128 126 129 jQuery(this).dialog(\"close\"); -
i-am-human/trunk/readme.txt
r1243991 r1244015 14 14 == Description == 15 15 16 ** Firstly ** Sorry for not responding to forum questions; I wasn't setup to recieve emails when posts were created so completely missed them :( Thats fixed now, so hopefully I can get onto issues quicker from now on.16 **Firstly** 17 17 18 ** Secondly ** To those who have donated money, WOW, you are good human beings. Thank you. 18 Sorry for not responding to forum questions; I wasn't setup to recieve emails when posts were created so completely missed them :( Thats fixed now, so hopefully I can get onto issues quicker from now on. 19 20 **Secondly** 21 22 To those who have donated money, WOW, you are good human beings. Thank you. 19 23 20 24 Sick of annoying CAPTCHA plugins, that give your users a blurry image that even you can't read? Why not try I Am Human? Its a fully customisable grid based human verification technique, that you can make as easy, or as hard as you want. Not only that, you can theme it so it looks like your site, and make it fun to use! This isn't so much of a plugin, as it is a revolution!
Note: See TracChangeset
for help on using the changeset viewer.