Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 06/20/2019 in all areas

  1. 2 points
    by making the other fields optional from the settings... https://docs.whmcs.com/Other_Tab#Optional_Client_Profile_Fields with all those fields optional, then only email address and password should be required to complete the order... any required custom client fields, security questions and TOS would be too if they were enabled, but if you're trying to keep the checkout/registration pages to a minimum, I doubt that you would enable them. 🙂 then just commenting out the blocks of code in clientregister.tpl should be all that's needed - if WHMCS used properly coded CSS IDs or names in their templates, you should be able to do it that way, but until that glorious day arrives, editing the template would be easier. probably a variation of the ClientAreaPage hooks I used in the threads below... what both of those hooks do is redirect the logged in user to a specific page if certain conditions aren't met - in the case of the latter, it's the client not having previously added an answer to a security question - the hook means that until they do that, they ain't going anywhere in WHMCS - not to the cart, the kb, the clientarea homepage... they will keep getting redirected to the page until they meet the conditions. in your case, I suppose that's going to be choosing a field (or fields) that you need to be completed, e.g firstname and lastname and adjusting the hook code accordingly... once they're updated, the client can go wherever he wants within WHMCS. 🙂
  2. 2 points
    Don't know if this is the right category to post this in, but I thought I wanted to share this. It's a very small hook that cancels an invoice once the product gets terminated. //<?php use WHMCS\Database\Capsule; add_hook('PreModuleTerminate', 1, function($vars) { $invoiceid = Capsule::table('tblinvoiceitems') ->where('relid', '=', $vars['params']['serviceid']) ->orderBy('duedate', 'desc') ->first(); Capsule::table('tblinvoices') ->where('id', '=', $invoiceid->invoiceid) ->update(['Status' => 'Cancelled']); }); Any feedback is much appreciated.
  3. 2 points
    The largest issue will be the resellers, VPS and dedicated server licenses, not those having to do with plain shared accounts. Keeping track of plain shared accounts on a server is simple, as is charging to cover them. Where this runs into big problems is a reseller (for instance) jamming hundreds and hundreds of accounts onto a box, and suddenly having to pay per account rather than one known license fee. WHMCS tracks the reseller account, but not the accounts that account creates on a server. If you're charging $20/m (as an example) for a reseller account, and they have sold 400 accounts, that's an extra $80/m (assuming the server already has 100+ on it) to you, the server admin/owner. You're out that $60 unless you think you can tell them they owe it. If you'd been limiting accounts per reseller all along, less concerning, but still will require onerous billing changes.
  4. 2 points
    Very sad day for hosting companies.. We trusted cPanel for years and now they didnt even think about us.. just a massive increase and survive if you could.
  5. 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.
  6. 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.
  7. 1 point
    @Craft yes, WHMCS would pdate the transfer status if the domain sync script was supported with register.com its not so we're unable to automatically update it
  8. 1 point
    Hi @chaphugnes1321 Thanks for your post, you'd need to work with your host to get your FTP login credentials then connect using an FTP client such as CyberDuck to upload the files to the /templates directory of your WHMCS installation.
  9. 1 point
    Also, if you use something like elementor or something with WordPress, you can generally use the Data Feeds if you don't want to use WHMPress. For the vast majority, you will likely need WHMPress, which integrates your client area into WordPress 🙂 HostX as mentioned above would eliminate the need for two separate sites. You could manage pages, etc within HostX!
  10. 1 point
    Open your english.php file, read this and look for the following strings: $_LANG['tax']['taxLabel'] = "Tax ID"; $_LANG['tax']['vatLabel'] = "VAT Number"; Anyway think twice. Are you 100% sure that you really want customers to use the same field for both VAT numbers and Tax ID? For a million of reasons you'll probably need both values and not just one at a time.
  11. 1 point
    I actually have a great idea for you! https://whmcsglobalservices.com/whmcs-themes-templates/ HostX by WHMCS Global Services is AMAZING! I actually use it. You can make pages and add content. I'd also contact @NadalKumar for the CMSE Framework for WHMCS 🙂
  12. 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.
  13. 1 point
    I need more details. What number should I use for RCTI? "Dedicated" number (eg. Invoice #1, Invoice #2, RCTI #1, Invoice #3, RCTI #2) "Shared" number (eg. Invoice #1, Invoice #2, RCTI #3, Invoice #4, RCTI #5) At the moment I'm dealing the following document types in WHMCS: proformas, invoices and credit notes. Should I consider "RCTI" as a new document type? Is there a friendly-name to use in place of RCTI like "invoice", and "proforma"? What is a GST registered partner? Is it maybe just a company with a valid VAT number from Australia? What are the full requirements to meet in order to issue RCTI? I'm asking that because I want to see if I can automate the process. Is there a sort of registration number? If so, is it possible to validate it formally (eg. "AU" followed by 9 digits and a check digit) or via webservice (eg. directly from Revenue Agency)? Anyway it's doable. I'm already coding something similar for Italy. At the moment the module has a simple dropdown menu where all these "special" countries are listed. This way you can pick your country and automatically load your "special" rules. Let me know.
  14. 1 point
    What does this mean for us as customers?
  15. 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
  16. 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.
  17. 1 point
    How are you marking them paid? Are you doing an "Add payment" via the invoice page or using the "Mark paid" button in the invoice list? From what you have described, I would say you are using the Marked paid button . If you use the add payment and enter the transaction ID from paypal, WHMCS should not then record that transaction when they send the confirmation to WHMCS as it will see there is already a transaction with that ID. Also, the delay could be if they are using echeck as WHMCS wont record the payment until that clears.
  18. 1 point
    anyone can tell me how we use whmcs login restrict on other website Example domain1.com (whmcs installed ) domain2.com (whmcs not installed) so i want login restriction when user login on domain1.com then user able to visit domain2.com otherwise so login page of domain1.com
  19. 1 point
    Version 2.2.62 released few minutes. It brings 3 long-awaited features. 1. WebService There's a new plugin named WebService (preview) that is a must-have in case next year you have to comply to electronic invoicing. Here is the documentation. With this guy you can connect to BX via API and get all you need to integrate your WHMCS with E-Invoicing of any country or accounting software. It has been designed to look exactly like External API of WHMCS (It's NOT WHMCS API). <? /* [... cut ...] */ $postData['action'] = 'Get'; $postData['start'] = 'Month to date'; // Supports dates (2019-06-10), integers (5 = last five days) and keywords (yesterday, last 7 days, last week, year to date, previous month...) //$postData['end'] = '2019-06-15'; // Used to filter by range of dates //$postData['invoicenum'] = '2019-150'; // Search by Invoice Number //$postData['invoiceid'] = '10'; // Search by Invoice ID //$postData['doctype'] = 'Invoices'; // "Invoice" returns invoices, "CreditNotes" returns credit notes, "All" or empty returns both $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $URL . 'modules/addons/BillingExtension/core/BillingExtension_Admin/resources/einvoice/einvoice.php'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($postData)); $postDataresponse = curl_exec($ch); In the response there's everything (snapshots, VIES, MOSS, EU-stuff, invoices, clientdata, items...). If you need more data just tell us. 2. Clients page 23 columns & filters +2 in case you're using Italian Electronic Invoicing plugin. The page also allows you to perform "massive" actions (Send Email, Turn on/off OneInvoice and OnePayment). I wanted to add more actions but I didn't manage to find cool ideas. The small button on the right can be used to Login as Client. Guess what? The table uses SorTables therefore you can add, move, remove, compress and export columns on XLS or CSV... I can't remember. 3. Custom Billing mode for each clients Till now it was possible to use OneInvoice and OnePayment globally on all the registered customers but now both features can be enabled on specific customers. This way you can finally use manual invoicing for your best customers using the existing Billing page. Next thing.... Electronic Invoicing for Slovenia 😭 Thanks.
  20. 1 point
    A couple of tricks to add to what suggested by WHMCS: enable and force 2FA for admin access keep your backup(s) on a different system do not use "strange" (nulled...) themes and add-on protect your phpmyadmin access
  21. 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. 🙂
  22. 1 point
    Hello @mbsmt Thanks for your post, I suspect that you do not have a Email Templates Attachment location specified https://docs.whmcs.com/Storage_Settings please navigate to Setup > Storage Settings and setup a storage location for the Email Template Attachments
  23. 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.
  24. 1 point
    I think have find solution. Google webmaster, Search Console> Crawl>URL Parameters I have add "view" and "language" and select "No: Doesn't affect page content (ex: tracks usage)" . added "view" to prevent duplicate urls for announcements: http://domain.com/announcements.php?view=2016-04 http://domain.com/announcements.php?id=140 added "language" to prevent index urls for each language: http://domain.com/whmcs/clientarea.php http://domain.com/whmcs/clientarea.php?language=german http://domain.com/whmcs/clientarea.php?language=spanish It is correct?
  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