The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a way to disable password resets?
I am managing my users thourgh a external CMS and I don't want users to change their password. I've limited the password changing feature with the profile by using the hooks, but is there a way to achieve something similar with the password resets? |
#2
|
|||
|
|||
![]()
The only way for them not to receive a password is to remove your e-mail from the vb options so it won't send an e-mail when clicking on "Forgotten Password."
|
#3
|
|||
|
|||
![]()
Do you mean the user's email or the webmaster's email (under Admin CP-> VB options->Site Name / URL / Contact Details->Webmaster's Email)?
|
#4
|
|||
|
|||
![]()
The webmaster e-mail.
Once you remove, try to test it your self. |
#5
|
|||
|
|||
![]()
I'm posting this here in case anybody else needs it in the future.
I basically used the mail_send hook to check the subject. If it matches the one for the lost password recovery, I display an error message. It might not be the best way to do it, but it works. PHP Code:
|
#6
|
|||
|
|||
![]()
Can anybody think of a better way to do this? This works...but has an obvious flaw that if there is high activity and notifications on the board, everytime an email is sent out this check will be made!
The only other option that I can think of is to modify the actual source code... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|