Eng_Designer Posted August 27, 2016 Share Posted August 27, 2016 Good Morning, I want to limit support departments for client's services, which mean for example If a client as only shared hosting, I want him to see only shared hosting support not all other support departments ! Is is a way to do that ? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted August 27, 2016 Share Posted August 27, 2016 First run a query on your database to verify if the currently logged in user has an Active shared hosting or not. Once done you can use this information to hide/show support departments accordingly. Of course you will also need to force a redirect back to the clientarea home page in case your client tries to open a ticket in your restricted department using the direct URL. 0 Quote Link to comment Share on other sites More sharing options...
Eng_Designer Posted August 27, 2016 Author Share Posted August 27, 2016 How can I technically do this ? the only option available in support department to hide some departments from visitors 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 27, 2016 Share Posted August 27, 2016 How can I technically do this ? the only option available in support department to hide some departments from visitors you can't do it through any change in settings in the admin area - so, you'll need to create an Action Hook to do as Kian suggests. 0 Quote Link to comment Share on other sites More sharing options...
Eng_Designer Posted August 27, 2016 Author Share Posted August 27, 2016 Thanks for clarify, Is there anyone can send me the full instructions to do this ? I've a little experience 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted August 27, 2016 Share Posted August 27, 2016 Well this is not something that can be explained in a post. You need a basic knowledge of PHP, MySQL and WHMCS of course. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 28, 2016 Share Posted August 28, 2016 Well this is not something that can be explained in a post. You need a basic knowledge of PHP, MySQL and WHMCS of course. Thanks for clarify, Is there anyone can send me the full instructions to do this ? Kian's perfectly correct on this - it would take longer to write out full instructions than it would to just do it for you. there are two options - you could either post in the Service Offers & Requests sub-forum and offer to pay a developer to code this solution for you (they can't reply to this forum thread offering to do that)... or you could check Marketplace (or the old App Store) to see if a module already exists. there is at least one in the App Store - "WHMCS Allowed Departments". The WHMCS Allowed Departments module allows you to restrict access to certain support departments based on a clients products.So Web Hosting customers could for example be the only ones allowed to submit tickets in the web hosting department, and vice versa for other department/products. Departments can be left open to anyone, restricted by product, client group, or specific clients. http://www.whmcs.com/appstore/465/WHMCS-Allowed-Departments.html https://forum.whmcs.com/showthread.php?45835-Allowed-Departments-for-WHMCS-Support-Department-Restriction-Module however, you may want to check with the module's developer that the addon is v6 compatible. 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.