Jump to content

prodiac

Retired Forum Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by prodiac

  1. Yes I did, and they implemented new functions in to the DirectAdmin server module. You'll need to obtain the modified version of this module from WHMCS. In the module settings for the packages, it has a drop down menu to select from the 3 IP options.
  2. We are working on setting up WHMCS to work with our DirectAdmin servers, and I've run in to a huge problem. We assign a static IP to all Resellers. So in the package, I have it set to not allow sharing of the server IP. When we create the reseller accounts through DA, we select the option that says "Shared, Reseller's IP". Looking at the API manual located at http://www.directadmin.com/api/, I see this function: CMD_ACCOUNT_RESELLER In it, it has a call for the IP of the new account. There are 3 options: -- ip shared, sharedreseller or assign. If shared, domain will use the server's main ip. assign will use one of the reseller's ips. sharedreseller will set the resellers ip to shared and assign the reseller to it. -- The DirectAdmin module for WHMCS seems to use the 'shared' option by default, and I see absolutely no way to switch this so it would use the 'sharedreseller' option. Is there a way to do this? Is this something that can be easily implemented? I believe it would just be a simple syntax change in the module code, unfortunately since its encrypted I can't read it to do so
  3. Nevermind this, I found that it did hold the clientdetails info, so I was able to build my owner queries using the client id.
  4. I've followed the documentation here: http://wiki.whmcs.com/Creating_Pages I've created a new page, and edited header.tpl to get the new page linked with the other client area options. The problem is I want to use the variables that are available and used in the clientareaproducts.tpl, in this new page. The script I've written uses the following code: {foreach key=num from=$services item=service} {php} $productid = $this->_tpl_vars['service']['id']; This script works when added to the end of the clientareaproducts.tpl template, and displays what it is supposed to there. But when it is my custom page, it does not recognize the $services variable. I presume that I need to add something else to my main page in the root directory for the script, to have it load those variables, but I am just not sure what needs to go there. Can anybody help? I've built an addon for WHMCS to integrate it with Cacti graphs to display them for each users dedicated/colo servers, have it functioning as needed to display on the admin side, and billing for overage. All that's left is displaying on the client side.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated