Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 04:57 am EST

Geeklog Forums

Registration only allows numbers


Status: offline

MacQuarrie

Forum User
Junior
Registered: 09/11/03
Posts: 29
I've just set up a new site, and of the 21 people who registered accounts already, three have found that they had to use only numbers for their user name; putting letters in caused an error message.

Has anyone seen this before, and if so, how do I make it stop?

Thanks!
I have no idea what I'm doing.
 Quote

Status: offline

MacQuarrie

Forum User
Junior
Registered: 09/11/03
Posts: 29
Is it my breath?

Nobody has replied at all to anything I've posted in the last couple of weeks. Did I offend somebody?

I always search the archives for an answer before I post a question, make sure I'm posting in the right place, and try to be polite when I ask for help.

Anyway, it turns out that all the people who had this problem were using caps in their user name. I can change their names to have an initial cap, but they have to use all lower-case. Is this normal?
I have no idea what I'm doing.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I've never heard of such a problem before.

Besides, first you say they could only use numbers for their names, then you talk about caps - that doesn't make sense. And, as usual, if there is an error message, then it would help to quote it ...

bye, Dirk
 Quote

Status: offline

MacQuarrie

Forum User
Junior
Registered: 09/11/03
Posts: 29
I didn't see the errors, they were reported to me. The people who had the problem all eventually registered strings of numbers as their user names so they could get on the site, and they said they were unable to register with the names they wanted. That's when I posted my original question.

Since then, other users of the site reported their own experiences, and they had discovered thet they got the error message when they tried to use capital letters, but lowercse letters worked fine.

I was able to log in and change the numeric user names to what they wanted, but I'd like to find the problem and correct it.

You can read about the problem at this thread: http://www.oddballcomics.com/forum/viewtopic.php?forum=11&showtopic=74
I have no idea what I'm doing.
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
MacQuarrie,

I took a look at your site, very nice. I see that when a user tries to use uppercase in their username, a javascript error pops up. Doing a quick view source on your login page it looks like you have added a javascript routine to validate the username / email. Your script only allows lowercase letters. I don't believe this is part of the stock Geeklog install (at least I don't have it on any of my Geeklog sites). So, there's your problem, you need to fix your javascript to allow uppercase and any other characters that are valid in a username.

Hope that helps.

Thanks!
Mark
 Quote

Status: offline

MacQuarrie

Forum User
Junior
Registered: 09/11/03
Posts: 29
Thanks. I forgot about that. It was one of the various add-ons that I downloaded from here. I'll see if I can find where it came from and ask the author; I'm not a programmer, so I may have to just yank that out.
I have no idea what I'm doing.
 Quote

Sully

Anonymous
Quote by MacQuarrie: Thanks. I forgot about that. It was one of the various add-ons that I downloaded from here. I'll see if I can find where it came from and ask the author; I'm not a programmer, so I may have to just yank that out.


It is an easy fix, the script is very simple.

Change
Text Formatted Code
var valid = "abcdefghijklmnopqrstuvwxyz0123456789_"
 


to
Text Formatted Code
var valid = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_"
 
 Quote

Status: offline

MacQuarrie

Forum User
Junior
Registered: 09/11/03
Posts: 29
Thank you! I'll change it now and see how it goes.
I have no idea what I'm doing.
 Quote

All times are EST. The time is now 04:57 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content