The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Does anybody know how I can automatically redirect someone into their control panel upon registration completetion?
Alright, did it myself. Find: PHP Code:
Insert below PHP Code:
|
|
#2
|
|||
|
|||
|
what file did u edit
|
|
#3
|
|||
|
|||
|
well?????
|
|
#4
|
|||
|
|||
|
register.php...
|
|
#5
|
||||
|
||||
|
will this work if there is a confirmation email?
|
|
#6
|
|||
|
|||
|
Thank you so much, this is awesome!!!!
|
|
#7
|
|||
|
|||
|
No, because it's in an if condtion
PHP Code:
You could use the register_addmember_complete Hook, then it would work without an fileedit |
|
#8
|
|||
|
|||
|
Now how would you make it that if a user selects a certain option during registration, it would then send them to a certain page? But if they do not select one, it just does the normal thing?
|
|
#9
|
||||
|
||||
|
You just need to check that value, and issue a redirect. The values are found in $vbulletin->GPC.
|
|
#10
|
|||
|
|||
|
I not sure i understand 100%. Can you explain a little more?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|