Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Limiting signature size
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ttoolman
Starting Member

10 Posts

Posted - 31 December 2002 :  23:52:11  Show Profile
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

Posted - 01 January 2003 :  06:49:55  Show Profile  Send Rasco an ICQ Message
You mean this topic?

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=38749

German Snitz Forum
Go to Top of Page

ttoolman
Starting Member

10 Posts

Posted - 01 January 2003 :  11:04:43  Show Profile
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
Go to Top of Page

Rasco
Advanced Member

Germany
3192 Posts

Posted - 01 January 2003 :  12:22:58  Show Profile  Send Rasco an ICQ Message
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
Go to Top of Page

ttoolman
Starting Member

10 Posts

Posted - 01 January 2003 :  12:39:10  Show Profile
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
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 01 January 2003 :  15:27:01  Show Profile
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07