Custom Fields Increase (50+)

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Rolodex
Posts: 11
Joined: Mon May 13, 2024 7:30 pm

Custom Fields Increase (50+)

Post by Rolodex »

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!
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Custom Fields Increase (50+)

Post by Klemen »

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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Rolodex
Posts: 11
Joined: Mon May 13, 2024 7:30 pm

Re: Custom Fields Increase (50+)

Post by Rolodex »

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!
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Custom Fields Increase (50+)

Post by Klemen »

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 Image

Image 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
Rolodex
Posts: 11
Joined: Mon May 13, 2024 7:30 pm

Re: Custom Fields Increase (50+)

Post by Rolodex »

Sorry for the late reply.

I think doubling it would be satisfactory, 100?
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Custom Fields Increase (50+)

Post by Klemen »

No promises, but will consider.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Custom Fields Increase (50+)

Post by afeer »

Definitely, it will be a good addition. 100 Custom fields will make this product more flexible.
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Custom Fields Increase (50+)

Post by afeer »

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.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Custom Fields Increase (50+)

Post by Klemen »

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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Custom Fields Increase (50+)

Post by afeer »

I have changed Installation script for 60 Fields and then Updated number 50 to 60 in 1 file (Custom Fields).
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Custom Fields Increase (50+)

Post by afeer »

Thanx Klemen, got it and have done it now Custom fields are 60.
Rolodex
Posts: 11
Joined: Mon May 13, 2024 7:30 pm

Re: Custom Fields Increase (50+)

Post by Rolodex »

Hey Afeer,

Glad you were able to get it increased. Are you able to share which locations you edited to achieve this?
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Custom Fields Increase (50+)

Post by afeer »

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
Post Reply