The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need Remove Required Field Message
Good evening, I need to disable my users not able to edit the email option on the Edit Email & Password, I managed to hide the email field, but when I finish the exchange of password the following message appears:
vBulletin Message Please complete the required field "Email". How can I remove this so that I can change the password without this problem? |
#2
|
|||
|
|||
The problem is that if the submitted email doesn't match the user's current email, it tries to reset the email field. If you removed the email input fields completely then it's trying to set a blank email, which causes that message.
You could solve it by changing the email and emailconfirm fields to hidden fields instead of deleting them, but it might be better to create a plugin to stop email changes (because just removing or hiding the fields might not stop someone from changing their email if they know that's all you did). The plugin would use hook profile_updatepassword_start and have code like this: Code:
$vbulletin->GPC['email'] = $vbulletin->userinfo['email']; $vbulletin->GPC['emailconfirm'] = $vbulletin->userinfo['email']; |
#3
|
|||
|
|||
Have this error too.
How fix it ? And how i can add this hook ? |
#4
|
||||
|
||||
Download the attached to your computer.
Go to, ACP --> Plugins & Products --> Download / Upload Plugins scroll to the bottom, and find this block, Import Plugin Definitions XML File and click on Browse, and find the file on your computer. This will not show the error, as well as remove the fields from the template. |
Благодарность от: | ||
ReddeR |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|