Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Nickname lenght
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Nickname lenght

 Post Reply Post Reply
Author
Kiezak View Drop Down
Newbie
Newbie


Joined: 29 December 2003
Location: Belgium
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kiezak Quote  Post ReplyReply Direct Link To This Post Topic: Nickname lenght
    Posted: 27 January 2004 at 6:40pm

Is there a way to change the max. lenght of the nicknames? At the moment I can't use a longer name than 15 caracters.

I searched some of the files, but I cannot find the specific code...

Please Help,

 

Thanks

Back to Top
FARSHAD View Drop Down
Groupie
Groupie


Joined: 21 September 2003
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote FARSHAD Quote  Post ReplyReply Direct Link To This Post Posted: 28 January 2004 at 3:54am

YES

first of all

go to register.asp line 330  / 331

and find this lines

--------------    

    'Read in the users details from the form
        If strMode = "new" Then strUsername = Trim(Mid(Request.Form("name"), 1, 15))

--------------

and change the 15 to 30 for example

 then change the username text box on the register.asp ,  length  > to maxlength="30"

then

just change the Username field size in Database ( MS Access )

go to > tblAuthor > Username > field size: > and change it to

40 for example

save it and ...

pay attention that this is just for register.asp

and the user name if you want it really work without any error

you have to change these setting for all of pages that use username

for example :  forgotten_password.asp or  pm_buddy_list.asp and ...

and  the  login page that you must change it ,otherwise you can`t

login to forum with a more than 15 characters username.

In the login page this line 99

-------

'Read in the users details from the form
strUsername = Trim(Mid(Request.Form("name"), 1, 15))

-------

change 15 to 30 or ...

and change username text box length  > to maxlength="30"

==============================================

GOOD LUCK

------------

FARSHAD 

Back to Top
Kiezak View Drop Down
Newbie
Newbie


Joined: 29 December 2003
Location: Belgium
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kiezak Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2004 at 8:50pm
Sorry for the late response, but thank you very much for this support. It's workin' just fine now.
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.