2011-07-16, 03:36 PM
2011-07-26, 08:22 PM
This fixes the change question button problem for me, but I only tested with Firefox/Opera.
--- jscripts/regsecureq.js 2010-11-30 23:58:16.000000000 +0100
+++ jscripts/regsecureq.js 2011-07-26 23:16:00.000000000 +0200
@@ -26,8 +26,8 @@
}
else if(request.responseText)
{
- $('regsecureq_id').value = request.responseJSON.qid;
- $('regsecureq').update(request.responseJSON.q);
+ $('regsecureq_id').value = request.responseText.evalJSON()['qid'];
+ $('regsecureq').update(request.responseText.evalJSON()['q']);
}
if(this.spinner)
--- inc/plugins/regsecureq.php 2010-12-01 02:49:48.000000000 +0100
+++ inc/plugins/regsecureq.php 2011-07-26 23:15:00.000000000 +0200
@@ -323,10 +323,7 @@
// Cleanup for JSON
$regsecureq = preg_replace("/\r?\n/", "\\n", addslashes($regsecureq));
- echo '{';
- echo "'qid':'".$regsecureq_id."',";
- echo "'q':'".$regsecureq."'";
- echo '}';
+ echo '{"qid": '.$regsecureq_id.', "q": "'.$regsecureq.'"}';
}
else if($mybb->input['action'] == "validate_question")
{
2011-07-27, 01:55 AM
G33K, any chance you will be able to update this soon? My site is being hit pretty hard w/ spam registrations lately (today I think I got about a dozen), and it's really irritating. I'm afraid it will get worse by the day, and your plugin will be something that can help. I guess there is nothing that can really stop it, but anything that helps will be great!! Thank you
2011-07-27, 04:23 AM
Yes. I finally got sometime and finished updating the plugin. I'm just testing it out with 1.6.3 and the freshly released 1.6.4 and will be putting it out soon enough.
2011-07-27, 05:15 AM
(2011-07-27, 04:23 AM)- G33K - Wrote: [ -> ]Yes. I finally got sometime and finished updating the plugin. I'm just testing it out with 1.6.3 and the freshly released 1.6.4 and will be putting it out soon enough.
Woohoo! Man, 1.6.4 already? Grrrr...
2011-07-27, 05:44 AM
(2011-07-27, 05:15 AM)Jayfore Wrote: [ -> ](2011-07-27, 04:23 AM)- G33K - Wrote: [ -> ]Yes. I finally got sometime and finished updating the plugin. I'm just testing it out with 1.6.3 and the freshly released 1.6.4 and will be putting it out soon enough.
Woohoo! Man, 1.6.4 already? Grrrr...
I mean MyBB 1.6.3 and MyBB 1.6.4
EDIT: Update released. Please check first post for more details.
Please let me know if you have any problems.
To all the translators: I added a few language strings to the plugin so please update your languages
2011-07-27, 12:36 PM
Sorry for my question here, but with about 75 spam users a day that sign in I hard need it.
Is there a version from this plugin, or a kind of, for mybb 1.4?
Please?
Is there a version from this plugin, or a kind of, for mybb 1.4?
Please?
2011-07-27, 01:34 PM
THANKS G33K! I tested it out and everything looks good. Put it in place on my site... Sure hope this helps! I have 11 new spam registrations, just since I posted last night!
A suggestion for your next revision would be to add a feature that shows you which question each user answered when they registered... Or maybe just a number next to each one, showing how many times it was successfully used. This might help identify questions that need to be improved?
A suggestion for your next revision would be to add a feature that shows you which question each user answered when they registered... Or maybe just a number next to each one, showing how many times it was successfully used. This might help identify questions that need to be improved?
2011-07-27, 05:02 PM
Thank you!
2011-07-27, 05:14 PM
Zank you for ze update