Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Signature max char
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Signature max char

 Post Reply Post Reply
Author
Vaseline View Drop Down
Groupie
Groupie


Joined: 03 May 2003
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vaseline Quote  Post ReplyReply Direct Link To This Post Topic: Signature max char
    Posted: 11 May 2003 at 9:44pm
Where do I set the max char on the signature?

Edited by Vaseline
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: 12 May 2003 at 4:07am

You would need to edit the file register.asp and change line 1129:-

 if (document.frmRegister.signature.value.length > 200){

You may also need to increase the filed sizes in the database if you increase the length of a signature.

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: 12 May 2003 at 11:01am

-borg-,

I checked my v7.01 database and the signature field was set to Memo (65,535 characters). Is there any other field or table that would affect the signature? Also, for hacking purposes what would you recommend as the max for a signature line (if over 200)?

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: 12 May 2003 at 11:09am
You can set it to whatever you want then.
Back to Top
Vaseline View Drop Down
Groupie
Groupie


Joined: 03 May 2003
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vaseline Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2003 at 7:27pm

Thank you for answering my question Borg..
I have changed the register.asp to max 80 chars. However a couple of problems:

1) If one clicks "Show signature" (on the register page) it still show max 200 characters (did a char count). I am afraid this will confuse a user.

2) When a new user however writes 199 chars, push the send button, an error message will popup, saying one wrote 199 chars, whilst max char is on 200. Of course, if the user only writes 80 chars there is no problem. But I believe this message error also will confuse.

(199 is just a number I picked that was between 80 and 200 for testing purpose only).

Will I and the users have to live with this, or is there a solution to 1 and 2?

Rgd,



Edited by Vaseline
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: 13 May 2003 at 1:57am
You will have to look throuh the files for where 200 is stored, it could be in the register page or in the text held in the language file.
Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2004 at 9:57am

Borg, i did but the 2nd problem still there

i set to 300, when it exceeds 300 it says u have too many chars shorten it below 200

but  i didnt get any place in register.asp 2 correct this. wherever 200 was there i checked n changed it

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.