YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Pages: 1 2 
Topic Tools
 
Changing case in Display Name triggers Duplicate (Read 4,047 times)
 Jan 24th, 2012 at 4:16am
There are no actions to perform.  

JonB 
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 3,621
Land of the Blazing Sun!


None
Changing case in Display Name triggers Duplicate
In 2.5AE, if a user changes the case of characters in his/her  Display Name, but does not alter the spelling - the duplicate displayname check is triggered, and they will not be able to save the change. The workaround is to change the spelling, then change again to the desired 'corrected case' spelling.

Cool
 
I find your lack of faith disturbing.
 
IP Logged  
 Reply #1 - Jan 25th, 2012 at 7:38am
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Changing case in Display Name triggers Duplicate
JonB wrote on Jan 24th, 2012 at 4:16am:
... The workaround is to change the spelling, then change again to the desired 'corrected case' spelling.

Cool

Clever workaround; thanks!

I confirmed that this is the same with version 2.4 of YaBB, and the workaround did the trick. Good to know.


Edited:

Despite this ... there may be a bug in version 2.5 but I can't confirm this since I use 2.4 - and on that point, evidently I was wrong about this being a bug in the version I use. In fact, YaBB 2.4 does notice duplicate names and email addresses no matter what case is being used. Sorry for my mistake.  Roll Eyes

« Last Edit: Jan 27th, 2012 at 6:40am by Bill Myers »  
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
 Reply #2 - Jan 25th, 2012 at 4:14pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: Changing case in Display Name triggers Duplicate
Chances are, the duplicate check was checking using case-insensitive (to keep people from having the same display name with different letters capitalized - like spammers). So consider it a security feature. But this IS something that should go in User Helps and the codex.
 
WWW  
IP Logged  
 Reply #3 - Jan 25th, 2012 at 5:30pm
There are no actions to perform.  

Corey Chapman 
YaBB Administrator
*****
Offline
Posts: 10,015
Rock Hill, South Carolina


YaBB 2.5
Re: Changing case in Display Name triggers Duplicate
If you are (and should be) the only one with that display name, then changing the case should not report the duplicate name error.  It -should- check in all lowercase (convert whatever casing you have) so that it doesn't matter what the casing is - all casing variations are considered the same name.  But it should not check it against your own display name - only everyone else's.
 
...
722568493  
IP Logged  
 Reply #4 - Jan 25th, 2012 at 7:46pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: Changing case in Display Name triggers Duplicate
In that case, we're probably looking at a genuine bug.  Wink But one that's been around for ages.
 
WWW  
IP Logged  
 Reply #5 - Jan 26th, 2012 at 6:37am
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Changing case in Display Name triggers Duplicate
Dandello wrote on Jan 25th, 2012 at 7:46pm:
In that case, we're probably looking at a genuine bug.  Wink But one that's been around for ages.

Right, and this same bug seems to be the problem when using a different case in an email address, i.e., the same email address can be used with 2 different accounts if a different case is used, which can throw people off who don't know what case they used with their email address.

Edited:

There may be a bug in version 2.5 but I can't confirm this since I use 2.4 - and on that point, evidently I was wrong about this being a bug in the version I use. In fact, YaBB 2.4 does notice duplicate names and email addresses no matter what case is being used. Sorry for my mistake.  Roll Eyes

« Last Edit: Jan 27th, 2012 at 6:41am by Bill Myers »  
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
 Reply #6 - Jan 26th, 2012 at 3:18pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: Changing case in Display Name triggers Duplicate
Shouldn't email addresses also be checked case-insensitive? Because email addresses themselves are case-insensitive (well, mostly -  the domains are, the rest depends on the ISP and most default to case-insensitive anyway).

http://email.about.com/od/emailbehindthescenes/f/email_case_sens.htm

 
WWW  
IP Logged  
 Reply #7 - Jan 27th, 2012 at 12:56am
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Changing case in Display Name triggers Duplicate
Dandello wrote on Jan 26th, 2012 at 3:18pm:
Shouldn't email addresses also be checked case-insensitive? Because email addresses themselves are case-insensitive (well, mostly -  the domains are, the rest depends on the ISP and most default to case-insensitive anyway).

http://email.about.com/od/emailbehindthescenes/f/email_case_sens.htm


That's my thinking as well. Email addresses should be case insensitive. Excluding YaBB on our server, they are. So until YaBB, I rarely saw it any other way.

I believe this only happened in version 1.4 but my memory could be wrong on this: On a number of occasions I've had to advise members about this as they've sometimes inadvertently signed up for two memberships using an email address that's the same, or they couldn't log on using their email address even though it was correctly entered (only having changed the case in at least one of the letters).

Edited:

Oops!

Regarding the case sensitive issue that's been reported, there may be a bug in version 2.5 but I can't confirm this since I use 2.4 - and on that point, evidently I was wrong about this being a bug in the version I use. In fact, YaBB 2.4 does notice duplicate names and email addresses no matter what case is being used.

Sorry for my mistake.  Roll Eyes


Edited:


I just confirmed with version 2.4 that changing the case in a name does indeed produce the duplicate name error.

But as JonB correctly points out in his post here, the workaround he presents works perfectly well. Thanks JonB!

[edit]
Unfortunately in YaBB 2.4 this workaround doesn't work. What you get is the following error message:

System Information

This displayed name is already in use by another member. (Test Account)



However, as expected, and as it should be, changing the case in an email address does not produce the duplicate name error.

[/edit]
Again, I believe this only happened in version 1.4 but my memory could be wrong on this: Except for this being a quirky irritation while using YaBB, or a bug, I didn't think much about it. I just learned what was happening when a problem involving the sensitivity of letters was an issue.

« Last Edit: Jan 27th, 2012 at 4:45pm by Bill Myers »  
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
 Reply #8 - Jan 27th, 2012 at 4:38am
There are no actions to perform.  

BloodyRue 
Junior Member
**
Offline
Posts: 83


YaBB 2.5
Re: Changing case in Display Name triggers Duplicate
I am sure there is a  spot or 2 in the code that would take a simple "to lower" substitution to fix this problem.
 
...    ...
WWW MVMB1  
IP Logged  
 Reply #9 - Jan 27th, 2012 at 6:20am
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: Changing case in Display Name triggers Duplicate
The sub routine that handles the comparisons is checkUserAvail, in UserSelect.pl
I have version YaBB 2.5 AE $Revision: 1.55 $ and both the display name and the email are supposed to be being compared in lower case. The actual path is a little convoluted as it calls another subroutine and there's some javascript to get the information to compare, but that is how it's supposed to be.

The issue of changing case on a display name - Unless there's a subroutine I've missed, the same subroutine that checks for taken names at registration is used when a display name is changed - it checks against the 'memberinfo.txt' file. And since the name is already there and it's being checked as  case-insensitive...  Wink  
« Last Edit: Jan 27th, 2012 at 6:20am by Dandello »  
WWW  
IP Logged  
 Reply #10 - Jan 27th, 2012 at 6:43am
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Changing case in Display Name triggers Duplicate
Oops!

Regarding the case sensitive issue that's been reported, there may be a bug in version 2.5 but I can't confirm this since I use 2.4 - and on that point, evidently I was wrong about this being a bug in the version I use. In fact, YaBB 2.4 does notice duplicate names in email addresses no matter what case is being used.

Sorry for my mistake.  Roll Eyes

Edited:

However, as I've now confirmed in version 2.4 the duplicate name error does come up if you change the case of a username.

But as JonB correctly points out in his post here, the workaround he presents works perfectly well. Thanks JonB!


Edited:

Unfortunately in YaBB 2.4 this workaround doesn't work. What you get is the following error message:

System Information

This displayed name is already in use by another member. (Test Account)

« Last Edit: Jan 27th, 2012 at 4:43pm by Bill Myers »  
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
 Reply #11 - Jan 27th, 2012 at 6:58am
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Changing case in Display Name triggers Duplicate
Corey Chapman wrote on Jan 25th, 2012 at 5:30pm:
If you are (and should be) the only one with that display name, then changing the case should not report the duplicate name error.  It -should- check in all lowercase (convert whatever casing you have) so that it doesn't matter what the casing is - all casing variations are considered the same name.  But it should not check it against your own display name - only everyone else's.

I just confirmed with version 2.4 that changing the case in a name does indeed produce the duplicate name error.

However, as expected, and as it should be, changing the case in an email address does not produce the duplicate name error.

But as JonB correctly points out in his post here, the workaround he presents works perfectly well. Thanks JonB!
Edited:

Unfortunately in YaBB 2.4 this workaround doesn't work. What you get is the following error message:

System Information

This displayed name is already in use by another member. (Test Account)
« Last Edit: Jan 27th, 2012 at 4:41pm by Bill Myers »  
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
 Reply #12 - Jan 27th, 2012 at 11:45am
There are no actions to perform.  

Jet Li 
Legacy Dev Team
Development Team
****
Offline
Posts: 6,588
Hong Kong


None
Re: Changing case in Display Name triggers Duplicate
hm, in YaBB 3 Beta 3 we have already add a Displayname and Email check for it. Wink
 
...
PM me for YaBB Installation Service
WWW Jet Li 100000788351637  
IP Logged  
 Reply #13 - Jan 27th, 2012 at 3:05pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: Changing case in Display Name triggers Duplicate
And it still compares lowercase to lowercase while changing an existing Display name.  Wink

I think this is something that simply needs to go into User Helps as it's actually a security feature they're running up against.
 
WWW  
IP Logged  
 Reply #14 - Jan 27th, 2012 at 4:40pm
There are no actions to perform.  

Bill Myers 
God Member
Beta Testers
*****
Offline
Posts: 1,482
Los Angeles


YaBB 2.4
Re: Changing case in Display Name triggers Duplicate
Dandello wrote on Jan 27th, 2012 at 3:05pm:
...
I think this is something that simply needs to go into User Helps as it's actually a security feature they're running up against.

Thanks for that tip, and reminder. Among other things as I've done before, I guess I can put this in the User Help section of our 2.4 YaBB forum.

JonB wrote on Jan 24th, 2012 at 4:16am:
In 2.5AE, if a user changes the case of characters in his/her  Display Name, but does not alter the spelling - the duplicate displayname check is triggered, and they will not be able to save the change. The workaround is to change the spelling, then change again to the desired 'corrected case' spelling.

Cool

Unfortunately in YaBB 2.4 this workaround doesn't work. What you get is the following error message:

System Information

This displayed name is already in use by another member. (Test Account)


It doesn't matter what case is used. Once a change has been made to an existing account, trying to change it again to the original name with the chosen case produces that error message above.   Sad

In the test account I used, I could only get the desired result after I deleted the account, and registered it again. I suppose this could be done for members who request it, but what about their PMs, posts, etc.? Maybe make a backup copy of them before a deletion is made, delete that account, register it again with a corrected case, and then add their information back to make it whole again, including the date and time they initially registered?
Edited:

Or maybe the easier/better way would be to simply change/correct the *.var file of that account, no?


Well, either that, or this bug could be fixed.  Wink


« Last Edit: Jan 27th, 2012 at 4:48pm by Bill Myers »  
Morning, noon, or night, have a great one! ...
WWW BillHMyers  
IP Logged  
Pages: 1 2 
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.