Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
How to: Input gender as a text field
I've ran a forum or two in the past and someone who doesn't identify as male or female might not want to just have a simple "other" sitting on their profile. Some didn't even want to sign up because of it. So I went in to do a bit of editing and was able to make it so people could type in the gender themselves, rather than choosing an option.
(TL;DR: This changes the gender option from a radio button to a TextField. I use public_html, so if you don't then just follow from wherever you have Mysidia installed) Step 1 (The only step) Go to public_html/view/accountview. See this whole block?: Replace it with: (Optional) Step 2 Now go to phpMyAdmin and find prefix_users_profile. Change the varchar on gender from 10 to 20, just in case there isn't enough space. Save and that's it. Pretty basic. I plan to do more tutorials in the future once I figure more stuff out. |
|
|
What's New? |
What's Hot? |
What's Popular? |