Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

10 Good

About wtools

  • Rank
  1. Hi, We can create custom functions easily by following the link https://developers.whmcs.com/provisioning-modules/custom-functions/. When ever we click on the custom function, i would like to display a confirm box. like 'Are you sure?' How can we do that? For the default functions like CreateAccount, confirm box is there already. But it's not there for the custom function, how can we implement that?
  2. I have some custom fields(drop down) fro the products and those custom field details are stored in the table tblcustomfields I can see that there is a field fieldoptions, which stores drop down values as a comma separated list like 1,2,3 etc. in this case we will see 1,2 and 3 in the drop down like <option value="1">1</option><option value="2">2</option><option value="3">3</option> Is it possible to populate a custom field dropdown as key value pair? So that the customer will see keys and while submiting the form , diffrent values will be posted. So the final html should be <option value="1">user1</option><option value="2">user2</option><option value="3">user</option>. Is it possible?
  3. Add a existing domain to WHMCS customer

    Actually domains were registered earlier, now they want to just add the domains under the clients in the WHMCS.
  4. Hi, One of our clients started using WHMCS. Now they want to add customers domains to their account for billing purpose. Those domains were already registered earlier. How can we do that?
  5. So, 1. i go https://<mywhmcs>/admin 2. go Setup 3. Administrator Users 4. Edit any user, like first.last (username with a dot in it) Sales Operator 5. check unselected Assigned Departments 6. click by Save Changes and have an error: Validation Error The username must be alphanumeric characters only
  6. Hi, When i assign a customer to a department from the admin side, i am getting the below error. Validation Error The username must be alphanumeric characters only If i change username from something like zzzzzz.ggggggg to zzzzzzggggggg (no dot here) the assignment works well. So can assign user names like that to some department without an error?
  7. Hi, What's the best way to add more rules for client password? Just like it must be 8 characters and should have special characters and number etc. How can we do it? Using a hook?
  8. domain is unavailable

    Hi, I was able to install WHMCS successfully. I set domain prices in the back out and also deafult domain look up is whois . When i tried to search availability of a domain say sadwadawdwqe.com from the client side, it's saying sadwadawdwqe.com is unavailable. I tried .uk too, that too is not working. I have to do anything to get the correct response?
  9. Hi, I tried to upgrade the whmcs from Utilities > Update WHMCS and getting an error public_html/composer.lock): failed to open stream: Permission denied [ErrorException] File signature was validated Certificate used for signature validation was loaded and validated For manual up gradation can't see a patch file for up gradation from 7.23 to 7.41. How can i upgrade?
  10. email sending to external address?

    Yeah, as you mentioned the API can be used to send mail to the registered clients. But still you can write custom code to send a mail to any other email id. After what action you would like to send the mail? Just after a domain is registered or transferred?
  11. Can i create invoice by ajax?

    Hi, Actually it's better to place the file in root directory. You can place code with some action in the folder /includes/hooks. . But the code you wrote in teh ajax.php don't have any hook. Place the file in the WHMCS root directory. Follow the link https://developers.whmcs.com/advanced/creating-pages/
  12. Can i create invoice by ajax?

    Actually you can upload hook files to the folder /includes/hooks. Can you paste here the code added to the file ajax.php? Also where you wrote the jQuery code to call the API asynchronously?
  13. Hi, We can easily customize client area html code by editing corresponding tpl files. But can't see any tpl file for the admin side. How we can add some custom html code to the whmcs admin pages? One way i found is using the hook AdminAreaPage return some jquery code to append html code like $return['jquerycode'] = "some jquery code here"; But it's too complicated to manage. Is there any other nice method to add some custom html code to the admin area pages?
  14. How to create custom page in whmcs ?

    Here is a sample custom php file (test.php), you can upload it to the root folder of the whmcs. You can extend the simple file to do anything. Sky is your limit test.php <?php use Illuminate\Database\Capsule\Manager as Capsule; define("CLIENTAREA", true); require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("My test page); $ca->addToBreadCrumb('index.php', Lang::trans('globalsystemname')); $ca->addToBreadCrumb('test.php', 'Test'); $ca->initPage(); $ca->assign("response", $an_array); $ca->setTemplate('test'); $ca->output(); test.tpl (place in the document root itself) {if $response} Test content {/if}

Important Information

By using this site, you agree to our Terms of Use & Guidelines