Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


mfoland last won the day on July 3

mfoland had the most liked content!

Community Reputation

7 Neutral

1 Follower

About mfoland

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I think making the user number longer would benefit if you were sending the invoice off to collection company, etc if your company did that. Unless you were to keep the user ID normal, and add a custom field with some random numbers through php... Just a thought.
  2. I haven't had an issue yet, but that would suck royally. I have seen some sites using it without a license lol, and actually having a nulled whmcs too lol. Maybe WHMCS should more open source their software, OR improve upon the data feeds and API. You can EASILY use the API to code some php into your wordpress site quite simply 🙂
  3. Let me know if you need assistance 🙂
  4. 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!
  5. 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 🙂
  6. mfoland

    Whmcs Decoded

    @WHMCS ChrisD @WHMCS John I actually did a write up on the requests page about this.. https://requests.whmcs.com/topic/move-from-smarty-to-mvc-or-another-framework What if you switched from Smarty to a new framework that could allow us to expand easier? Would love your thoughts 🙂
  7. mfoland

    Whmcs Decoded

    @WHMCS ChrisD Personally I think WHMCS should be more of an open codebase to an extent. What you could in theory do is encode a few files to protect licensing, and hey let's get rid of Smarty.
  8. The License Addon allows the developer to set a grace period, and the data fetches from the local key whether to do a remote check 🙂
  9. mfoland

    Whmcs Decoded

    WHMCS will never decode their scripts, unfortunately. People have nulled/decoded the license file.. but that's illegal lol. It would be nice if WHMCS were more open source. They could do that, and encode a few files to protect the licensing aspects 🙂
  10. mfoland

    My admin page show in white

    It works for me.. which could mean that you got blocked out for two many wrong password entries, etc..
  11. mfoland

    Return JSON

    @CanadianDeer I trust that this will work to show you how the API will work, along with my answer above... <?php error_reporting(0); //-set to E_ALL instead of 0 for debugging mode. /*** Name: License API Developer: WHMCS / Best PHP Scripts Best Php Scripts created php_array to get license details from the server for any suspension reasons, etc. Date created: 2/4/2019 **/ // API Connection Details $whmcsUrl = "https://example.com/whmcs"; //--your whmcs location // For WHMCS 7.2 and later, we recommend using an API Authentication Credential pair. // Learn more at http://docs.whmcs.com/API_Authentication_Credentials // Prior to WHMCS 7.2, an admin username and md5 hash of the admin password may be used. $username = "API Username"; $password = "API Password"; // Set post values $postfields = array( 'username' => $username, 'password' => $password, 'action' => 'GetClientsProducts', 'serviceid'=> $srvid, 'domain' => $license_key, 'responsetype' => 'json', ); // Call the API $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $whmcsUrl . 'includes/api.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($postfields)); $response = curl_exec($ch); if (curl_error($ch)) { die('Unable to connect: ' . curl_errno($ch) . ' - ' . curl_error($ch)); } curl_close($ch); // Decode response $data = json_decode($response); //$assoc=TRUE //--Format our pretty array and loop it to get what we need from the call $php_array = json_encode($data->{products}->{product}); $php_array = json_decode($php_array,true); //print_r($php_array); foreach($php_array as $item) { $item = (array)$item; //echo $item['suspensionreason']; } //--Variables for License Data $susReason = $item['suspensionreason']; $licStatus = $item['status']; $nextDue = $item['nextduedate']; As you can see, the API requires a username and password, along with permissions. This can be set up in Setup > Staff Management > Api Cridentials. You may DM me if you have any questions, and I'll be glad to help. Also, the Decode response will help you to extract any data you want from the API command, as I did here for my license check 🙂
  12. mfoland

    Return JSON

    @CanadianDeer do you have an API user set up in WHMCS that is able to do those permissions? You will also need to whitelist your server.
  13. mfoland

    WHMCS Like Auto Upgrade Page

    @Kian I would love to make that slider and actually integrate it into my WHMCS and for those that have the slider as enabled, then it would allow automatic upgrades for a license call 🙂 I might even do that for like auto product upgrades.
  14. mfoland

    New Website & New WHMCS Theme

    AMAZING job @SwiftModders LLC! Outstanding. I'd love to learn how to build themes like that! Great work 🙂

Important Information

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