Jump to content


Popular Content

Showing content with the highest reputation since 09/21/2019 in Posts

  1. 2 points
    hence my hope that there is a plan for v8 - though i'm not optimistic that anything is going to change.
  2. 1 point
    We have released a new update of our WGS PayPal Tokenization WHMCS Payment gateway module. This new 1.0.6 Update brings in the compatibility with the latest WHMCS 7.8 - 7.8.1. Our module has become the most updated Paypal tokenization module in the WHMCS Marketplace. Users can download the latest files from the WGS Client Area.
  3. 1 point
  4. 1 point
    try... .table-list > tbody > tr:hover {cursor: default;} if it doesn't work (it should though), just add !important after default to give it a little push - bear in mind that this, as written, will apply to all tablelist tables... but it sounds like you might want that anyway. if you don't, and you only want to change the cursor on the services table, then... .table-list#tableServicesList > tbody > tr:hover {cursor: default;}
  5. 1 point
    twas ever thus. 🙄 weirdly they've hidden it twice in the coding - once inline in the template, and also in the css itself.... one of them is surely redundant now. because the css class used declares it as hidden too by default. if they're going to share the same column, i'd have done it like this... <div class="table-container clearfix"> <table id="tableServicesList" class="table table-list hidden"> <thead> <tr> <th></th> <th>{$LANG.orderproduct}</th> <th>{$LANG.clientareaaddonpricing}</th> <th>{$LANG.clientareahostingnextduedate}</th> <th>{$LANG.clientareastatus}</th> </tr> </thead> <tbody> {foreach key=num item=service from=$services} <tr onclick="clickableSafeRedirect(event, 'clientarea.php?action=productdetails&amp;id={$service.id}', false)"> <td class="text-center{if $service.sslStatus} ssl-info{/if}" data-element-id="{$service.id}" data-type="service"{if $service.domain} data-domain="{$service.domain}"{/if}> {if $service.sslStatus} <img src="{$service.sslStatus->getImagePath()}" data-toggle="tooltip" title="{$service.sslStatus->getTooltipContent()}" class="{$service.sslStatus->getClass()}"/> {elseif !$service.isActive} <img src="{$BASE_PATH_IMG}/ssl/ssl-inactive-domain.png" data-toggle="tooltip" title="{lang key='sslState.sslInactiveService'}"> {/if} </td> <td><strong>{$service.product}</strong>{if $service.domain}<br />{$service.domain}{/if}</td> <td class="text-center" data-order="{$service.amountnum}">{$service.amount}<br />{$service.billingcycle}</td> <td class="text-center"><span class="hidden">{$service.normalisedNextDueDate}</span>{$service.nextduedate}</td> <td class="text-center">{if $service.rawstatus eq "active"}<a href="clientarea.php?action=productdetails&amp;id={$service.id}" class="btn btn-block btn-info">{$LANG.manageproduct}</a>{else}<span class="label status status-{$service.status|strtolower}">{$service.statustext}</span>{/if}</td> </tr> {/foreach} </tbody> </table> <div class="text-center" id="tableLoading"> <p><i class="fas fa-spinner fa-spin"></i> {$LANG.loading}</p> </div> </div>
  6. 1 point
    SELECT value FROM tblconfiguration WHERE setting = 'AddonModulesHooks' LIMIT 1 It will return a comma separated list of addon modules that use action hooks: SexyModule,FindYourWallet,AnotherSexyModule,ModuleAboutAffiliations,ModuleAboutBillingStuff Let's say that your module is named JuniYadi. As you can see it's not listed in the above string that's why your hook.php is ignored. All you need to do is the following: SexyModule,FindYourWallet,AnotherSexyModule,ModuleAboutAffiliations,ModuleAboutBillingStuff,JuniYadi Important: you have to be very careful when you play with this string because you could break other modules. For example imagine what happens if you end up with this string: ModuleAboutAffiliations,ModuleAboutBillingStuff,JuniYadi 3 modules are missing and can no longer run their action hooks. And what about this? JuniYadi For sure your module will work but your customer will kill you for breaking his WHMCS.
  7. 1 point
    While an upcoming maintenance release is good news, the way the past few updates were handled, questions in relying on further frequent development. These 7.8.x updates have increased concerns in reliability. What we don't need is errors in WHMCS. WHMCS is a billing platform at its core and not a game that it would need updates and eye candy features every other day. Instead of focusing on developing marketplace products, they should keep their focus on the core. And it should seriously reconsider their update flights and limit them to once per year.
  8. 1 point
    I totally agree: I feel like my company has been forced into doing this update way before it's ready, and we're suffering from a couple of Stripe-related bugs that are hurting our customer relationships.
  9. 1 point
    Hi, Please check the screenshot. We want to display cpanel nameservers list and server name with server IP which I included when I added a new server in WHMCS. Kindly help me how can I get nameservers list, IPs and server hostname to show in the client area. Thanks.
  10. 1 point
    Hi all, Perfect, I'm glad to see that my post has solved a problem. cordially
  11. 1 point
    effectively, it's just an EmailPreSend hook to calculate the variable and make the result available to the email template(s) - so let's assume you want to use this in the Invoice Reminder email template... <?php # Email MergeFields Hook # Written by brian! use WHMCS\Database\Capsule; add_hook('EmailPreSend', 1, function($vars) { if ($vars['messagename'] == 'Invoice Payment Reminder') { $invoiceid = $vars['relid']; $userid = Capsule::table('tblinvoices')->where('id',$invoiceid)->value('userid'); $overdueinvoices = WHMCS\Billing\Invoice::with("transactions")->whereUserid($userid)->overdue()->massPay(false)->get(); $merge_fields['invoice_overdue_balance'] = formatCurrency($overdueinvoices->sum("balance")); return $merge_fields; } }); that should give you a variable that you can use in this email template, {$invoice_overdue_balance} which should display the overdue balance properly formatted in the client's currency. if you're going to make the variable available to multiple invoice email templates, then create an array of email template names... $message_names = Array("Invoice Payment Reminder","First Invoice Overdue Notice"); and check if the current template is one of them by replacing the current if statement with in_array... if (in_array($vars['messagename'],$message_names)) {
  12. 1 point
    SOLVED: It took me long time to fix it. This particular issue was caused by ModSecurity module. You can fix it by whitlisting the triggered rule. Thank you guys for helping
  13. 1 point
    now I love a good screenshot with red arrows just as much as the next guy, but what's the point you're trying to make ? one invoice with a balance of 0.00 - perhaps you haven't marked it as paid ?? credit balance of $5 - it confirms the amount in the notifications... also, you might want to look into your WHMCS license situation, it's invalid. it might not have been the brightest of ideas to create an account here using your domain name (which btw is against the rules but seemingly never enforced) if you do not use a valid WHMCS license. 🙄
  14. 1 point
    Found the solution. The sample code provided by WHMCS assumes you want to use the WHMCS templating system. But if you do not want to use WHMCS's templating system and output your PHP code directly, then you have to take a different approach. First, you create a file in WHMCS's root directory that accesses WHMCS's session and sets variables: getuserid.php <?php // gets session variables from WHMCS require("init.php"); $ca = new WHMCS_ClientArea(); // sets userid for the logged in user. Is set to 0 if no one is logged in. $userid = $ca->getUserID() ; // sets loggedin to true if logged in, and false if not logged in. If ($userid > 0) { $loggedin = true; } else { $loggedin = false; } // if you want to test if it is working, uncomment this line. // echo "User ID = " . $userid; // if you want to test whether $loggedin variable is set, uncomment these 2 lines. // if ($loggedin) { echo "Logged in"; } // else { echo "Not logged in"; } ?> You can then include this in any PHP file you want anywhere in the file system. So if you want to put your custom code or third-party script in a subdirectory, you can. You would include the following code and then use the variable as needed. any.php <?php // use this if your file is in the same directory. require("getuserid.php"); // use this instead if your file is in a subdirectory. // require("../getuserid.php"); // test to make sure it is working. echo $userid; // use if then logic to determine what to show. if ($loggedin) { /* insert code for logged in users here */ } else { /* insert code for everyone else here */ } ?> Modify as needed, obviously. I hope that helps.
  15. 1 point
    //Updated to only target products of Hosting-type. <?php use WHMCS\Database\Capsule; add_hook('PreModuleTerminate', 1, function($vars) { $invoiceid = Capsule::table('tblinvoiceitems') ->where('relid', '=', $vars['params']['serviceid']) ->where('type','Hosting') ->orderBy('duedate', 'desc') ->first(); Capsule::table('tblinvoices') ->where('id', '=', $invoiceid->invoiceid) ->update(['Status' => 'Cancelled']); });
  16. 1 point
    My MacBook recently had to be sent off for repair and I’ve been forced to use my iPad to answer support etc. However, every time I view a client page in the admin area, the client drop down search bar that appears at the top of each client page, forces me to sign in (using the fingerprint touch) on the iPad. It’s really annoying and laborious. however, I’ve been using WHMCS for about 12-13 years, and somewhere in the back of my mind, I remember there used to be an option to turn off the client drop down/search appearing (for performance sake). But for the life of me, I cannot now find that option. am I missing something? Help appreciated. Thanks.
  17. 1 point
    Hello all, how are you ? I'm starting my journey at WHMCS, I'm very happy with the features it brings to us, however, I have a question that I searched here in the forum and did not find. I have some products in my hosting, which are for download, with this, I support and update them, only for 1 year, after this I no longer offer the possibility of downloading the file, I do it with certain ease through Of WooCommerce (sorry if I could not quote it), is it possible to do this through WHMCS? Thanks alot.
  18. 1 point
    Hi Tapeix, It will be absolutely no problem to create a neat, customized piece of software that will satisfy your expectations. We are looking forward to discuss all your needs in greater detail and advise you on the most optimal means for meeting them. Feel free to use this request form to reach us at any time.
  19. 1 point
    hello Can you contact me here to we talk more about this
  20. 1 point
    using Action Hooks you can query the required information from DB and pass it to your template then display it there here is your Action Hook: <?php use Illuminate\Database\Capsule\Manager as Capsule; function hook_getLatestFiveKBPerCategory($vars){ $categoryID = intval($_GET['catid']); # Latest Articles For Specific Category if ($categoryID!=0){ $getLatestArticles = Capsule::table('tblknowledgebaselinks') ->join('tblknowledgebase', 'tblknowledgebaselinks.articleid', '=', 'tblknowledgebase.id') ->where('tblknowledgebaselinks.categoryid', '=', $categoryID) ->orderBy('id', 'desc') ->take(5) ->get(); } else { $getLatestArticles = Capsule::table('tblknowledgebase') ->orderBy('id', 'desc') ->take(5) ->get(); } $encodedata = json_encode($getLatestArticles); $decodedata = json_decode($encodedata, true); return array("latestkb" => $decodedata); } add_hook("ClientAreaPage", 1, "hook_getLatestFiveKBPerCategory"); and in your TPL file you can print this information like the following: {foreach $latestkb as $article} {$article.title} {$article.views} {/foreach} - - - Updated - - - will work only for WHMCS v6+
  21. 1 point
    it may be possible to integrate the HTML5 template that you like into WHMCS - difficult to say without knowing what it looks like. if you can do it yourself, there is a basic how-to guide on the WHMCS blog - http://blog.whmcs.com/?t=69003 if you need help, then you could use an Integration service to create a WHMCS theme from your HTML5 template - there is an experienced Canadian company that some of my clients have used, WHMCS Integrations (http://whmcsintegration.ca) - also, WHMCS offer their own integration service too (http://www.whmcs.com/services/integration/)... you can probably find other alternatives via Google! it depends on what you want - whether it's a store-front to display all your products, or just a client-area type design... the vendors that spring to mind - with apologies to any that i've missed out... CMSBased - https://cmsbased.net/ WHMCSThemes - http://www.whmcsthemes.com/ (some free) Zomex - http://www.zomex.com/templates/whmcs/ the most important thing to remember is to ensure that the template works for your version of WHMCS - so if you buy a v5.3 template and try to use it in WHMCS v6, it won't work correctly (and vice versa). so if you're buying a WHMCS template off the shelf, check which version it's designed for - with v6 only just being released, a lot of them may not have been updated yet. if you're integrating, it might be best to go straight for a v6 integration, as otherwise you might end up paying twice (once for v5.3 and then when you upgrade WHMCS to use v6). if you want a more individual site, as opposed to a generic template one, integration might be a better solution - it might also be cheaper. hope that helps.
  22. 1 point
    Am I correct in saying you do not do any free whmcs software anymore? I look at a "Free" item and click on the get one here link and am taken to a page that has a price on it, and no indication of how to get the free version. NOT very ethical is it?
  23. 1 point
    Are you guys still looking for this? Im going to look at building a woo commerce extension. Im currently using jigoshop which woo commerce was forked from but have recently decided to switch to woo commerce as I just thinks its way more user friendly. We had done some custom intergration with jjgoshop and whmcs to prevent exactly what was said in the OP as its just not user friendly to have two different shopping carts.
  24. 1 point
    tblaccounts I think, offhand
  25. 1 point
    Hi Tony, An AWBS Import Script is now written and we are looking for some testers to give it a try. I'm sending you the script by email now. Let me know how it goes. Matt

Important Information

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