Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Important!How to change the registration
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Important!How to change the registration

 Post Reply Post Reply
Author
copestone View Drop Down
Newbie
Newbie


Joined: 05 October 2003
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote copestone Quote  Post ReplyReply Direct Link To This Post Topic: Important!How to change the registration
    Posted: 05 October 2003 at 7:37am

How to change the registration user name's numer.

Only>3!!!!!

SOS!!!!!!!!!

For example.I use only" 1 " to be a user name,but the system can't do that registration works.

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: 05 October 2003 at 7:57am
The username must be at least 3 characters for the forum to work as part of the username is split to create user codes etc. in teh forum, if less characters are used teh forum engine may become un-stable.
Back to Top
copestone View Drop Down
Newbie
Newbie


Joined: 05 October 2003
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote copestone Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2003 at 8:09am
11
Back to Top
copestone View Drop Down
Newbie
Newbie


Joined: 05 October 2003
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote copestone Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2003 at 8:10am

But if we use Chinese Character,we ofter give ouselves names with only two characters.such as 中国,大飞,冲 986;etc.

 

What about that.

 

SOS

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: 05 October 2003 at 8:26am
You can change the foollowing line in register.asp:-

 
//Check for a username
        if (document.frmRegister.name.value.length <= 3){
         &nbs p;      errorMsg += "\n\t<% = strTxtErrorUsernameChar %>";
        }


But you may get some problem unstability problems when running the forum after.


Edited by -boRg-
Back to Top
copestone View Drop Down
Newbie
Newbie


Joined: 05 October 2003
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote copestone Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2003 at 8:31am

What problem will the forum system be got?

 

Thanks

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: 05 October 2003 at 8:40am
See my previous reply to you.
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2003 at 8:47pm

If you have any problems I think you could do something like this:

At the top of the userCode function on functions_common.asp add:

If Len(strUsername) = 2 Then strUsername = "A" & strUsername

 

FeRnAN
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.