![]() |
|
Thread Tools |
#1
|
||||
|
||||
Redirect on Registration/Activation
Anyone have any ideas on how I can automatically redirect someone into their CP upon registration after their email is activated? I have a community where you have to be in particular secondary groups to get the full benefit and want them to be redirected to this first thing.
__________________
Wayne Luke Get started with your own social network. Purchase and download vBulletin today. No members have liked this post.
|
#2
|
||||||||
|
||||||||
I did it on my forum for a while, but it required a code edit.
In register.php, find
in the do=activate section. Comment it out and replace it with something along these lines.:
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#3
|
||||
|
||||
Can also be implemented as a Pugin.
Hook: register_activate_process
Please note that this Plugin must be the last one executed on this Hook! No members have liked this post.
|
#4
|
||||
|
||||
And how do you make it the last one run on the hook? That's why I didn't do mine as a plugin
![]()
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#5
|
||||
|
||||
Thanks.. without an order number for processing hooks, wondering the same issue.
__________________
Wayne Luke Get started with your own social network. Purchase and download vBulletin today. No members have liked this post.
|
#6
|
||||
|
||||
Well, i've got a neat Form "Set Execution Order" to ensure that
![]() No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by KirbyDE
And where is that?
No members have liked this post.
|
#8
|
||||
|
||||
That's part of APM
![]() No members have liked this post.
|
#9
|
||||
|
||||
Ok, you got me. What is APM?
No members have liked this post.
|
#10
|
|||
|
|||
Is it possible to do the same thing right after user registers (not activates)?
if i change hook location to register_addmember_process it does redirect but the user is not logged in so instead of usercp it shows error login page... buuump
__________________
TdotZone.com - Toronto's Hottest Online Destination! No members have liked this post.
Last edited by Sychev_S; 02 Mar 2007 at 18:49. Reason: Automerged Doublepost |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 16:55.