2014-07-01, 11:30 AM
Hi!
I trying integrating my website registration with forum but i have a little problem.
When i submit values to function register() it return this:
"You did not enter an option for the "Location" field. Please fill in or select a value for this field."
My code:
Of course 'location' it is not good field. I dont know what field is correct to location.
Anybody can help Me?
------------------------------------------------------------------
EDIT
Sorry for thread! I find this
Solution:
I trying integrating my website registration with forum but i have a little problem.
When i submit values to function register() it return this:
"You did not enter an option for the "Location" field. Please fill in or select a value for this field."
My code:
$info = array(
'username' => $username,
'password' => $password,
'password2' => $password2,
'email' => $email,
'email2' => $email2,
'hideemail' => 1,
'invisible' => 0,
'receivepms' => 1,
'location' => "toruĊ"
);
$register_status = $MyBBI->register($info);
Of course 'location' it is not good field. I dont know what field is correct to location.
Anybody can help Me?
------------------------------------------------------------------
EDIT
Sorry for thread! I find this
Solution:
$profile = array(
'fid1' => 'nieznasz',
'fid3' => 'Kobieta'
);
$info = array(
'username' => 'nieznasz',
'password' => 'q3arena',
'password2' => 'q3arena',
'email' => '[email protected]',
'email2' => '[email protected]',
'profile_fields' => $profile,
'hideemail' => 1,
'invisible' => 0,
'receivepms' => 1
);