I've implemented most of this. What's stopping me now is I'd like being able to control where the user goes after doing a vb registration. I'd like them to chain to the specific registration page on the wrapper site, to gather specific data that the site wants. The register_addmember_complete hook is not in a good place to redirect to another page because it would fire before the registration was truly complete... it fires before the coppa test or the will I send an email test. I'd like to avoid hacking vb if possible.
Perhaps I can make the hook code set a cookie and then have all vb pages check this cookie before firing, if it is set go to the reg page and delete the cookie?
|