Author |
Topic |
|
ttoolman
Starting Member
10 Posts |
Posted - 31 December 2002 : 23:52:11
|
Currently in my forum I have some people writing full songs in their signature and its becoming very annoying.
I recall a thread somewhere regarding this problem, but I don't think that had the solution, they just stated editing the code and using a java script.
I think I have found a java script that will work, but I don't know how to reverse engineer it from the website.
The page that currently has text box limitations is Verizon's text messaging website: http://www.vtext.com/customer_site/jsp/messaging_lo.jsp?jsessionid=876881041396233839
If someone else can help me with this, or direct me to a mod which is already complete that'd be great.
|
Thanks, Chris H |
|
Rasco
Advanced Member
Germany
3192 Posts |
|
ttoolman
Starting Member
10 Posts |
Posted - 01 January 2003 : 11:04:43
|
Yep,
That's the topic that I was referring to, it doesn't have all the needed information to make the mod fully work, as stated by "s0110282" "He needs to use JavaScript."
So I was just wondering if anyone had gotten any further with it, or if they might be able to guide me in the right direction.
|
Thanks, Chris H |
|
|
Rasco
Advanced Member
Germany
3192 Posts |
Posted - 01 January 2003 : 12:22:58
|
Uups, I should have read the whole topic. You can try to change the M_SIG field in your database to a text field. This way, only 255 characters should be allowed. |
German Snitz Forum
|
|
|
ttoolman
Starting Member
10 Posts |
Posted - 01 January 2003 : 12:39:10
|
Rasco,
This will work, however if someone enters more then 255 characters it will error out with a HTTP 500.100 error. What would stop the users from entering more characters and receiving that error message?
|
Thanks, Chris H |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 01 January 2003 : 15:27:01
|
What about using a Left function - I think that's it in ASP/VB. Then they can enter any length, no db changes required. You might also filter out the javascript code first, but either way is fine.
Actually, it might be wise to remove the word 'javascript' (doesn't that happen in other parts as well ?) from the sig before displaying |
|
|
|
Topic |
|