Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - NEW USER HAS A QUESTION
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

NEW USER HAS A QUESTION

 Post Reply Post Reply Page  <123
Author
Wrightwood View Drop Down
Newbie
Newbie


Joined: 09 November 2005
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wrightwood Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2005 at 3:28pm
Forget the ads... and the question!  SEE BELOW
 
Originally posted by Wrightwood Wrightwood wrote:

1.)  Well so far the edits are going well.  I still haven't tried to change the database to give me more character spaces for topics.  Sounds kinda scary if you can corrupt your database doing that however, I sure do need more room for both topic descriptions and user names (I have a few with 16 characters instead of the max of 15).  I know it can be done because these forum members belong to others that have no trouble accepting the longer names. 
 
How do I increase the characters in Forum descriptions?
so that I don't get cut off in mid sentence?  I know it has something
to do with the database but as I said before I don't want to go messing with numbers that may affect the program.
 
 
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2005 at 12:36am
here you go
1-backup database
2-open database table tblAuthor in design view
3-select the field Username
4-in the properties below increase the field size to what ever number u want its 30 by default.
5-exit and save
6- upload yer database
same goes for forum details and forum names but i think they are already pretty large forum name field size is 100 and forum details size is 200 (these can be to the max of 255 due to text data type limitation). Any way same steps for those two.
now after uploading your database you want these changes to take effect.
open the register.asp find this
 
Quote
'If this is a new registration display a filed for the username
 If strMode = "new" Then
        %>
         <input type="text" name="name" size="15" maxlength="15" value="<% = strUsername %>" /><%
it would be line 1454 under the title Registration Details if you are using an UnModed and Fresh copy of the file.
change it to this
Quote
'If this is a new registration display a filed for the username
 If strMode = "new" Then
        %>
         <input type="text" name="name" size="15" maxlength="50" value="<% = strUsername %>" /><%
 
now save the changes and upload the file. u can change the max length to max of 255.
now for the forum name and details.
 
goto admin directory and open forum details.asp. At line 353 edit this code
Quote
<input type="text" name="forumName" maxlength="60" size="30" value="<% = strForumName %>"> </td>
to this
Quote
<input type="text" name="forumName" maxlength="200" size="30" value="<% = strForumName %>"> </td>
then at line 358 change this code
Quote
<input type="text" name="description" maxlength="190" size="30" value="<% = strForumDescription %>"></td>
to this
Quote
<input type="text" name="description" maxlength="255" size="30" value="<% = strForumDescription %>"></td>
 
save the file and upload it. this should pretty much do it. the fields in red are the length of the string you can type in the input text box. where as the size in blue is the actual width of textbox you can increase it if seems fit to you. let us know if it works.
 
Note: Before doing anything please backup the files to be edited and database.
 
Note: These changes are for a fresh copy of those files. If you have moded any of those the line numbers might not be the same but sure will somewhere around those line numbers.
Back to Top
Wrightwood View Drop Down
Newbie
Newbie


Joined: 09 November 2005
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wrightwood Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2005 at 11:44pm
1.)  This was exactly the kind of tutorial I needed to make the change.  With your perfect instructions I decided to take the plunge and edit the database.  It seems to be working great....thank you soooo much.
2.)  I am wondering is there a way to write http:// addresses in the description of a forum?  or link the description?  I am just wondering it would be nice if I could do that!  I can't wait for 8 to come out it sounds like the search change is going to make it 10 times better.  Let alone all the other changes.
 
3.)  I have seen a mod somewhere on this forum about changing the actual date to words like TODAY, YESTERDAY etc.  I read it and I think I even tried it but without knowing exactly where to put those changed files I didn't want to take the chance.  Ali, if you wouldn't mind giving it to me in the same ordered format I would appreciate it greatly.  Hope you all had a great Thanksgiving
Back to Top
 Post Reply Post Reply Page  <123

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.