The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How To Redirect login.php?do=lostpw
Hello All,
I want to redirect login.php?do=lostpw to some other url. Can someone please guide me. Thanks |
#2
|
|||
|
|||
I have same question
|
#3
|
||||
|
||||
use the login_redirect hook
|
#4
|
|||
|
|||
The login_redirect hook would not work. It is only called by do_login_redirect when login.php?do=login is called.
I have simply replaced the template "lostpw" template and put a link to my external password reset page. If you want to disable the password reset, you can also use the reset_password hook to display an error message whenever it is called... |
#5
|
|||
|
|||
I still do not see any way to redirect a user to a custom 'pwd recovery' page.
"login.php?do=lostpw" is hardcoded all over the phrases, so it means all of them have to be modified. And "reset_password" hook gets executed AFTER the password is generated and saved. There should be some hook where "do=lostpw" is processed. |
#6
|
||||
|
||||
Intercept it via the global_setup_complete hook
|
#7
|
|||
|
|||
Thanks a bunch for the idea! That's what I call thinking outside the box )))))
I used init_startup, since it is already in use. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|