Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
1 bug + 1/2 bug
Clément
✭
Hello,
I found two problems with the user profile when saving (Vanilla 2.1.3).
1) The module Profile Extender, type "birthday" field without required to fill it prevents to save the form. => Display : ValidateDate
2) Vanilla does not differentiate between two users: Clément & clement
I did the migration from phpBB. Unable to save the form.
Thank you for your help.
0
Comments
As far as I know, Vanilla distinguishes Users via their ID number and email not the name. The names can be changed but the ID stays the same.
You can go into your database under the Users table and check to make sure no one has the same ID number
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
For number 1, you can use this:
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
For number 1, thank you very much Bleistivt, this is perfect !!!
For number 2, After verification, Vanilla does well on a test name.
Here is the code in question (class UserModel)
`
public function ValidateUniqueFields($Username, $Email, $UserID = '', $Return = FALSE) {
$Valid = TRUE;
$Where = array();
if (is_numeric($UserID))
$Where['UserID <> '] = $UserID;
}
`
Here is the generated query
select * from GDN_User 'User' where UserID <> '2' and Name = 'Clément';
Here is the result in phpMyAdmin =>
Just to let you know
I found the solution ! Just change the collation of the name field.
utf8_unicode_ci => utf8_bin