It would be very helpful if you were to add a number of "open" fields to the user profile. This would allow developers the ability to customize the profiles for our unique situations without having to generate new database elements and other profile tie ins that take time and would possibly be broken with future updates.
I suggest a new UserCustomization table or the like with 5 open fields for each type (i.e. varchar(255), decimal, etc). Able would always leave these fields open for customization and would never make use of them in the core system.
Thoughts?
Thanks,
Mike
Add Some Open Fields To The User Profile
Re: Add Some Open Fields To The User Profile
I think user settings are doing the very similar job. And with user settings there is no limitation of having just 5 or 6 fields.
Re: Add Some Open Fields To The User Profile
I wasn't aware of of the UserSettings option.
Correct me if I'm wrong, but it looks like the only datatype available is String. Is that correct?
Thanks,
Mike
Correct me if I'm wrong, but it looks like the only datatype available is String. Is that correct?
Thanks,
Mike
Re: Add Some Open Fields To The User Profile
Yes that's a string only but if you want to save for example an integer you can save its value as string then convert it back to integer when loading the data. There is another table as well which could be used for this type data and that is the ac_CustomFields
viewtopic.php?f=42&t=8684
viewtopic.php?f=42&t=8684
Re: Add Some Open Fields To The User Profile
My problem was the integration of nVelocity and the data from the UserSettings. I tried everything I could think of, but I couldn't convert a string to a number (of any type) via the nVelocity engine. I ended up using a large switch statement to test for string values of the numbers I needed. It wasn't pretty, but it worked.
I guess it would be nice to have usersettings for other types as well, but I could see how this would be a low priority suggestion.
Thanks for the feedback.
I guess it would be nice to have usersettings for other types as well, but I could see how this would be a low priority suggestion.
Thanks for the feedback.