Page 1 of 1
Change My Settings - FEU
Posted: Thu May 28, 2009 7:49 am
by vikram31291
In FEU, after a user logs in and clicks "change my settings," is it possible to have the current values in the text boxes/dropdowns/radiobuttons by default so the user doesn't have to enter all information everytime they want to change their settings?
Thanks,
Vikram
Re: Change My Settings - FEU
Posted: Thu May 28, 2009 8:58 am
by NaN
This is an issue of FrontendUsers.
Since the property definitions are stored in hidden input fields where everyone can change them (using a webdevelopper tool). So users are able to submit empty hidden fields, invalid email addresses, change readonly fields and even can add new properties to the database.
(actually they won't be shown since they aren't assigned to any groups but they are there)
I already filed a bugreport but got no anwser yet.
So be patient.
Re: Change My Settings - FEU
Posted: Thu May 28, 2009 5:48 pm
by vikram31291
but I could create my own form that will do the "Change My Settings" that will have the current value printed inside the text values? by using a UDT to run the queries I need?
Re: Change My Settings - FEU
Posted: Sun May 31, 2009 3:45 am
by vikram31291
Is there a way to use Change My Settings to just let the user update their password but nothing else?
Thanks,
Vikram
Re: Change My Settings - FEU
Posted: Sun May 31, 2009 3:53 am
by jmcgin51
vikram31291 wrote:
Is there a way to use Change My Settings to just let the user update their password but nothing else?
Thanks,
Vikram
If all the other properties are set as "read-only".
Re: Change My Settings - FEU
Posted: Sun May 31, 2009 4:15 am
by Jeff
vikram31291 wrote:
Is there a way to use Change My Settings to just let the user update their password but nothing else?
Just change the template for Changing Settings add an if ($Control->name==repeat_password || password) -- not correct syntax
so only those controls are on the form
vikram31291 wrote:
In FEU, after a user logs in and clicks "change my settings," is it possible to have the current values in the text boxes/dropdowns/radiobuttons by default so the user doesn't have to enter all information everytime they want to change their settings?
I check my system (running 1.5.4) and all fields(only using text fields) are populated except the password which is as it should be.
Re: Change My Settings - FEU
Posted: Mon Jun 01, 2009 12:34 am
by vikram31291
I'm running 1.5.4 as well. I just get blank fields when I hit change my settings. This is the default template.
My other issue I'm having is the max length on a text input isn't changing on some properties. It won't change from the default 255.
Re: Change My Settings - FEU
Posted: Mon Jun 01, 2009 6:47 am
by wildgarden
I think I'm having a related problem with settings in FEU. I am using the latest version 1.6.4 and when I add a user with field properties in the admin, not all of the get saved. Even the email address which is a required field is not recorded and must be reentered again when I view the user details. Can anyone help with this please? Think it's a bug
Re: Change My Settings - FEU
Posted: Mon Jun 01, 2009 7:42 am
by Jeff
vikram31291: Sorry I can't help you, when I can't duplicate the problem and you don't give enough information so I know what is different.
Wildgarden: It sounds like the problem is your setup and that you have duplicate fields and you think they are the same. The fields on the first page of registration aren't on the second page(what I believe you are calling user details). You setup new fields and that is why you have to enter the information twice.
Re: Change My Settings - FEU
Posted: Mon Jun 01, 2009 10:20 am
by wildgarden
ajprog wrote:
Wildgarden: It sounds like the problem is your setup and that you have duplicate fields and you think they are the same. The fields on the first page of registration aren't on the second page(what I believe you are calling user details). You setup new fields and that is why you have to enter the information twice.
Sorry I don't quite follow what you're saying, but it's after I've created a user with various email and text field properties filled in ie. company, first name, last name, email. And when I go into view/edit username these properties under 'users' tab on the second page, shouldn't I be seeing the data I've already inputted into these fields? In which case only a couple fields have been saved and the others are missing which is strange.
Re: Change My Settings - FEU
Posted: Mon Jun 01, 2009 10:56 am
by wildgarden
aah ok, I solved my own problem. The missing data was happening because I had named some of my fields with two words eg 'first name' which isn't allowed and should be one word with underscore ie. 'first_name'. I only just realised this when I was testing the names of properties. It should really be noted in the 'help' section.