theozsnowman Posted October 6, 2020 Share Posted October 6, 2020 it it just me or do Client Group background colors no longer display on tickets in the helpdesk? it was a very handy function to easily identify different groups of our clients when doing support however since upgrading ive noticed its no longer changing the background color of the clients name in the ticket list. is this something that was removed or a bug? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 6, 2020 Share Posted October 6, 2020 11 hours ago, theozsnowman said: is this something that was removed or a bug? that age old question - i'm inclined to think this is a deliberate change, because there are changes to the template (perhaps to avoid confusion with the owner/guest etc labels)- though I equally couldn't rule out an oversight on WHMCS' part during testing as the client groups styling are still used on other pages.. 🙄 on viewticket, you could write a hook to put the styling back; but on supporttickets.php, then that's more difficult and you're likely in the realms of using JavaScript in a hook (as there is no template to work with). 0 Quote Link to comment Share on other sites More sharing options...
theozsnowman Posted October 7, 2020 Author Share Posted October 7, 2020 hrmmm as i kind of suspected...then in that case i think the best solution would be to allow for a series of small icons to be added next to the clients name in the ticket list... 0 Quote Link to comment Share on other sites More sharing options...
Giovanna Posted October 15, 2020 Share Posted October 15, 2020 Hello, does anyone have a solution? This color option is sorely needed, it made things very difficult! 0 Quote Link to comment Share on other sites More sharing options...
AzeDK Posted November 8, 2020 Share Posted November 8, 2020 We miss the client group colors as well. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted November 9, 2020 Share Posted November 9, 2020 This script here should work. 1 Quote Link to comment Share on other sites More sharing options...
AzeDK Posted November 9, 2020 Share Posted November 9, 2020 8 hours ago, Kian said: This script here should work. You are a life saver Kian, thank you! 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted November 10, 2020 Share Posted November 10, 2020 On 10/6/2020 at 12:46 AM, theozsnowman said: it it just me or do Client Group background colors no longer display on tickets in the helpdesk? it was a very handy function to easily identify different groups of our clients when doing support however since upgrading ive noticed its no longer changing the background color of the clients name in the ticket list. is this something that was removed or a bug? It was highly likely removed by mistake. Report it as a bug. 0 Quote Link to comment Share on other sites More sharing options...
AzeDK Posted November 10, 2020 Share Posted November 10, 2020 @Kian Can you update it, so it works on flagged/assigned tickets too 🙂 ? It works if you look for both table#sortabletbl1 and table#sortabletbl2 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted November 10, 2020 Share Posted November 10, 2020 Ah! That's true. Updated. Now it should work also for flagged tickets. 1 Quote Link to comment Share on other sites More sharing options...
AzeDK Posted November 10, 2020 Share Posted November 10, 2020 Thanks @Kian works great :)! 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted November 11, 2020 Share Posted November 11, 2020 Let's hope WHMCS developers read this topic and add the proper CSS fixes to the next release. ☺️ It's ridiculous that a hook is required is for this... 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 11, 2020 WHMCS Support Manager Share Posted November 11, 2020 Hi all, We opened case CORE-15572 as a result of these reports, and are planning to make sure the Client Group colour is displayed to correspond for the ticket owner. This is scheduled to be included in v8.1. Thank you for the reports! 2 Quote Link to comment Share on other sites More sharing options...
AzeDK Posted November 21, 2020 Share Posted November 21, 2020 On 11/11/2020 at 5:13 PM, WHMCS John said: Hi all, We opened case CORE-15572 as a result of these reports, and are planning to make sure the Client Group colour is displayed to correspond for the ticket owner. This is scheduled to be included in v8.1. Thank you for the reports! @WHMCS John will this also be included in the main ticket view? Credits to @Kian for the temp fix 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 21, 2020 Share Posted November 21, 2020 12 hours ago, AzeDK said: will this also be included in the main ticket view? it hasn't been so far in the v8.1 beta - it's only in the Ticket Info sidebar (as per the screenshot). 0 Quote Link to comment Share on other sites More sharing options...
theozsnowman Posted November 23, 2020 Author Share Posted November 23, 2020 pity the main ticket view is where we used it the most... 0 Quote Link to comment Share on other sites More sharing options...
AzeDK Posted November 27, 2020 Share Posted November 27, 2020 @Kian if you get time, can you update your script to take into count "Guest" tickets ? They show up without <a href=""> tags inside the <small> tags. Its non-clients that make tickets. It breaks the loop array for me 🙂 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted November 27, 2020 Share Posted November 27, 2020 5 hours ago, AzeDK said: @Kian if you get time, can you update your script to take into count "Guest" tickets ? They show up without <a href=""> tags inside the <small> tags. Its non-clients that make tickets. It breaks the loop array for me 🙂 That's correct. Now it should work also with "guest". 1 Quote Link to comment Share on other sites More sharing options...
AzeDK Posted November 28, 2020 Share Posted November 28, 2020 Thank you @Kian its perfect 🙂 0 Quote Link to comment Share on other sites More sharing options...
Adriano Meira Posted March 22, 2021 Share Posted March 22, 2021 Hello thanks for the code it worked here. But I had to make two small corrections, I don't know if others may have the same error, in line 30 it was necessary to put the term 'undefined' with quotation marks. And on line 36 it was giving an error here for me, so I disassembled it and it worked, I removed the part "params.length - 1" from inside the variable 'id' and everything worked. But it still helped a lot, thank you very much. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.