Print Page | Close Window

Nickname lenght

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=9295
Printed Date: 08 April 2026 at 7:00am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Nickname lenght
Posted By: Kiezak
Subject: Nickname lenght
Date 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




Replies:
Posted By: FARSHAD
Date 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 



Posted By: Kiezak
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net