Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Aug 2005, 02:19
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
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.
Reply With Quote
  #2  
Old 21 Aug 2005, 03:49
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
I did it on my forum for a while, but it required a code edit.

In register.php, find
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in the do=activate section.

Comment it out and replace it with something along these lines.:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
amykhar.com
----------------------------------------
I do not respond to PM requests for coding assistance.
Reply With Quote
  #3  
Old 21 Aug 2005, 04:17
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Can also be implemented as a Pugin.
Hook: register_activate_process

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Please note that this Plugin must be the last one executed on this Hook!
Reply With Quote
  #4  
Old 21 Aug 2005, 04:40
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
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.
Reply With Quote
  #5  
Old 21 Aug 2005, 16:23
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
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.
Reply With Quote
  #6  
Old 21 Aug 2005, 16:35
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Well, i've got a neat Form "Set Execution Order" to ensure that
Reply With Quote
  #7  
Old 22 Aug 2005, 15:21
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by KirbyDE
Well, i've got a neat Form "Set Execution Order" to ensure that
And where is that?
Reply With Quote
  #8  
Old 22 Aug 2005, 15:23
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
That's part of APM
Reply With Quote
  #9  
Old 22 Aug 2005, 15:32
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Ok, you got me. What is APM?
Reply With Quote
  #10  
Old 02 Mar 2007, 05:51
Sychev_S Sychev_S is offline
 
Join Date: Oct 2005
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!

Last edited by Sychev_S; 02 Mar 2007 at 18:49. Reason: Automerged Doublepost
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:55.

Layout Options | Width: Wide Color: