Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - User Name Length
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

User Name Length

 Post Reply Post Reply
Author
jbagley View Drop Down
Newbie
Newbie


Joined: 06 June 2003
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jbagley Quote  Post ReplyReply Direct Link To This Post Topic: User Name Length
    Posted: 06 June 2003 at 3:49pm

Hi All

 

We are in the process of piloting the Web Wiz Forum, and I was wondering where do I change the minimum length of a user name.

 

Is this an option in the Administrator screens or does it need a change to one of the ASP pages.

 

John



Edited by jbagley
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2003 at 4:00pm
You would need to edit the file register.asp both with the text box size and where the name is read in, if you increase the size you will also need to change the filed size in the database.
Back to Top
jbagley View Drop Down
Newbie
Newbie


Joined: 06 June 2003
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jbagley Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2003 at 6:09pm

boRg

Thanks for the info.

We have looked through the file but can not find the entry.

What we want to do is change the minimum lenght of the user name from 4 to 3.

 

Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2003 at 6:44pm

in the register.asp file scroll down to line 1071 (WOW  big!)

but if you dont have XP and are using Notepad to edit it,

scroll down to about 3/3s of the way down,and you'll see a lot of JavaScripts and i think its this line

        if (document.frmRegister.name.value.length <= 3){

am guessing you just change the 3 to a 2

Back to Top
jbagley View Drop Down
Newbie
Newbie


Joined: 06 June 2003
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jbagley Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2003 at 1:07am

Hi Scotty_32

Thanks for that, we have found it and all is ok now.

John

 

 

 

Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2003 at 7:55am
In notepad you can use Edit---Goto---Line to speed things up a tad.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.