Jump to content


Popular Content

Showing content with the highest reputation since 07/13/22 in all areas

  1. 2 points
    Greetings! We are excited to announce that WHMCS with PHP 8.1 is right around the corner! Ioncube has started to publish v12 of their Loader and Encoder products. Our developers are testing these, reporting issues, and tweaking WHMCS for a v8.6.0 beta release. We anticipate publishing v8.6.0 beta in the next 2-3 weeks. Ioncube Loader v12It is important to remember that Ioncube Loader v12 is only compatible with PHP 8.1 and later environments (which is detailed in their initial June 29th...View the full blog post
  2. 1 point
    Hi there, In six its a little different, however the code is still in the header.tpl file. Change {if $loggedin} <li> <a href="#" data-toggle="popover" id="accountNotifications" data-placement="bottom"> {$LANG.notifications} {if count($clientAlerts) > 0} <span class="label label-info">{lang key='notificationsnew'}</span> {/if} <b class="caret"></b> </a> <div id="accountNotificationsContent" class="hidden"> <ul class="client-alerts"> {foreach $clientAlerts as $alert} <li> <a href="{$alert->getLink()}"> <i class="fas fa-fw fa-{if $alert->getSeverity() == 'danger'}exclamation-circle{elseif $alert->getSeverity() == 'warning'}exclamation-triangle{elseif $alert->getSeverity() == 'info'}info-circle{else}check-circle{/if}"></i> <div class="message">{$alert->getMessage()}</div> </a> </li> {foreachelse} <li class="none"> {$LANG.notificationsnone} </li> {/foreach} </ul> </div> </li> <li class="primary-action"> <a href="{$WEB_ROOT}/logout.php" class="btn"> {$LANG.clientareanavlogout} </a> </li> {else} <li> <a href="{$WEB_ROOT}/clientarea.php">{$LANG.login}</a> </li> {if $condlinks.allowClientRegistration} <li> <a href="{$WEB_ROOT}/register.php">{$LANG.register}</a> </li> {/if} <li class="primary-action"> <a href="{$WEB_ROOT}/cart.php?a=view" class="btn"> {$LANG.viewcart} </a> </li> {/if} To {if $loggedin} <li class="primary-action"> <a href="{$WEB_ROOT}/logout.php" class="btn"> {$LANG.clientareanavlogout} </a> </li> {else} <li> <a href="{$WEB_ROOT}/clientarea.php">{$LANG.login}</a> </li> {if $condlinks.allowClientRegistration} <li> <a href="{$WEB_ROOT}/register.php">{$LANG.register}</a> </li> {/if} <li class="primary-action"> <a href="{$WEB_ROOT}/cart.php?a=view" class="btn"> {$LANG.viewcart} </a> </li> {/if} Excuse the formatting, its messed up in the code blocks and I cant seem to fix it!
  3. 1 point
    Well, it is possible, but you'd have to use your own code to achieve it. You could use the product price feed: https://docs.whmcs.com/Data_Feeds#Product_Pricing_and_Currency You'd then have to basically build your own product page to have the prices shown in USD. Also, when the visitor puts the product in their cart, it would show up as whatever default currency you have configured.
  4. 1 point
    You're missing committing the transaction at the end, just before you finish, so mysql is rolling all your changes back! $pdo->commit();
  5. 1 point
    If the message is sent via Google mail then the full header will originate with them would it not? All you will be able to supply is the sending OAuth user, To address, sender, subject and date/time.
  6. 1 point
    You should edit the theme.yaml file. templates\THEME_NAME\theme.yaml Add the following lines. properties: serverSidePagination: false Full code: name: "Custom Theme" description: "Custom theme description" author: "Samet Girginer" properties: serverSidePagination: false
  7. 1 point
    I have just disabled the PayPal module from my order forms - The subscription model is horrible. An example of how it all falls to pieces... Customer has a hosting account - lets say its $10.00 per month. They have setup a recurring paypal subscription when they ordered. I put the price up to $12.00. PayPal keeps paying $10.00 Customer is short $2 every invoice. They have no idea why or how to fix it. I need to cancel the sub, then explain to them that they need to pay the invoice - but paying the remaining $2 - what happens? is another sub automatically created for this amount? YUK.
  8. 1 point
    Hi! I'm running WHMCS on Ubuntu 20.04 with Apache. I have an issue where it seems to be redirecting requests to /vendor as a 302 code. I have checked and there are no .htaccess files in parent directories which may effect this so I'm unsure of how to fix this. Does anyone know how? 😄 Thanks! Kian
  9. 1 point
    Hi Kian, A 302 error occurring, is usually indicative of a redirection occurring. In the absence of a .htaccess file, please work with your system administrator to ensure that any caching (eg. Proxies) and/or redirects that are in place server-side, or configured with a CDN (eg. Cloudflare) are configured correctly, to avoid such 302 redirects from occurring. I would suggest that a good place to begin checking would be the server logs as well as your browser network debugging tool, to find any underlying reasons for the error. Please Note: As .htaccess files are hierarchical, it may be worth checking to see if the folders above that have an .htaccess file. It could be that that they are indirectly causing this. One way to check, would be to temporarily rename all the .htaccess files in the folders above, and see if the error still occurs.
  10. 1 point
    At present, I'm not offering hosting or domain registration, so I don't need any of that setup. What I'm needing from WHMCS is the following products/services, available for purchase. As an example: I will be offering three (3) WordPress services/products. As an example. Service A Service B Service C Each will need a detailed description. I will write this. Users will be able to purchase a single service or multiples of any one service, or single or multiples of any or all three or any combination. A user could purchase just one service for a website. A user could purchase multiples of one service for multiple different websites. A user could purchase just one service for multiple different websites. A user could purchase multiple services for multiple different websites. Each service will require the buyer to provide the following for EACH service they purchase: Website URL and IP Website Owners Name and Email Website Admin Login Credentials Website FTP Login Credentials
  11. 1 point
    Hi @LeMarque Hope you are doing well today. We have reviewed your requirements and are ready to assist you with the custom order form development. We are a leading WHMCS Development company serving clients worldwide. If you need a professional solution at an affordable cost, please get in touch with us. All you have a to do is just visit our website and submit a ticket here - https://www.whmcsdigital.com/whmcs-custom-development Regards
  12. 1 point
    Hello, Is there an option to make the affiliate IDs starts from a custom number for example (5000, 5001, 5002, etc..) instead of (1, 2, 3, etc...)?
  13. 1 point
    It is possible to change the index via SQL: ALTER TABLE tblaffiliates AUTO_INCREMENT=5000; But remember that there is a limit: https://dev.mysql.com/doc/refman/8.0/en/alter-table.html And I highly recommend testing before making changes in production.
  14. 1 point
    In general, the task is quite straightforward, since there is access to editing the file *. You can write a fairly simple module that will extend tblaffiliates and give clients a form to change usernames in affiliate links that will solve your problem. If you do not have a person who knows how to program for whmcs, then there are companies on the community that make such extensions for money.
  15. 1 point
    Reach out to @ModulesGarden - they have done custom work for me with smartermail products.
  16. 1 point
    I figured it out, prorate was enabled somehow for these products, disabling that did the trick.
  17. 1 point
    For a complete list of which data and applications/versions WHMCS ImportAssist imports, visit: https://docs.whmcs.com/ImportAssist#Supported_Scripts_and_Versions ImportAssist is not intended to be used as an ad hoc tool for partially importing data tables. There is no method, to currently select / deselect associated data, eg. invoices, services, etc. But, you are more than welcome to submit this as a Feature Request? However, currently, the exact data that ImportAssist will import, will depend on the source and destination platform / version. For detailed information, please visit: https://docs.whmcs.com/ImportAssist#Supported_Scripts_and_Versions Yes, this will need to be set up initially, on the destination system. After the import, it may then be possible to migrate these to another payment gateway. For detailed steps, visit: https://docs.whmcs.com/Migrating_Payment_Gateways
  18. 1 point
    According to an OpenLiteSpeed support forum post: Therefore, you may need to work with your system administrator to adapt your .htaccess to work with OpenLiteSpeed. Additionally, there are also further references to this that you may find helpful at https://forum.openlitespeed.org/threads/apache-htaccess-to-ols-migration.5276/
  19. 1 point
    Currently, this is not done via an "unsubscribe footer". Instead, something similar can be configured from within WHMCS by navigating to Configuration > System Settings > General Settings and selecting the Other tab: For further information, visit https://docs.whmcs.com/Other_Tab#Marketing_Emails
  20. 1 point
    Hello is it important to add unsubscribe text or in structure for each email sent from WHMCS to customer? like payment reminder mass mail, .... ? if yes, is whmcs has the code or any option to add this text to the end of emails footer?
  21. 1 point
    Hello All, I need to disable saving credit card for security reasons. Every customer have to enter Credit Card number from scratch on every time they want to buy a service. Can you help me on this please. Regards
  22. 1 point
    QuickBook Decided to exit Indian market and there are no good alternative except ZohoBooks that can be integrated with WHMCS easily and offer reliable accounting solution. Is there any other option available for accounting? Special Case: We have 2 separate websites and single invoicing series for both WHMCS.
  23. 1 point
    You can try https://uptimerobot.com/
  24. 1 point
    Hi @GoogieHost, We can provide you a custom development solution to solve the problem. if you are interested we can talk further on this. Please get in touch and share your requirements with us here - https://www.whmcsdigital.com/whmcs-custom-development Regards
  25. 1 point
    Hilarious that WHMCS think 12 months is "Long Term Support". Compare with Canonical, Microsoft and the like who seem to consider ~10 years to be the LTS standard.
  26. 1 point
    Hi @bhabanisankar, Google has quietly deprecated the library used for Google Sign-In, meaning that new integrations cannot be set up. We will replace it with the new library in the forthcoming v8.5.2 maintenance release. The reference for this work is CORE-17740. Once we resolve cases and push features they are available at our change log, here: https://changelog.whmcs.com/ I apologize for the inconvenience, and appreciate your patience as we work to resolve this.
  27. 1 point
    There is no update since last year…
  28. 1 point
    $orderId = Capsule::table('tblorders') ->where('invoiceid', $invoiceId) ->value('id'); just use this. It will return directly value.
  29. 1 point
    are they using the same IP each time they submit? if so, you could block their IP via your hosting panel, or even htaccess. also, do a Google search on that email address - you're are not alone and seems to have a similar outlook.com address too. the hook itself is nothing special... <?php add_hook('TicketOpenValidation', 1, function($vars) { if ($vars['email'] == "eric.jones.z.mail@gmail.com") { return "Go away you little spammer!"; } }); similarly, you could see if his website is mentioned in the ticket message and block them that way too. if you can identify an IP (or block) for this spammer, then i'd probably go down that road... the problem with validating the ticket is that if they really want to spam you, they'll just change the email address/message to get past the check (even if you faked it to look like a success message).
  30. 1 point
    one option would be to sort the $pricing array by key in an action hook... <?php /** * Domain Pricing TLD Sort Hook * @author Brian! */ function domain_pricing_matrix_TLD_sort_hook($vars) { if ($vars['templatefile']=='domainregister'){ $pricing = $vars['pricing']; $tld = $pricing['pricing']; ksort($tld); $pricing['pricing'] = $tld; return array("pricing" => $pricing); } if ($vars['templatefile']=='domain-pricing'){ $pricing = $vars['pricing']; ksort($pricing); return array("pricing" => $pricing); } } add_hook("ClientAreaPage", 1, "domain_pricing_matrix_TLD_sort_hook"); first part deals with the Pricing Matrix Table on the domain registration page, second part deals with the separate domain pricing page.. domain_pricing_sort.php
  31. 1 point
    this is a long-standing bug/issue where the WHMCS email template editor tries to change > to &gt; - even if you're using the source code popup window, it can still do it... 🙄 two thoughts... firstly, edit the email template directly in phpmyadmin or similar - that will bypass the WHMCS editor... though if you go down this road, you will have to continue editing the template in the future directly, because the minute you try to edit it in WHMCS, it will make the > to &gt; change again (until this issue is resolved). the other way would be to abandon using toNumeric and just use a Smarty replace (or multiple replaces)... {$invoice_balance|replace:'$':''|replace:'₹':''}
  32. 1 point
    Hello. I would like to know if there is a way to have a notification email sent to a specific email address when a new client signs up on the system? Is this possible?
  33. 1 point
    Hello, Than you for your post! Can you please clarify? I am reading this as you want one or more of your admins to be notified when a new client creates an account with yourself. If so, the easiest way you could accomplish this is by navigating to 'Setup -> Email Templates', edit the 'Client Signup Email' email template and add the email address, or addresses, you wish to receive a copy of this email in the 'Blind Copy To' field. This will mean every time this email template is sent out (which happens each time a new client signs up) the email address, or addresses, in the 'Blind Copy To' field will receive a copy of this. I hope this helps.
  34. 1 point
    Thank you! You're a life saver! Test Page has been updated: https://www.outpowerhosting.com/domain-test.php I was actually hoping and praying that I do not have to go the PHP way because now matter how many optimizations, it still comes no where close to the load speeds for an HTML page. I was also thinking if I go PHP, it would be better to go with WordPress and something like WHMPress plugin for all the additional features but again WP was something I was trying to avoid for ease of maintenance and speed. One other question I did have was, if I have to maintain/store this variable value as the customer goes across all pages, do I just need an additional JS to check the window.url and modify if needed i.e outside of the onchage function apart from storing the variable that is? Another thing that I would like an opinion on is: Let's say I keep the page .html and add the below to htaccess, will it be still faster than a full file being processed as PHP or do you think the PHP processor will take the exact same time to load the page as a full .php page? I'm running some benchmarks to see this for myself now. AddType application/x-httpd-php .html
  35. 1 point
    I fixed this by adding the below line in the domainpricing.php feed file header("Content-Type: text/javascript"); So, am I to conclude that this is a bug/omission in the feed file that it's not passing the MIME type properly?
  36. 1 point
    Offers & Requests Rules This section of the forums can be used to post offers and requests for services related to WHMCS. It is the perfect place to find someone who can meet your customisation or extension needs with WHMCS. The offers & requests can include, but are not limited to: advanced template customisations custom module developments hook development API work etc... However, please note we do not allow offering any of the core services we offer directly (except in the case of custom development work), ie. regular integration services, installation and/or configuration & upgrades. All threads created in this forum category will require moderator approval prior to display. Disclaimer: WHMCS does not recommend or endorse any of the third party developers who post in this forum. Any work undertaken is a private contract between the customer and developer and WHMCS will not be held responsible for any issues arising from work arranged via here.
  37. 0 points
    It's not hard, WHMCS is actually quite easy. Its bugged? Yes, that is a completely different issue. In my experience, every new release introduces more bugs and problems than it tries to solve which means make sure to test, then test again and then re-test everything again before putting a new version in production. Even then you will find so things stop working or don't as before.
  38. -1 points
    Hi All, How would I go about monitoring websites for uptime? I know i can run a script which either pings the site or the server using cron but wondered if anyone has an idea. I looked at blue rabbit's monitoring and they want an extortionate amount to buy their plugin we only have 5 sites we need to monitor.
  • Create New...

Important Information

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