Jump to content

Welio

Member
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Welio

  1. Thanks a lot Brian, I was going crazy. It works fine (just with $systemurl).
  2. Hello, I have put the hook with the code below in the directory /includes/hooks/: ------------------------------------------------------------------ <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { $urlidr = $vars['clientsdetails']['customfields15']; if (!is_null($primaryNavbar->getChild('Services'))&&!is_null($urlidr)) { $primaryNavbar->getChild('Services') ->addChild('Emergency Contacts', array( 'label' => Lang::trans('buyResellerWebsite'), 'uri' => $systemurl.'cart.php?a=add&pid='.$urlidr, 'order' => '100', )); } }); ------------------------------------------------------------------ The issue is that the variable $urlidr = $vars['clientsdetails']['customfields15'] remains empty, even though listed among those in the page with {debug} in the file clientareahome.tpl. Anyone can help me, please? Thanks.
  3. You're right, but I was hoping that someone had something ready, even if only similar. Thanks anyway.
  4. Is There no one that could concretely help me? Thanks for your patience.
  5. "It's simple to do if you are good with WHMCS, module creation, API, hooks, PHP and databases." And if I'm not good? Thanks.
  6. Thanks a lot, can you tell me how can I create some 'products' to only use 'their' server, but exclusively for a client? Better, do you have an example of a hook to create a "link" between client and servers, through which be the customer able to choose, when ordering, if create the account/website in the shared server or in one of its dedicated servers? Thanks again.
  7. Hello, I wonder if there is the way to configure a specific hosting server for a specific client. In essence we have multiple servers configured in our WHMCS (Setup-> Products/Services-> Servers) and, when a specific customer purchases a hosting account, we'd like this would be configured on a specific server dedicated to that customer, instead of the default server. Any suggestions? Thanks.
  8. I have a lifetime license purchased from a reseller, so i can't access to whmcs site to open a ticket
  9. In this log there isn't entry of email for new account. For every one that has my problem i solved with this workaround: I create hook: <?php function send_welio_email($vars) { //send mail $command = "sendemail"; $adminuser = "admin"; $values["messagename"] = "Hosting Account Welcome Email"; $values["id"] = $vars['params']['serviceid']; $results = localAPI($command,$values,$adminuser); //Log to WHMCS $command = "logactivity"; $values["description"] = $results; localAPI($command,$values,$adminuser); } add_hook("AfterModuleCreate",1,"send_welio_email"); ?>
  10. I read all documentation and searched in internet. Logs doesn't catch this error I try to add a template with only test write inside and set this to product as welcome email. But email was not generated. Is generated only if i force to resend welcome email with specific button
  11. Hi, when i order a package email with account information not send automatically. All email for invoice and order are sent correctly. I set correctly welcome email in service product to "Hosting account welcome email" and email template exists. If i send email manually in whmcs it works. Who can help me? Regards Antonio
×
×
  • 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