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

  New Posts New Posts RSS Feed - Signature can mess up layout
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Signature can mess up layout

 Post Reply Post Reply
Author
JakePehrson View Drop Down
Groupie
Groupie


Joined: 24 September 2002
Location: United States
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote JakePehrson Quote  Post ReplyReply Direct Link To This Post Topic: Signature can mess up layout
    Posted: 26 April 2006 at 2:47am
I put my signature line in like this:
 
 
When I save it is reformatted to this:
 
 
and then in messes up the forum layout for any thread that I have posted in.  See screen shot
 
 Users should not be able to mess up the forum layout via their signature lines.
 
 
 


Edited by JakePehrson - 26 April 2006 at 2:52am
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: 26 April 2006 at 10:52am
Because of restrictions within the database only 255 characters can be used for a signature.

Signatures are limited to 200 characters, but if you use BBCodes to format things like links, these can add allot of characters to a signature taking it over the 255 characters allowed by the database.

The only solution is to shorten your signature.
Back to Top
JakePehrson View Drop Down
Groupie
Groupie


Joined: 24 September 2002
Location: United States
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote JakePehrson Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2006 at 4:27pm
boRg,

Thanks for the quick reply.

I did shorten the signature (which of course fixed the problem). The potential problem is that a user could screw up the layout of the message board with their signature alone.

Thanks
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2006 at 2:33am
Borg, this was the same issue that I posted about before.

Maybe there should be some checking to see if the html tags are actually closed?  For every < there should also be a >.  Its the missing > at the end that is screwing everything up.

Hey, I just throught of an easy and elegant solution.  Immediately after it displays the signature, put an empty html comment <!-- --> in the outputted code.  The closing --> will close the cut off tag in the signature, which will prevent the signature from messing up the layout of the forum.


Edited by wistex - 03 May 2006 at 2:34am
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.