vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Multiple Human Verification Methods (https://vborg.vbsupport.ru/showthread.php?t=282685)

hduske 05-09-2012 10:38 AM

Multiple Human Verification Methods
 
Hello,

I would like to add several human verification methods into my registration forms: One math based question, one fact based question and a reCAPTCHA. I know that this is impossible to do via normal settings, but could someone point me towards how I could manually code something like that? I've tried blindly myself, but I just ended up breaking my registration form every time.

Thanks in advance.

kh99 05-09-2012 07:59 PM

I think what I'd do is look at includes/class_verify.php, as well as class_verify_image.php and class_verify_question.php, then write a class_verify_multiple.php (or whatever you want to call it) to implement your method. You can probably use the class_verify_image class directly in your class to implement the image part. The question part might be a bit more trouble because that class is written to select one question from one pool, so having two types might be a problem.

Of course that all sounds easy but you'll no doubt run in to other problems, but I think that's where I'd start.


All times are GMT. The time now is 02:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02154 seconds
  • Memory Usage 1,702KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete