Custom Fields Increase (50+)
Moderator: mkoch227
Custom Fields Increase (50+)
Version of script: 3.4.5
What terms did you try when SEARCHING for a solution: Custom, Custom Fields, Increase Custom, 50
Write your message below:
Hi all, just checking to see if there's a way to increase the custom fields to more than 50? Is this a hard cap, or something I can modify? My business office deals with all sorts of tickets and require different information for a lot of the custom categories. I've hit my 50 custom fields and can't create anymore, so was hoping for an easy solution to increase that, if possible.
"Info: You have 50 active custom fields, no new can be created."
Thanks!
What terms did you try when SEARCHING for a solution: Custom, Custom Fields, Increase Custom, 50
Write your message below:
Hi all, just checking to see if there's a way to increase the custom fields to more than 50? Is this a hard cap, or something I can modify? My business office deals with all sorts of tickets and require different information for a lot of the custom categories. I've hit my 50 custom fields and can't create anymore, so was hoping for an easy solution to increase that, if possible.
"Info: You have 50 active custom fields, no new can be created."
Thanks!
Re: Custom Fields Increase (50+)
I'm afraid it's a hard cap; we didn't really expect anyone to use this many.
To increase it, you will need to:
- increase the 50 cap throughout the Hesk code, and
- modify the hesk_tickets table structure to accept more custom fields.
To increase it, you will need to:
- increase the 50 cap throughout the Hesk code, and
- modify the hesk_tickets table structure to accept more custom fields.
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
Re: Custom Fields Increase (50+)
Ah I see, thanks Klemen.
Maybe a suggestion for a future release. A possibility of increasing that cap?
Thanks again for your hard work and dedication to this project!
Maybe a suggestion for a future release. A possibility of increasing that cap?
Thanks again for your hard work and dedication to this project!
Re: Custom Fields Increase (50+)
What would a reasonable limit be? We can't support unlimited without major changes to the database, but could potentially increase the limit in the future.
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
Re: Custom Fields Increase (50+)
Sorry for the late reply.
I think doubling it would be satisfactory, 100?
I think doubling it would be satisfactory, 100?
Re: Custom Fields Increase (50+)
No promises, but will consider.
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
Re: Custom Fields Increase (50+)
Definitely, it will be a good addition. 100 Custom fields will make this product more flexible.
Re: Custom Fields Increase (50+)
Have changed some code, 10 Custom Fields are added in DB (Now capacity is 60). Source code files are updated as well but after data is entered, it's not saved in DB.
Last edited by afeer on Mon May 27, 2024 6:42 am, edited 1 time in total.
Re: Custom Fields Increase (50+)
That means that 50 still needs to be increased in at least one file, not sure which one though.
Might be a good idea to search all files for number 50 and check if it needs to be changed?
Might be a good idea to search all files for number 50 and check if it needs to be changed?
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
Re: Custom Fields Increase (50+)
I have changed Installation script for 60 Fields and then Updated number 50 to 60 in 1 file (Custom Fields).
Re: Custom Fields Increase (50+)
Thanx Klemen, got it and have done it now Custom fields are 60.
Re: Custom Fields Increase (50+)
Hey Afeer,
Glad you were able to get it increased. Are you able to share which locations you edited to achieve this?
Glad you were able to get it increased. Are you able to share which locations you edited to achieve this?
Re: Custom Fields Increase (50+)
Thank you very much. Here are the files i have changed the source code.
Install.php
Admin
1.admin_main
2.admin_settings_save
3.admin_ticket
4.edit_post
5.email_templates
6.export
Inc
1. common.inc
2.custon_fields.inc
3.email_functions.inc
4.pipe_functions.inc
5.posting_functions.inc
6.prepare_ticket_search.in
Install.php
Admin
1.admin_main
2.admin_settings_save
3.admin_ticket
4.edit_post
5.email_templates
6.export
Inc
1. common.inc
2.custon_fields.inc
3.email_functions.inc
4.pipe_functions.inc
5.posting_functions.inc
6.prepare_ticket_search.in