Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Jan 2011, 10:51
brtev brtev is offline
 
Join Date: Feb 2010
Disabled Change Email field, but can't modify password

I deleted the email field on the

Edit Email & Password page

but when members submit their password, vbulletin gives error message:

Please complete the required field "Email".

How do I disable vbulletin from checking the email field after a member submits their new password?

Thanks!
Reply With Quote
  #2  
Old 06 Jan 2011, 08:27
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
I would not think that would be possible, since that's a required security check whenever editing your password. I don't think you can bypass such a security check.
__________________
Reply With Quote
  #3  
Old 07 Jan 2011, 03:48
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
It would be best to keep the email field just as a "hidden" field so the user can't alter it (assuming that is what you are trying to accomplish)... change the tag from <input type="text"...> to <input type="hidden"...>
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #4  
Old 01 Jul 2012, 00:02
stalkingdatoast stalkingdatoast is offline
 
Join Date: Apr 2011
Originally Posted by BirdOPrey5 View Post
It would be best to keep the email field just as a "hidden" field so the user can't alter it (assuming that is what you are trying to accomplish)... change the tag from <input type="text"...> to <input type="hidden"...>
WHere do i change this?? im also trying to hide the email so no one changes it. Where exacly do i change the input type from text to hidden?? PLease help asap
Reply With Quote
  #5  
Old 01 Jul 2012, 07:44
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Why not just change the field in profile manager for Field Editable by User to "Only at registration"?
Reply With Quote
  #6  
Old 01 Jul 2012, 12:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by stalkingdatoast View Post
WHere do i change this?? im also trying to hide the email so no one changes it. Where exacly do i change the input type from text to hidden?? PLease help asap
In Admin CP - Settings -> vBulletin Options -> General Settings edit the setting "Add Template Name in HTML Comments" to YES.

Now go load the page to change your email/password an view the page source in your browser.

The name of each template used will be shown in the HTML comments.

Figure out which template is being used to show the email fields.

In Admin CP -> Style Manager -> (Choose your style) -> Edit Templates

Edit that template... change the fields for the email from <input type="text"... > to <input type="hidden" ...>

Do this for both the email line and the confirmation line.

Don't do anything else.

Save the template and make sure it works how you expect.

If it does (it should) you can go back to the template and edit out the code that mentions email change in the template as well so no one knows anything is missing.

Actually thinking about it you may want to simply add "readonly" to the existing input fields so users can still see it but not edit it.

Might be easier, ultimately up to you.

Originally Posted by Simon Lloyd View Post
Why not just change the field in profile manager for Field Editable by User to "Only at registration"?
Email is not a field available in the field manager- at least it isn't listed in any of my forums.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #7  
Old 01 Jul 2012, 13:34
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Ahh!, didnt read it properly, ok you need to edit the modifypassword template and replace this
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

for this
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this will show their email address so no problem when changing your password...etc but they will not be able to change it for anything

--------------- Added 01 Jul 2012 at 13:35 ---------------

@BOP5 lol, just bothered to read your post fully and see you suggested what i added

--------------- Added 01 Jul 2012 at 13:39 ---------------

Just another note, if you really dont want them to even be able to select or look like they are able to change it you can change the readonly="readonly" for disabled="disabled"
Reply With Quote
  #8  
Old 01 Jul 2012, 16:15
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
No you cannot used disabled="disabled"

If you set a field to disabled the browser will not submit it when you press the submit button it would be like trying to submit the forum with empty email addresses.
__________________
-Joe (@BirdoPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
You can PM me if you want but be warned I do not read them often.
Reply With Quote
  #9  
Old 01 Jul 2012, 16:53
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
I didn't try that i just know if you use disabled you can still see the email address but it's greyed out and uneditable.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 22:17.

Layout Options | Width: Wide Color: