Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Stop Clients Closing Tickets

DavidBee shared this idea 7 years ago
Investigating

I think it would be a great idea if we can stop clients closing certain tickets.

For example I would like to stop clients closing tickets that have been opened internally by our abuse department. We normally set these tickets to a custom status and monitor. We would like to only close these internally when we see fit.My idea could be implemented on a ticket by ticket basis or department wide.Discuss below and let me know what you you think of my idea.

Best Answer
photo

Hi there,

Thanks for your votes and suggestions so far. As an immediate solution, the Close Ticket button can be removed from the client area to prevent clients from self-closing tickets.

I've attached an example (provided strictly as-is, without warranty or support) which can achieve this in WHMCS v7.

To use, unzip the attached file and upload to the /includes/hooks directory.

Comments (27)

photo
1

i tried and last time i linked the module the comment was declined, the company name is Deploymentcode , if you run a search over it on google you shall find it as well as the module

Hope this helps until whmcs add it as a built-in feature which i think its a must

photo
1

Hi there,

Thanks for your votes and suggestions so far. As an immediate solution, the Close Ticket button can be removed from the client area to prevent clients from self-closing tickets.

I've attached an example (provided strictly as-is, without warranty or support) which can achieve this in WHMCS v7.

To use, unzip the attached file and upload to the /includes/hooks directory.

photo
1

Uploaded, but does not work.

Oops!

Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

ArgumentCountError: Too few arguments to function WHMCS\View\Menu\Item::setFooterHtml(), 0 passed in /home/*****/public_html/*******/includes/hooks/remove_ticket_close.php on line 10 and exactly 1 expected in /home/*****/public_html/*******/vendor/whmcs/whmcs-foundation/lib/View/Menu/Item.php:0

Stack trace:

#0 /home/*****/public_html/*******/includes/hooks/remove_ticket_close.php(10): WHMCS\View\Menu\Item->setFooterHtml()

#1 /home/*****/public_html/*******/includes/hookfunctions.php(0): WHMCS\Utility\SafeInclude::{closure}(Object(WHMCS\View\Menu\Item))

#2 /home/*****/public_html/*******/includes/clientareafunctions.php(0): run_hook('ClientAreaPrima...', Array, true)

#3 /home/*****/public_html/*******/viewticket.php(0): outputClientArea('viewticket', false, Array)

#4 {main}

photo
photo
1

Does not work, can't even upload WHY in this comment, so see attachement!

Files: OOPS.txt