The title says everything. I found a hook on github but it's not working so I'm here to ask for help 😊
I hope this topic help a lot of people.
Restrict the access to support departments based on the products purchased by users. Define rules as follows.
$department['1'] = array('45', '46', '10'); $department['2'] = array('85', '86', '10'); // Keep adding rules one per line The key of $department array (the  and  between square brackets) corresponds to the ID of the support department for which we are creating a rule. The value is an array() of product IDs required for access. In a in nutshell, the above configuration unlocks department #1 to users with product IDs 45, 46 and 10. Department #2 requires 85, 86 and 10.
Here are few more things to consider:
submitticket.php doesn't show restricted departments Access via direct link submitticket.php?step=2&deptid=2 triggers a redirect to submitticket.php Department dropdown lists only allowed department The same product can be used for multiple rules Pending, Suspended, Terminated, Cancelled and Fraud products are ignored Get the Code »
I am currently developing a filemanagement system. I want to deliver that product over the file download "module". the user needs to registrate for that. Now my question is, is it possible to sign-up for just this product only (no middlestep in the whmcs, to order it). Can you tell me if there is some module, addon or similar to get that work?
Recently Browsing 0 members
No registered users viewing this page.