Previous Thread
Next Thread
Print Thread
Rate Thread
#212531 10/15/2001 7:51 AM
Joined: Jul 2001
Posts: 14
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 14
It seems that most signatures work perfectly but a few members have some of their signature cut off and/or the "Post extras" are put on the same line. You can see an example here: http://www.shroomery.org/wwwthreads...iew=collapsed&sb=5&o=&fpart= The users "jonnyshaggs420" and "fortyounces2freedom".

Sponsored Links
babydoll8912 #212532 10/15/2001 7:53 AM
Joined: Jul 2001
Posts: 14
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 14
And I just updated to 5.4.4 and the sig length is 250.

babydoll8912 #212533 10/15/2001 5:42 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Yes, the sig length in the newest version is limited because it is stored in a varchar field. If you want to be able to allow longer signatures you will need to run the following database command

ALTER TABLE w3t_Posts CHANGE B_Signature B_Signature text


UBB.threads Developer
Sally #212534 10/16/2001 3:30 PM
Joined: Jul 2001
Posts: 14
Newbie
Newbie
Offline
Joined: Jul 2001
Posts: 14
No need to alter the User table also?

babydoll8912 #212535 10/16/2001 4:18 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Nope, the U_Signature field in the users table is already the text type. This was actually an oversight on my part. I should probably change the default int the w3t_Posts table to text but need to find out if a value in a text type file takes more space than the same value in a varchar.


UBB.threads Developer
Sponsored Links
Sally #212536 10/16/2001 4:58 PM
Joined: May 1999
Posts: 90
Member
Member
Offline
Joined: May 1999
Posts: 90
IIRC (in mysql) the length for 'text' is actual length +2 bytes (actually +1/2/3/4 for tiny/normal/medium/long text but since we're sticking to the regular 'text' field +2 it is). The 'varchar' takes actual string length +1 bytes.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1731
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)