Jump to content


  1. The Latest from the WHMCS Team

    1. News & Announcements

      Announcements and mailings we send out will be posted here

  2. WHMCS.Community

    1. Community Announcements

      Our WHMCS Community Announcements with everything from our community rules to updates on making our community more awesome

    2. Introduce Yourself

      Introduce yourself here and be sure to come back to welcome others.

  3. Using WHMCS

    1. Pre-Sales Questions

      Considering purchasing WHMCS but have some questions? Ask them here.

    2. Admin & Configuration Questions

      This is your space for any questions about WHMCS configuration settings.

    3. Installation, Upgrade, and Import Support

      Get help from the community with installing, upgrading and migrating to WHMCS here

    4. Using WHMCS

      Have a question about how something works or need help configuring and using WHMCS? Here's the place to do it.

    5. Troubleshooting Issues

      Use this board to discuss any issues or problems you are encountering. If you think you've found a bug, please report it here

    6. Vendor Discussions

      Discuss Control panels, payment gateways and domain registrars here

  4. WHMCS Showcase

    1. Showcase Your Site

      Customized and integrated WHMCS in some way? Show the WHMCS Community here!

    2. Share Your Best Practices & Tips

      Share your tips and advice to the rest of the WHMCS community.

  5. Developing & Extending WHMCS

    1. Third Party Add-ons

      A place to discuss third party modules, add-ons and extensions for the WHMCS platform.


    2. Service Offers & Requests

      A place to post offers & requests for services related to WHMCS. Rules apply.

    3. Developer Corner

      Integration, customization and module development, if you have questions, ask them here.

    4. Building Modules

      Need help while building an extension? Ask your questions here.

    5. Share Ideas for WHMCS Modules

      Looking for an extension that doesn't exist? Share your ideas and vote on others.

  6. Community Competitions

    1. Competitions

      From time to time we run community competitions this is the place you'll find them

      • No posts here yet
  7. General Discussions

    1. General Discussion

      Board for general conversation, share interests, discuss industry related news, etc...

  8. General Feedback & Assistance

    1. WHMCS.Community Tips & Tricks

      This board provides an overview of some features and functionality that WHMCS.Community provides.  We add new content from time to time.

  • Popular Contributors

  • Our picks

    • WHMCS.Community Turns One!
      Today marks 1 year since the launch of WHMCS.Community!  In that time we're re-platformed from vBulletin to Invision Community Suite and seen tremendous growth in across the boards.  It's thanks to all our users that the new community has been a success, and we're just getting started!

      WHMCS.Community Statistics

      3441  new community members joined
      3960  new posts created across the community
      13,978  replies crafted by our awesome community members

      The Annual Leaderboard

      Leading the pack with 440 reputation points is @brian!
      With 52 reputation points, @WHMCS John takes second place
      On third @sentq rounds out the board with 48 points

      Remember, using reactions on posts could see you on the leader-board next year, or featuring in our monthly wrap-ups.

      Top posts of the year

      The following posts received the most reactions from other users, denoting them as particularly valuable. Nice work:

      A final note

      Thanks to everyone that has contributed to the first year; without you we wouldn't have a thriving community.  Over the next year we plan to add more boards, a new ranking structure and more feature that make this community even better than it already is!
        • Party/Celebrate
      • 0 replies
    • WHMCS.Community Wrapup - September 2018
      Hi Everyone,

      Welcome to the September 2018 Community Wrap-up a look back at some of the highlights from the community over the last month.  WHMCS.Community is here to help you so please do send your feedback thru!

      WHMCS.Community September 2018 Statistics at a glance:

      307 new members joined WHMCS.Community

      338 new topics where created

      1,110 replies were crafted by WHMCS.Community Members

      WHMCS.Community Leaderboard

      Continuing his reign as the most reacted to community member is@brian! on 26 points!  In second place on 11 points is @Kian with @yggdrasil finishing out the leaderboard on third place with 6 points

      Reactions on the community are a key way we surface great content on WHMCS.Community.  Every reaction to a post might see you or a thread you've contributed to added to the Top Picks & Leaderboard and soon, your reaction points will count towards your status on the community
      Popular Content


      The WHMCS v7.6 Release board

      In Mid September we closed off the WHMCS v7.6 Release Board and moved the threads into the main parts of the community, i'd like to thank everyone that contributed to the board during the time we had this board open, your assistance and contributions to this board where fantastic and we will bring this back in all future WHMCS releases.

      Getting help from WHMCS.Community Team

      It's been a while since we last reminded people about the ways to contact the Moderation team when you need assistance such as changing your username, finding the right place to post or just asking a general community-related question.  The place to do that is the WHMCS.Community Assistance board this ensures that any one of the Community Team members can assist you as quickly as possible.

      That's a wrap for September!

      And that wraps up the September 2018 wrapup, as always please provide any community-related feedback in the General or WHMCS.Community Assistance Board
      • 0 replies
    • The WHMCS 7.6 Board is now closed
      Hi everyone,

      Now 7.6.x has been in the wild for well over a month we're shutting the board down and moving the threads to the appropriate thread in the community existing threads can be replied to in this board while we move them to their new home.

      Thanks for making the 7.6 release board a success, we will return these boards with future releases as they do prove to be popular with the community.
      • 0 replies
  • Topics

  • Posts

    • <?php function hook_ForceEveryoneToLogin($vars) { if (!$vars['loggedin'] AND (in_array($vars['templatefile'], array('knowledgebase', 'knowledgebasearticle', 'knowledgebasecat')))) { header('Location: login.php'); die(); } } add_hook("ClientAreaPage", 1, "hook_ForceEveryoneToLogin");  
    • I was talking about overriding the invoice class. The question is that we can't even start talking about the difficuly involved in this process because WHMCS\Billing\Invoice class will never be accessible to us and it's probably used/extended in tens of other classes. Don't get me wrong, I understand your point of view but what are the chances of having all these files open source and fully customizable? In the end with a lot of pain you can get the same result using tons of action hooks, APIs and contort queries.
    • I've worked with WHMCS long enough to understand the perks of it. For people it's good to have a mind of their own, for systems, not really. WHMCS does things that it shouldn't do. I'm definitely trying to be an optimist here but a realist probably wouldn't bother discussing this at all. Which solution do you mean? Our current integration or overriding the Invoice-model? Your billing extension is 1000% more extensive than what I was suggesting. You can see the work that has been put into it.  In essence I want to store invoices elsewhere. I can only assume that each invoice uses the \WHMCS\Billing\Invoice model. This model would have a few methods to initiate a new invoice, save and change it. Of course in reality it will be much more than that. Instead of storing the final result in the database it would be stored elsewhere -- if you could override it completely, that is.
    • Hi All,   I'm hoping you can help. I've trawled through pages upon pages of documents, community's etc to try and find an answer but I cant find one.   Is it possible to restrict our knowledge base page to logged in users only or force them to login? I found this script in a previous post but it redirects all pages to the login page. (which is not good for new/potential customers. <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); function hook_ForceEveryoneToLogin($vars) { $clientID = intval($_SESSION['uid']); $adminID = intval($_SESSION['adminid']); if ($adminID===0){ if (!in_array($vars['filename'], array("login","dologin","clientarea","pwreset", "register")) && $clientID===0){ header("Location: login.php"); exit; } } } add_hook("ClientAreaPage", 1, "hook_ForceEveryoneToLogin"); Is there something possible i can do to this script to only change it to restrict the knowledge base page?
    • Ciao 🙂
    • Don't worry, I know what I'm doing 😀 ________________________________________ @caygri Il Project Management, benché a prima vista possa sembrare spoglio, fa tutto quello che credo ti serva. Crei i progetti, ci lavori, fatturi il tempo di lavorazione, comunichi tra lo staff nella chat riservata o anche con il cliente tramite il collegamento con i ticket e alleghi file. Il cliente dall'area clienti può non solo visualizzare tutte le fasi della lavorazione, i task ed il tempo impiegato ma anche aggiungere nuovi compiti. Se vuoi qualcosa in più puoi guardare questo modulo di Modulesgarden.  
    • First off don't use $vars['pagetitle'] since its value depends on your system language. Second the hook point is wrong. Here's the working code. <?php add_hook('AdminAreaHeadOutput', 1, function($vars) { if ($vars['filename'] == 'myaccount') { return '<script type="text/javascript">alert('Hello!');</script>'; } });  
    • I'm working on the invoicing part of WHMCS since 2014 and trust me, it's more complicated than you think. It's not about extending / altering a specific class or using APIs & hooks points. You need way more than that. Actually even though I managed to achieve pretty great results it's not so rewarding and I feel like I'm wasting my time. Investing 2 weeks of development just because WHMCS changed 1 line of code is depressing but that's another story. I digress. Your solution sadly will not work because you are not considering 1 million of exceptions and the inexplicable flowchart involved in the invoicing process that of course is not the same. There are at least 6 big variations each one with its own further differences. The best advice I can give you is to stay away from this topic unless you are prepared to: Work at least for 6 months if you are very skilled and already know what to do. If you're not well... good luck ⚰️ Keep coding non-stop for the rest of your life Be afraid of WHMCS updates, even the smallest one, more than walking on lava
    • Hi, I'm hoping someone can assist me.  I am a shared reseller and I am wondering what would be the best way to hide the SpamExperts MarketPlace products for a specific product group? The reason I need to do this is because I offer UK and Local hosting but my local hosting already has SpamExperts as part of the product offering so I don't want my client having to buy the SpamExperts again. So how can I display it only for the international hosting products? Any ideas?
    • any suggestion for project management? i need something where i create project and client talk like a discussion

Important Information

By using this site, you agree to our Terms of Use & Guidelines