Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 07/10/2019 in all areas

  1. 4 points
    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.
  2. 2 points
    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); } } }); } });
  3. 2 points
    8 or 9 years ago I coded a WHMCS module that was pulling data from cPanel & CloudLinux. I can't remember all the parameters involved but for sure I had everything you see in LVE Manager (CPU, VMEM, PMEM, I/O, EP... min, avg, max, limit) and in the sidebar of WHM (FTP accounts, databases, emails, forwarders, disk, bandwidth...). At that time cloud was becoming the new trend to follow but there were still no softwares to bill hourly depending on resource usage so I coded one. I remember that few years later Modulesgarden coded a similar script. You could try to contact them. Considering what I did it so many years ago, I'd say that for sure it is still possible but I can't remember anything about INODES. Curiously my ancient module worked non-stop till 2 years ago when I killed the server. Before you ask, I have a backup but who knows where.
  4. 1 point
    Welcome to WHMCS.Community SureWeb! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.
  5. 1 point
    Hi Everyone! Hope you're doing great today. I have a concern in regards to adding a manual transaction in WHMCS which the scenario is that I've been using Transactions Functionality to track my expenses manually via my personal account as a user client and record all of my expenses there for tracking by listing the expense transaction as Fees alone w/o the Amount In and Out. The problem recently is that I could not do it anymore. Do you know how to fix this? Anyway, assuming it can't be done anymore, I wonder how do you track manually your expenses or other reports that needed to track the Income Statement of the Business while using WHMCS. I would like to ask an idea about a format via excel to extend the limitation of the reports included in WHMCS like the expenses and the bank cashflow. Don't we have an add-on reporting for tracking the gateways transactions? Thanks Guys for your help further. More power to your businesses!
  6. 1 point
    Yes, that exactly what I'm doing. I'm using my own personal account. Problem is that it is not working anymore today. I mean using the Transaction Fees or Out with Zero Amount In.
  7. 1 point
    With HostX you can launch various offers on your web hosting website. Now you do not need to call your web developer to create a new offer. You can easily create it by yourself without the need for a developer or a designer. Not only this, you will get a "LIVE TIMER" option on this offer section which will tell your customers that for how much time the offer is valid and they can take their decisions accordingly. You just need to assign the Special Offer Block to any page and set the offer ending timer in the HostX setting. Here is the video depicting, how you can set offers. To buy the theme, visit: https://whmcsglobalservices.com/webhosting-template/hostx-whmcs-theme-template/ View Video Demo:
  8. 1 point
    Welcome to the community @Lex3891
  9. 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.
  10. 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. πŸ˜‰
  11. 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
  12. 1 point
    for other readers, it might be useful if you had included a link to the page that screenshot came from... πŸ™„ https://blog.cpanel.com/update-to-account-based-pricing/
  13. 1 point
    really? for simplicity sake, I tend to keep my 7.7.1 dev in 5.6 - seems to work without issue, though maybe you have addons that require PHP7. well from your screenshots, you can tell that it fundamentally works with credit balances, or I assume, 0.00 discounted invoices..... i'd be tempted to try it with bank transfer/mail-in payment to see if this is purely a PayPal issue, or if it doesn't like gateways in general. in that thread from @VanguardOne others have stated that it works with PHP7, so i'm inclined to think it's more an issue with PayPal or its configuration at your end - but without testing this locally myself, I can't know for sure. if you want a commercial solution, Order Assistant from BusyRack is available from the Marketplace - it's $20 per year, or $80 to buy it. I doubt that any moderator here (who will all be staff I assume) would comment on that unless they have used it themselves - they probably wouldn't comment on the status of a live third-party project, let alone an archived one. but your screenshots show that it partially is, just not in your case for that PayPal order... so possibly something different with the variable values in the hook using PHP7 rather than 5.6 ? I would suggest that you do one of two things (or both)... post the issue on their GitHub site as that's where anyone familiar with this will see it and may already have a solution. perhaps it just needs to use OrderPaid or InvoicePaid instead of the current hook point - there's a post with updated code here, but I haven't tried it.
  14. 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.
  15. 1 point
    Welcome to WHMCS.Community ethar! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.
  16. 1 point
    Welcome to WHMCS.Community Tobias Bjergman! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.
  17. 1 point
    Lastly don't forget to create an .htaccess rule to redirect 301 all visitors from page X (old domain) to page Y (new one) otherwise you will disappear from Search Engines for a while losing all indexed pages. In case you use a sitemap don't forget to update links and to use the new path on Google Console, Bing Webmaster Tools etc.
  18. 1 point
    @masterolive Moving WHMCS is pretty straight forward most of the steps have been mentioned by Steven99 and we have a guide at https://docs.whmcs.com/Licensing#Moving_WHMCS
  19. 1 point
    A few though to consider when changing: Cron job needs to be updated to the new location WHMCS license needs to be reissued Any licensed modules need to be reissued Paypal IPN needs to be updated if used Redirect from /hosting to sub domain should be setup Any custom items that give absolute paths like the custom folders Templates that have hard coded URLs need to be updated That should cover most items. The major thing is the cron job path as without that automation will stop. The change should not affect payment tokens and email templates will use the system url setting once you update that.
  20. 1 point
    Hi there, I totally agree with you. Anyway, in regards to the Amount Out, I am using the Fees section to input the expense. Are you using yours with Amount Out? Do you input that with a client? Thanks by the way. πŸ™‚
  21. 1 point
    Hi @crazeegeek, We've determined this could occur if the Modify Subscription feature was enabled before this feature was discontinued (only available in installations pre-2011). As a workaround, please execute the following SQL query against your WHMCS database: DELETE FROM tblpaymentgateways WHERE setting = 'modifysubscriptions' AND gateway = 'paypal';
  22. 1 point
    I don't know if this is an issue across the board, but it is using an Owned License install, currently v7.7.1. Please provide a version of the PayPal module with the hidden input "modify",for the subscribe button, changed from 1 to 0. - <input type="hidden" name="modify" value="1"> + <input type="hidden" name="modify" value="0"> As long as the module continues to generate Subscribe buttons with modify enabled, clients are unable to create subscriptions.
  23. 1 point
    Thanks for the complements. I have modified only header, footer and one support ticket tpl file of the "Six" template. Everything else was done with hooks and custom css. It makes upgrade process very easy, as I only have to check (and possibly modify) 3 tpl files!
  24. 1 point
    We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
  25. 1 point
    you have to love WHMCS using a new navigation system, but then releasing documentation that is so thin on detail, it's close to being useless. however, the solution finally clicked into place... <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function(MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Home'))) { $primaryNavbar->getChild('Home') ->setIcon('fa-home'); } if (!is_null($primaryNavbar->getChild('Services'))) { $primaryNavbar->getChild('Services') ->setIcon('fa-bars'); } if (!is_null($primaryNavbar->getChild('Domains'))) { $primaryNavbar->getChild('Domains') ->setIcon('fa-globe'); } if (!is_null($primaryNavbar->getChild('Billing'))) { $primaryNavbar->getChild('Billing') ->setIcon('fa-usd'); } if (!is_null($primaryNavbar->getChild('Support'))) { $primaryNavbar->getChild('Support') ->setIcon('fa-support'); } }); the thing to always remember is that if you are modifying or removing an existing child, you *must* first check that it exists and then only if it does, can you modify it - if you try to modify something that doesn't exist, that's when you run into issues. btw - your code didn't work for me at all.
×

Important Information

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