Page 1 of 1
increasing the signature lengh
Posted: Tue Apr 24, 2007 11:18 pm
by power
Script URL:
Version of script: 94
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I need to know how to increase the signature lengh, our sig is very long, and is it safe to set it to 999999 max, thanks
Signature (max 255 chars):
Posted: Tue Aug 28, 2007 9:28 pm
by power
can someone help me ? thanks
Posted: Tue Aug 28, 2007 10:32 pm
by Klemen
You'd have to go into MySQL database and in table "hesk_users" change field type for 'signature' from "varchar(255)" to "text". You can use phpMyAdmin to do that if your host supports it.
Also open profile.php in a plain text editor and delete line
Code: Select all
if (strlen($_SESSION['signature'])>255) {hesk_error($hesklang['signature_long']);}
Re: increasing the signature lengh
Posted: Mon Jan 28, 2013 1:15 am
by SEEKNDESTROY427
How do increase the signature length in Hesk 2.4.2?
I changed the MySQL database value.
Changing
Code: Select all
if (strlen($_SESSION['new']['signature'])>255)
in admin/profile.php does not work.
Thanks
Re: increasing the signature lengh
Posted: Mon Jan 28, 2013 4:33 pm
by Klemen
You didn't change MySQL database value, because 255 is the maximum "varchar" fields will accept in MySQL.
You will need to change field type to "text" in MySQL.
Re: increasing the signature lengh
Posted: Mon Jan 28, 2013 6:59 pm
by SEEKNDESTROY427
You're correct, I made a mistake editing the database value. However, deleting if (strlen($_SESSION['new']['signature'])>255) does not work. I had to change it to if (strlen($_SESSION['new']['signature'])>10000) to be able to save the signature. 10k is a lot but I'm the only one answering tickets so it doesn't matter.