Quote from: daystarjustice at Feb 01, 2008, 05:09 PM
is it letting you change your password though?? I'm in the same boat as you guys were, after adding 'simple' to the end of those button labels i was able to edit parts of my profile, but not my password. it's like a curse.
are you able to change your password now??
I found a fix for this... if you change to on the last password txt field it seem to fix the problem.
I still cannot get anything else to update though.

or rather, I can add stuff to blank fields and it will save. but when I try to clear out the blank field or replace it with something else it will not save. I have to put a blank space in, in order for it to "remove" it.
I found out that WebLoginPE is indeed supposed to work like this...
No.
This is just the way WebLoginPE works to make sure that data you have not provided in a form does not get overwritten.
WebLoginPE uses an array of all the columns in the default attributes table, then loops $_POST to see if those columns are in there. if they ARE NOT, then they are not posted to the db. so if you previously filled out the zipcode, then set it to ""(blank), well that value will not end up in the $_POST Array and thus not end up being saved into the database.
Using the "Zip code" example:
Let's say you have a userprofile form where you DO NOT let them edit the zip code, so you do not provide a text input named "zip". If WebLoginPE did not work the way it does, the zip column in the database would be set to blank everytime the user saved their profile since no value was passed for it. That is why I had it loop through and get rid of fields with no value before saving to the db.
You can change the value to whatever you want, just not (Blank). This is simple data protection 101.
-sD-
Dr. Scotty Delicious, DFPA