Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Case sensitive. (http://www.mysidiaadoptables.com/forum/showthread.php?t=906)

Xius 06-01-2009 08:34 PM

Case sensitive.
 
I asked a while ago but got no answer.
How can I go about making it so usernames aren't case sensitive?

BMR777 06-01-2009 08:34 PM

RE: Case sensitive.
 
This would require a LOT of file edits and I'm not even sure if it is possible.

Xius 06-01-2009 08:36 PM

RE: Case sensitive.
 
Eh... it's kind of annoying having like...
Dan, DaN, DAn, dAN, dAn, you know?

BMR777 06-01-2009 08:37 PM

RE: Case sensitive.
 
Is it just that you want to prevent duplicate usernames? If that's the case, then there may be a workaround.

Edit: What I thought would work I don't think would now. I have to look into this. :)

Xius 06-01-2009 08:43 PM

RE: Case sensitive.
 
Okay, I just want 1 name per person. XD

Saphira 06-01-2009 08:54 PM

RE: Case sensitive.
 
You could replicate each user's name in the database on signup to a "friendly name", all lower case, and stop dupes that way.... Just an idea.

Xius 06-01-2009 08:59 PM

RE: Case sensitive.
 
I wouldn't be sure how to do that, so if there's a file edit, I'd like that better XD

Bloodrun 06-01-2009 09:05 PM

RE: Case sensitive.
 
you could preg_replace all new usernames, and turn all capital letters to lower case.

Xius 06-01-2009 09:07 PM

RE: Case sensitive.
 
But I'd like people to keep their unique caps in their username, just not repeats D:

Bloodrun 06-01-2009 09:09 PM

RE: Case sensitive.
 
Quote:

Originally Posted by Xius
But I'd like people to keep their unique caps in their username, just not repeats D:

Still, you can use preg_replace to make sure all but the first letter is lower cased.


All times are GMT -5. The time now is 12:04 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.