Wiccle.com in Facebook Wiccle.com in Twitter Wiccle.com in LinkedIn Wiccle.com in Youtube RSS from Wiccle.com Wiccle.com in Atom
 
 
 

Thread: Customize Member Basic Settings / Member Settings

Started: August 15, 2010, 11:11 PM  ⋅  Zone: Public Forums  ⋅  Category: Install & Modification  ⋅  Posts: 6  ⋅  Views 464
Started by: US-WebDesigner  ⋅  Description: Need to customize Member Module > Basic Settings > Member Settings
Post #1
Member: US-WebDesigner  ⋅  Date: August 15, 2010, 11:11 PM  ⋅ Subject: "Customize Member Basic Settings / Member Settings"

Hi Marcus,

I would like to customize the Member Module > Basic Settings > Member Settings.

I would like to remove 

  • Sex
  • Birthday
  • Phrase
  • Current Status

At the top I would like to add a field that states the user's username followed by a note that indicates that it cannot be changed.  And then after it I would like to change "Name" to "Display Name".  

  • Username Webmaster  Cannot be changed
  • Display Name [Text Entry Box]

{Side Note: It took me a long time to make sense of the username, display name and user identity and could not make sense of why it seemed there was no field for adding a user's real name in there.  I finally realized in a round about way when I clicked on "Edit" in the Mange Users panel that there was a display name that was different than the username, that could be edited.  Thought that feedback might be helpful and the idea of listing on the Member Settings page the member's Username as such, followed by changing Name to "Display Name" would make it all more clear.}

And I was wondering if you could share how this box is created since in the Box settings it has nothing special that indicates this form except the custom header?

---------- Member Basic Form -----------------------

And then given that I will also want to modify the Member Basic Profile to also get rid of the gender, age, date of birth, zodiac sign, etc. - could you explain how this form indicates that it controls the display of form input from the Basic Settings - unless this section is going to change very soon and is not something that I can customize easily.

For example, in the Profile Builder the Member Basic form, what does 

LIST:noyes_01

mean?  And is there something I am missing in the Profile Builder for creating the privacy controls that I am missing because all I see that is different than others is in the Description field:

Display age? <!--parse:member_age-->

Additional Suggestion:  Had you thought of using radio buttons and checkboxes for forms?  The Multiselect function takes up less room, but most of my clients and most users that I know of would likely not know how to select more than one item - that they would have to hold down the shift key to select more than one option.  At minimum, I believe it would be more intuitive for non-professional computer users to have it work such that if they clicked on 2 items in a multiselect box, that both would highlight rather than have them work like a toggle - and then if you wanted to deselect, that you would click an item again to deselect - but still I think Checkboxes for multi-select and radio buttons for options where you can only select one of a list is most user friendly.

PC Multiselect Key?  And is the Shift key the one used for a PC as well as a Mac so I can add this explanation in the text? 

PC Un-Select Key? And what key is used to unselect on a PC?  On a Mac, if I want to un-select an option once I have selected it (if I want to leave all un-selected), I have to hold down the Command key while clicking on a selected item.

Thanks

Post #2
Member: Markus  ⋅  Date: August 16, 2010, 11:10 PM  ⋅ Subject: "Re: Customize Member Basic Settings / Member Settings"

The member settings form is fetched in with the combination: Type: Member Form; Format: Settings. I notice there's something funny with the WWB 1.0.1 layout here, as it displays right, but the builder seems to have forgotten what the actual settings were. Just set it as above and save, and it'll look more like what you probably expected.

 

If you want to remove fields from the member settings form, you can open up /pro/modules/skin_members.php — the form is under $skin['members']['form_my_settings'].

Simply comment out or remove the HTML for the fields you want out. You can rename the fields and add remarks as you wish; lang_members.php is the associated language file for the field names' language tags. (I have renamed "Name" to "Display name" in the language file for the next release.)

If you wanted to add in a field displaying the username, but keep it disabled, you'd add:

        <span class="field_desc_flw" title="">[[FIELD_MEMBER_USERNAME]]</span>
        <input class="admin_input input_medium" value="[[MEMBER_USERNAME]]" disabled="disabled" />

You'll notice I have removed the name= parameter from the field so it doesn't get submitted. (I have added these changes in for the next build by default.)

If you want to add an info-tooltip description to it, just add it into the title="" parameter of the span surroinding the field name above; field_desc_flw displays a "?" cursor when hovered over.

(This form is not under the Form Builder because it uses a different dataset; this form modifies data in the w_members table.)

Post #3
Member: Markus  ⋅  Date: August 16, 2010, 11:18 PM  ⋅ Subject: "Re: Customize Member Basic Settings / Member Settings"

Continued... I have indeed thought of extending the form builder with checkboxes and radio buttons, along with an option for adding in hidden fields (already coded in for my local dev build).

The multiselect toggle behavior is the default HTML select/multiple behavior. On PC, you hold down CTRL to select multiple fields individually, or SHIFT to select a sequential set of options.This is also how you'd do it in Windows Explorer in selecting files.

To make multi-select behave better  (I agree — toggle is not user-friendly) would require a javascript that hi-jacks clicks, and then toggles the selected statuses on and off in a more intuitive way. Note taken, trying to explain to website visitors how to use multiselect has always been a thorn in my rear end.

Post #4
Member: US-WebDesigner  ⋅  Date: August 17, 2010, 06:54 PM  ⋅ Subject: "Re: Customize Member Basic Settings / Member Settings"

Thanks.  That got it.

You did miss this part which would help please (I know it was a long original post).

PC Un-Select Key? And what key is used to unselect on a PC?  On a Mac, if I want to un-select an option once I have selected it (if I want to leave all un-selected), I have to hold down the Command key while clicking on a selected item.

What I mean there is that, if I select an option in a multi-select set, and then after saving it want to change my response to having no options selected, how is that done on a PC?  On a Mac, you can hold down the Command key and click on the one selected option and it will go away so that nothing is then selected.

Thanks

Post #5
Member: Markus  ⋅  Date: August 19, 2010, 02:04 AM  ⋅ Subject: "Re: Customize Member Basic Settings / Member Settings"

On PC, you hold down CTRL to select multiple fields individually, or SHIFT to select a sequential set of options.

There is no separate unselect key for PC — you just click again with the same key combinations to unselect. CTRL+click selects and unselects options individually. When options are empty, SHIFT+click selects all options between first-click and second-click. SHIFT+click unselects options between the end-of-selection and the clicked-option, leaving start-of-click to clicked-option selected. This explanation will probably give you a headache.

 

Install & Modification

Add to Favorites
Public Forums
Category  ⋅  Deploying iWiccle and Wiccle into unique solutions that match your needs.
 

Public Forums

Add to Favorites
Public Forums
Zone  ⋅ Public forum sections for support and discussions. Available for everyone.
 

Zone Categories

 
Questions? Ask us!
Back to Top