PDA

View Full Version : Forum Registration Hooks


TheSupportForum
10-14-2012, 02:00 PM
Hi Guys

i need a little help with knowing which one of the regsitration template hooks is called with once you load register.php

register_activate_process
register_activateform
register_activate_start
register_start

some help please

kh99
10-14-2012, 02:07 PM
It depends on what registration function is being performed (what the value of the 'do' parameter is). register_start is always called near the beginning, but the others depend on 'do'. We might be able to help if you can tell us exactly what you want to do, otherwise the best thing is probably to look at the code in register.php and find a hook that's called in at a location that you can use.

TheSupportForum
10-14-2012, 02:13 PM
It depends on what registration function is being performed (what the value of the 'do' parameter is). register_start is always called near the beginning, but the others depend on 'do'. We might be able to help if you can tell us exactly what you want to do, otherwise the best thing is probably to look at the code in register.php and find a hook that's called in at a location that you can use.

i need to include a script once register.php is loaded thats basically it

kh99
10-14-2012, 02:21 PM
Then I guess you could try register_start.

TheSupportForum
10-14-2012, 02:31 PM
Then I guess you could try register_start.

thank you