View Single Post
  #2  
Old 09-27-2015, 12:59 PM
Cirris's Avatar
Cirris Cirris is offline
Member
 
Join Date: Sep 2015
Posts: 3
Gender: Female
Credits: 365
Cirris is on a distinguished road
Default

For the capitalization of genders in profiles, open view/accountview.php and find lines 106 through 110.

Code:
 $genderList = new RadioList("gender");
	    $genderList->add(new RadioButton("Male", "gender", "male"));
	    $genderList->add(new RadioButton("Female", "gender", "female"));
	    $genderList->add(new RadioButton("Unknown", "gender", "unknown"));
	    $genderList->check($profile->getGender());
Change it to the following...

Code:
 $genderList = new RadioList("gender");
	    $genderList->add(new RadioButton("Male", "gender", "Male"));
	    $genderList->add(new RadioButton("Female", "gender", "Female"));
	    $genderList->add(new RadioButton("Unknown", "gender", "Unknown"));
	    $genderList->check($profile->getGender());
Also, I am by no means a PHP programmer, I just tried this and it seems to work. ^_^; (You will have to edit your account settings and select your gender again and save before it will affect your profile, though.)

To change the text for favorite color, edit the same file, view/accountview.php on line 113.

Code:
$profileForm->add(new Comment("Favorite Color", FALSE));
to...
Code:
$profileForm->add(new Comment("Favorite Colour", FALSE));
On the note of the Forgot Password issues... in the ACP under Global Site Settings, I was unable to use my yahoo email for the System Email. No one would receive emails for anything, password retrieval included. I had to create an email through my hosting provider and use that. Apparently, yahoo is somehow blocked for that sort of thing.

Last edited by Cirris; 09-27-2015 at 01:12 PM. Reason: Added more content.
Reply With Quote