Yeah, I think you were right about that. I already used up all my email addresses testing out new users and was too lazy to create another one, thinking it was unnecessary.
Thanks for your help, especially for testing out my code change. That's well beyond the call of duty.
p.s. must be beautiful in $string['country.nz'] this time of year.
i modified the code the way you described it, copied it to my host and started the register with a new account. All is perfect. The country filed in the profile shows my default choosen country.
I can't think what's going wrong with your code modification.
HTH
Heinz
I can't seem to figure out how to set the default country. Although New Zealand is quite nice, the string "Canada" is much more useful to me. I found the archived forum post indicating that code in artefact/internal/index.php should be changed. So, I made the obvious change, i.e.:
if ($element == 'country') {
$items[$element]['options'] = getoptions_country();
// @todo configure default country somehow...
// _AMR_
// old
// $items[$element]['defaultvalue'] = 'nz';
// new
$items[$element]['defaultvalue'] = 'ca';
// end
}
but this seems to have not had the expected effect. HELP! I'm sure this must have been discussed before.
Many, many, many thanks.