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):
increasing the signature lengh
Moderator: mkoch227
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
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']);}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 12
- Joined: Thu Dec 27, 2007 3:04 pm
Re: increasing the signature lengh
How do increase the signature length in Hesk 2.4.2?
I changed the MySQL database value.
Changing
in admin/profile.php does not work.
Thanks
I changed the MySQL database value.
Changing
Code: Select all
if (strlen($_SESSION['new']['signature'])>255)
Thanks
Re: increasing the signature lengh
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.
You will need to change field type to "text" in MySQL.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 12
- Joined: Thu Dec 27, 2007 3:04 pm
Re: increasing the signature lengh
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.