Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 07/11/2019 in all areas

  1. 1 point
    As far as I know it's not possible. SendEmail uses IDs/RelIDs to send emails so there's no way to specify an address. The good news is that you can freely send emails with CC, BCC and even with different SMTP credentials by directly including vendor/phpMailer class (I can't remember the right path atm). It's the same that WHMCS uses to send email.
  2. 1 point
    probably to consult a lawyer to see if that's even legal. ๐Ÿ˜ฒ if I understand you correctly, what you intend to do would a) prevent the registrar contacting your client directly and b) prevent the client from transferring their domain away from you because they'd be unable to receive any confirmatory emails sent by a registrar. not every registrar is like Namecheap you know. ๐Ÿ˜‰
  3. 1 point
    WHMCS was one of the companies which take average 6 - 8 hours to respond to our support requests. Even if the answer requires canned responses. But recently since this month precisely, WHMCS support staffs impress me by sending their responses in less than five minutes. Read me, the last response I received from WHMCS staff about is just after one minute of my post. ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ To all of their efforts.
  4. 1 point
    @WN-Ali the steps for moving WHMCS can be found at https://docs.whmcs.com/Licensing#Moving_WHMCS you would then need to update the PayPal IPN in PayPal to point to the new directory, and upload the Redirect Script to the old IPN Location so existing PayPal subscriptions can redirect to the the new paypal callback location. You wont need to change anything for Stripe paypal.php
  5. 1 point
    There are a number of ways that you could achieve this. One of the ways this could be accomplished is with the ClientAreaProductDetails and ClientAreaPrimarySidebar hook points. You would be using the ClientAreaProductDetails hook point to get the Package ID, and then nest the ClientAreaPrimarySidebar hook point inside that to modify the sidebar. Information about these two hook points can be found at the following URLs: https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareaproductdetails https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareaprimarysidebar The ClientAreaProductDetails hook point returns the Service class which you can read more about at https://docs.whmcs.com/classes/7.1/WHMCS/Service/Service.html I have taken a moment to put together a basic example of such a hook. You can review this below: <?php $data['packages'] = array('1'); // Array of Package IDs to be affected $data['children'] = array('Login to cPanel', 'Login to Webmail', 'Change Password'); // Array of Children to be removed add_hook('ClientAreaProductDetails', 1, function ($vars) use ($data) { $packageId = $vars['service']->packageId; if (in_array($packageId, $data['packages'])) { add_hook('ClientAreaPrimarySidebar', 1, function ($primarySidebar) use ($data) { $targetSidebar = $primarySidebar->getChild('Service Details Actions'); if ($targetSidebar) { foreach ($data['children'] as $child) { $targetSidebar->removeChild($child); } } }); } });
  6. 1 point
    Those would be the correct hooks, but they don't support any returns and thus wont help here. What you could do is use those hooks and redirect back to the server page when your tests fail and set a session variable of "server_error". Then use an AdminAreaHeaderOutput hook and check for that session variable and display error.
×

Important Information

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