You can set $vbulletin->url to the page you want to go to. You could use a plugin on hook register_addmember_complete, for example.
I think you'd also want a plugin on register_start that looks for a specific parameter and sets a variable to be used in the registration template, and then add a hidden field in the form using that variable as the value. That way when the registration form is submitted (or resubmitted after an error), you will have the source page url available to use in the plug mentioned above.
I no that's probably not a very clear explanation, but I hope it makes some sense.
|