I wish to add a quiz that potential registrants must pass before they can register. I have looked at the code of ucp.php and I understand that it is using a switch to detect when someone arrives with the url variable "register" but I don't quite understand what is happening with:
Code: Select all
$module->load('ucp', 'register'); $module->display($user->lang['REGISTER']);
Would anyone have feedback on either modifying the logic of ucp.php to interpose my quiz page before the rest of the registration process or on the alternate registration redirect and invite idea? If anyone can suggest a better solution or improvements to my idea I'd appreciate it.