PDA

View Full Version : Which of these are redirects?


Shaliza
01-23-2009, 02:06 AM
For example, I created my own external registration page for vB. Out of these hooks, would I use to make a plugin that redirects the user to a page of my choice after he/she signs up?

register_addmember_complete
register_form_complete
register_signup

Also which one of these would I use to redirect a user to a page of my choice after he/she activates their account by clicking on the link in their email?

register_activate_form
register_activate_process
register_activate_start

Speaking of the activation process, is it possible to create an external page for it?

Dismounted
01-23-2009, 02:59 AM
Look at register_addmember_complete, and the code below it. You will find $vbulletin->url.

Shaliza
01-23-2009, 03:31 AM
Okay, thanks. What about the activation?

Dismounted
01-23-2009, 04:28 AM
Did you look at the hooks you posted yourself? register_activate_process

Shaliza
01-23-2009, 06:19 AM
I was asking because I had tried something before & it turned out to be the wrong hook. I think I've got it all now. I'll come back if there's something else.