Jump to content


Level 2 Member
  • Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About cenourinha

  • Rank
    Level 2 Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. cenourinha

    Domain .co.ao

    You can try this: { "extensions": ".co.ao,.ao", "uri": "https://yourdomainname.xyz/checkdomainao.php?domain=", "available": "Dominio disponivel" }, Code for "checkdomainao.php": <?php // Verifica domínios .co.ao error_reporting(0); if($_GET["domain"] == "") { die(); } $post_data['query'] = $_GET["domain"]; $post_data['search'] = "Pesquisar a WHOIS"; foreach ( $post_data as $key => $value) { $post_items[] = $key . '=' . $value; } $post_string = implode ('&', $post_items); $curl_connection = curl_init('https://www.reg.it.ao/whois'); curl_setopt($curl_connection, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($curl_connection, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"); curl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl_connection, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl_connection, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl_connection, CURLOPT_POSTFIELDS, $post_string); $result = curl_exec($curl_connection); //curl_close($curl_connection); //var_dump($result); if (strpos($result, 'não está registado') AND !strpos($result, 'Este domínio não pode ser registado.')) { echo "Dominio disponivel"; } else { echo "Dominio indisponivel"; } ?> This may stop working if they change their website.
  2. I don't think you would be able to setup a hook to do what you want, as it will need several minutes to send all e-mails and will probably timeout.
  3. cenourinha

    Disable Tax Field for Contacts

    @WHMCS John can you confirm this is the case? Or the field is used for billing purposes?
  4. cenourinha

    Disable Tax Field for Contacts

    The tax field for contacts is being displayed even if the "Customer Tax IDs/VAT Numbers" option is disabled. This doesn't make any sense and i think you should address this issue.
  5. cenourinha

    Disable Tax Field for Contacts

    In Portugal, WHMCS Invoices don't have any legal value and they can't even be called "Invoices" or "Faturas" (Faturas means "Invoice" in Portuguese). We need to issue them in an external software certified by the AT (Autoridade Tributária).
  6. cenourinha

    Disable Tax Field for Contacts

    Sub-Contacts should have Tax-ID Fields and other Custom Fields only for Domain Registration, not for tax situations. If WHMCS wants to allow multiple billing entities management within the same Account Login, it must do things in another way so it can be made correctly and following another management model.
  7. cenourinha

    Disable Tax Field for Contacts

    You have the options to disable field edition for Client Accounts, so you can avoid customers to change their billing details, unless is there a valid reason (Company Name change, Legal Name change, etc). I don't see a way for customers to have the invoice issued with different details other than the main account at this moment, even if they select a different Billing Contact, but i may be wrong. When a customer change his account details, this is logged in the "Logs" tab of his account. You can check the change there.
  8. cenourinha

    Disable Tax Field for Contacts

    How do you select the Billing Account for a specific service? How do you know if Invoice #123 is to be issued with the details of the main account, or with the details of the sub-account x? Last time i checked, Contacts modifications (create/edit/delete) aren't logged in WHMCS Logs, what happens when a customer creates a Contact "Jon Doe", you issue the invoice and in the next day he changes the name to "Mary Fox" or just completely delete the Contact? Why would you have a client account with multiple billing details in the same account? Doesn't it make sense to have separated accounts in this case? Today you have a Contract with "Jon Snow", next day he changes the contract to "Khal Drogo", and a week later to "Tyrion Lannister". A month after that, the subcontacts are deleted and Jon Snow asks why did you invoiced domain "winterfell.com" to Tyrion Lannister... and guess what, next day he changes the name to Kit Harington. If you're ok with that, thats great. But most of the companies will need to keep things simple, and a checkbox to enable/disable Tax Field for sub-contacts solves that problem.
  9. Dear WHMCS Team, I think for most of us, it doesn't make sense to have a Tax Field for Contacts. We invoice customers using the main account details, not sub-contacts details, as contacts are only used to notifications. Having Tax Field in the Contacts, will make customers confused and create billing issues. It will be better if you could create an option to enable/disable that field for contacts.
  10. @WHMCS John unfortunately thats not an option for us, because we need sometimes to allow customers to register directly. For example, clients moving services to another client.
  11. I have implemented this, but the checkbox doesn't show up on the register.php page directly, only on the /cart.php?a=checkout. How can we fix this?
  12. How can we log the acceptance on the "Log" tab of the user? How can we use translation strings?
  13. cenourinha

    translate Join our mailing list text

    This is defined at Setup > General Settings > Other > Marketing Email Opt-In Messaging. You can also translate it using the $_LANG['emailMarketing']['optInMessage'] var, as stated on the Documentation: The Marketing Email Opt-In message can alternative be defined within the language files if you wish to provide multiple different versions for different languages. To do this, you must define a language string with the key $_LANG['emailMarketing']['optInMessage']
  14. Yes, i have uploaded the hot fix and there is a problem when i try to add the domain to the cart.
  15. I did get the same error some days ago. Created the account manually and never found more about this.

Important Information

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