The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Prevent Password Changing
Is there a way to disable the option for users to change their profile password? Basically i want them to use the same password forever without being able to reset it or change it in the USERCP . Is such possible??
|
#2
|
||||
|
||||
nope cant be done .... as default vb software requires members to change their password after the current one is 120 + days old
|
#3
|
|||
|
|||
That option is disabled meaning it will never expire. So i want to be able to prevent them from changing it themselves
|
#4
|
||||
|
||||
I strongly (I can't stress this enough) recommend NOT to do so, but it you really want:
In profile.php FIND and COMMENT OUT PHP Code:
PHP Code:
PHP Code:
HTML Code:
<fieldset class="fieldset"> <legend>$vbphrase[edit_password]<if condition="$show['password_optional']"> ($vbphrase[optional])</if></legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td> <div>$vbphrase[new_password]:</div> <div><input type="password" class="bginput" name="newpassword" size="50" maxlength="50" /></div> </td> </tr> <tr> <td> <div>$vbphrase[confirm_new_password]:</div> <div><input type="password" class="bginput" name="newpasswordconfirm" size="50" maxlength="50" /></div> </td> </tr> </table> </fieldset> |
#5
|
|||
|
|||
Quote:
Thanx I will try your suggestion and get back to you. |
#6
|
|||
|
|||
The above worked great, I also removed the Forgoten Password vbprases to avoid users resetting the pass. Thank You.
|
#7
|
|||
|
|||
I also need this kind of instruction, but for 3.5.3. I can find a similar section in profile.php, but am not a PHP programmer and am loathe to attempt this change without some guidance with the newest release.
Yes, I understand most would not want to do this, but vB is integrated with a third-party membership management script; I cannot have members changing passwords in vB and getting them out of sync with other site modules. Thanks in advance for any help anyone can provide. |
#8
|
|||
|
|||
Can this be done to a "certain" user and not apply it to all?
|
#9
|
|||
|
|||
Quote:
so i suppose this is a *bump |
#10
|
|||
|
|||
Quote:
https://vborg.vbsupport.ru/showthread.php?t=105992 Enable/Disable many settings in vb {custom and default}. Version 2.1 that hack has disable profile edits something to consider |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|