|
|
Joined: Jul 2001
Posts: 14
Newbie
|
Newbie
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".
|
|
|
|
Joined: Jul 2001
Posts: 14
Newbie
|
Newbie
Joined: Jul 2001
Posts: 14 |
And I just updated to 5.4.4 and the sig length is 250.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
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
|
|
|
|
Joined: Jul 2001
Posts: 14
Newbie
|
Newbie
Joined: Jul 2001
Posts: 14 |
No need to alter the User table also?
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
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
|
|
|
|
Joined: May 1999
Posts: 90
Member
|
Member
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.
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|