Jump to content

Leaderboard


Popular Content

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

  1. 2 points
    Hello Good People, Main site was built with WordPress, using a premium theme, with a heavy modification in design. WHMCS part was done using SIX as base, with mostly css modification, some html modification (mostly header and footer). Front end: https://dctit.host/ WHMCS: https://dctit.host/shop/ View Cart page: https://dctit.host/shop/cart.php?a=view Will appreciate your feedback. Kindly let me know your thoughts. Thanks.
  2. 2 points
    See the following modification <?php # Remove Products From Services Array Hook # Written by brian! function clients_services_remove_terminated_hook($vars) { $hideStatus = array ('Terminated', 'Cancelled'); // add status which you want to hide here.. $services = $vars['services']; foreach($services as $key => $service) { if (in_array($service['status'], $hideStatus)) { unset($services[$key]); } } return array("services" => $services); } add_hook("ClientAreaPageProductsServices", 1, "clients_services_remove_terminated_hook");
  3. 2 points
    I don't think it's a bug - just poor / limited documentation from WHMCS. that's where I think you're going wrong - don't add BTC as a currency.... BitPay is just another payment gateway option that you can use at checkout - so keep your products priced in USD, INR or whatever, and then when the client gets to checkout, they can choose to pay by BitCoin using the BitPay gateway... at least that's my reading of the documentation. in any event, in v7.7 WHMCS haven't updated the pricing database tables, so they're still limited to 2 decimal places... so if you're typing in a price of 0.0047, WHMCS is going to see that as 0.00 🙂
  4. 2 points
    Right now, we have: - our WHMCS system in datacenter A - our DNS servers spreaded in datacenter A, B and C - our Linux hosting system in datacenter D - our Windows hosting system in datacenter E - our remote backup system in datacenter F Every datacenter is in a different country (but for A and F: same country, 250 Km of distance)
  5. 2 points
    Different datacenter, preferably not geographically near where you host clients, and if at all possible on a VPS to segregate it from potential local hacking efforts by any bad actors you may host at some point. That's just our take on it. 😉
  6. 1 point
    Hello, I am preparing to release a WHMCS Addon and Server module which automates realtime configuration and management of secure CentOS7 OpenVPN servers, and I am looking for input on my ideas and additional features which would be required to operate a VPN Service Provider using WHMCS. The module makes it very easy for a VPN Service provider to manage a network of VPN Servers and WHMCS Clients to utilize the VPN service. Here are some screenshots outlining some of the features I have implemented: Addon Module Manage VPN Servers: VPN Server Background Processor Task Reporting: Configure VPN Server -> OpenVPN Configuration Configure VPN Server -> Software Version Selection: Configure VPN Server -> SSL Configuration with Automatic Acquisition from Let's Encrypt: Addon Module Configuration -> VPN Server Normalization Intervals: Addon Module Configuration -> VPN Server Networking Defaults: Realtime reporting of Automated VPN Server reconfiguration with extensive Ansible Playbooks: Server Module Administrative Client Service Configuration: Client UI Configuration: Client UI VPN Usage Reporting: Client UI VPN Client Software Downloads:
  7. 1 point
    @WHMCS John could you let us know which topic @ https://requests.whmcs.com corresponds to this new feature?
  8. 1 point
    that won't be happening. in my case, the EU addon was active (at least in the database).
  9. 1 point
    I believe I have fixed it. Just double checked the php.ini for both PHP versions. 7.2 had disable_functions with a bunch of functions being disabled, where as 7.1 didn't. So looks like that was the issue with that one. Will keep an eye on it.
  10. 1 point
    Just to update for the current issues with WHMCS > General Settings: I opened a ticket to our host for checking it on server side, after I made many steps trying to resolve this issue. After I respond that it's not working (Tested on Chrome / Firefox twice), I received the second response today from our host: So the conclusion is the ModSecurity updated/changed its rules and stricked WHMCS functionality. The pleasant is that it has been resolved and I can further use v.7.7 (until the next bug.....😂) Thank you for your assistance on that, @brian! & @WHMCS John
  11. 1 point
    as my original screeshot showed, it was already in there.. but I removed it to play with what happens when it contains various values... but to test it finally, I manually edited the value back to 37 - but in your case, either the correct '783' value was added during upgrade, or the previous SQL query worked (as per your screenshot of tblconfiguration)... or if now removed by you, you could just enter it using phpmyadmin or similar. the big bug to me is that dropdown, so you effectively ignore the disabled value shown there, ensure that the 'TaxVatCustomFieldId' value is correct, backup the database and run the migration.
  12. 1 point
    1. is basically going to be... <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (is_null($primaryNavbar->getChild('Support Center'))) { $primaryNavbar->addChild('Support Center')->setOrder(30); $primaryNavbar->getChild('Support Center')->addChild('kb2')->setLabel(Lang::trans('knowledgebasetitle'))->setURI('http://www.google.com'); } }); 3. is going to be a label change using either Language Overrides.... $_LANG['navsupport'] = "Support"; changing that string will rename the parent of both the sidebar and the loggedin support navbar parent menu. or setLabel... the other hooks will show you how to do that.
  13. 1 point
    it's along the lines... that's the problem with quoting threads that are 4+ years old... times change and the required coding changes. 🙂 I suspect I could make that old code work if I had to, but it would have to be totally rewritten. {php} was removed from Smarty years ago and whilst you can still use it in WHMCS (for now), doing so is frowned upon and best avoided. to do the equivalent of the above code as a hook for the Products/Services page would be... <?php # Add Dedicated IP To The Services Array Hook # Written by brian! use Illuminate\Database\Capsule\Manager as Capsule; function clients_services_add_dedicatedip_hook($vars) { $client = Menu::context('client'); $services = $vars['services']; foreach($services as $key => $service) { $dedicatedip = Capsule::table('tblhosting')->where('userid',$client->id)->where('id',$service['id'])->value('dedicatedip'); if ($dedicatedip) { $services[$key]['dedicatedip'] = $dedicatedip; } } return array("services" => $services); } add_hook("ClientAreaPageProductsServices", 1, "clients_services_add_dedicatedip_hook"); ?> this basically takes the $services Smarty array from the Products/Services page, loops though it and checks if the current service has a dedicated IP value stored for it - if so, it adds an entry to the array, if not, it doesn't... and then returns the updated array back to the template. what that should give you is a variable in the template that you can use anywhere inside the foreach loop - {$service.dedicatedip}... in the template, you could possibly use it this way... {if $service.dedicatedip}<br />{$service.dedicatedip}{/if} but if it exists for a service, the {$service.dedicatedip} variable will be there for you to use however/wherever you want to.
  14. 1 point
    from your Add Client API documentation link, have you tried setting skipvalidation to true ?? the implication is that setting that value to true stops the API checking if the "required" fields are present.
  15. 1 point
  16. 1 point
    neither using language overrides or hooks should get overwritten during an upgrade. the following hook should work... <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Knowledgebase'))) { $primaryNavbar->getChild('Knowledgebase')->setLabel('FAQs'); $primaryNavbar->addChild('kb2')->setLabel(Lang::trans('knowledgebasetitle'))->setURI('http://www.google.com')->setOrder(30); } if (!is_null($primaryNavbar->getChild('Support'))) { $primaryNavbar->getChild('Support')->getChild('Knowledgebase')->setLabel('FAQs'); $primaryNavbar->getChild('Support')->addChild('kb2')->setLabel(Lang::trans('knowledgebasetitle'))->setURI('http://www.google.com')->setOrder(30); } }); add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Support'))) { $secondarySidebar->getChild('Support')->getChild('Knowledgebase')->setLabel('FAQs'); $secondarySidebar->getChild('Support')->addChild('kb2')->setLabel(Lang::trans('knowledgebasetitle'))->setURI('http://www.google.com')->setOrder(30)->setIcon('far fa-books'); } }); so screenshots below show what the navbar should look like for non-logged in users, logged in clients and the sidebar...
  17. 1 point
    Hi @N8Solutions, GoCardless do not currently list USA as one of the supported customer currencies on their website: https://gocardless.com/faq/merchants/international-payments/ If an invoice is in an unsupported currency, a "Payment Method Unavailable - Please select an alternative payment method" error will be displayed to clients on the invoice in WHMCS. I expect a client with a US address would be unable to complete the payment process in the same way.
  18. 1 point
    oh no - I can manipulate Smarty and PHP for as long as necessary.. the day I grow tired of that, i'll go and do something else with my time! i'd have replied before, but your posts must still be being moderated as there seems to be a delay in them being published and I didn't get any notification of the earlier post. we can all be guilty of overcomplicating things... and I think you may have fallen into your own trap again. the real problem (and I was an idiot for not noticing originally) is that $item['amount'] is a string - specifically, it's a price formatter string and so you can't really multiply it with a number. so as per before, you can use toNumeric() to strip the currency prefix/suffix from the value and just return the actual number - that can be used in the calculation without the need for those two additional lines of code. <td align="center">' . $item['amount'] . ' (' . number_format($item['amount']->toNumeric() * $exchangerate, 2, '.', '') . ' HRK)</td>
  19. 1 point
    Hello, New AutoVM platform has been released, please update AutoVM from the settings to version 176. Best regards.
  20. 1 point
    in response to the thread below, please find attached two hooks to generate Homepage Panels to output a clients email history (with clickable links) - don't use both, just choose one! 🙂 The "original" version, that I quickly wrote as a demo for the above thread, links each row to open that email in a new tab/window... The updated "popup" version includes a clickable "button" that opens the email in a popup window (as per the Email History page accessible from the secondary navbar menu)... both panels use Language Translations to display the phrases "Email History", "View All" and "View" in the client's language. the date output uses the Global Date Format (as specified in your general settings -> localisation) - you could easily make it use the Client Date Format, but because we only have limited space for date and subject, I thought it easier to use the shorter global format. currently, the hook obtains ALL of your clients email history - if you want to limit that to a certain amount, e.g 100, then you would add a limit to the query... $clientemails = Capsule::table('tblemails')->where('userid', $client->id)->select('id','subject','date')->orderBy('date','desc')->limit(100)->get(); with additional coding, and probably some new Language Overrides, you should be able to identify each email type (based on the subject), and color the "button" links accordingly... i'm not going to include that version here - not least because it would require a lot of coding (which I haven't done!) to thoroughly cover all email templates and languages , but it would be achievable given the required effort.
  21. 1 point
    Thank you for the post. It is not ready yet. I am working with some parties I met on this community to integrate required business logic. I'll update you once we are ready to rock.
  22. 1 point
    Hello, Not sure if this is the right category to ask this but here we go.... is it easy to add an option for the customer to pay every two months ? and if so, how can i do it.. !?
  23. 1 point
    I asked the same question of the developers during the beta period - but never got an answer! however, if you modify domainregister.tpl and change... jQuery('.tld-filters a:first-child').click(); to... jQuery('.tld-filters a:*').click(); ... then all TLDs should be shown by default.
  24. 1 point
    The WHMCS.Community is intended to provide a place for users of WHMCS to discuss, share and interact with each other as well as WHMCS Staff. To ensure we maintain a friendly environment, we ask users to respect the following rules and guidelines. Please let us know via the WHMCS.Community Assitance category should you have any questions or comments, posts in this category are visible between yourself and the WHMCS.Community Team. WHMCS reserves the right to alter these rules from time to time. 1.User Accounts Each person may have (one) 1 forum login regardless of the number of companies you may be part of. Duplicate accounts will be removed from WHMCS.Community Please do not share your user account with others - each person should retain their own username and password Usernames must not be created that contain any of the items listed below: An email address A website address The following words WHMCS cPanel Staff Moderator Admin Any word determined to cause offence or be deemed inappropriate. Usernames or Users that do not comply with these rules may be removed from WHMCS.Community 2. Behaviour on the Community We expect all users to be friendly and polite. While we understand that users will disagree and have different points of view at times, this can be communicated in a civil manner Please do not post rude, insulting or inflammatory posts. Personal attacks, name-calling and insults will not be tolerated on WHMCS.Community. Profanity and inappropriate images (including porn or gross violence) may not be posted anywhere on the WHMCS.Community. WHMCS.Community Staff & Moderators use their sole discretion as to what is deemed unacceptable behaviour in the community and may remove content at any time. Your posts assist other users, please do not delete content if you find an answer, please share this solution to help other users. 3. Advertising on WHMCS.Community Advertising, offers or self-promotion are to be posted only in the Third Party Add-ons section of the community. Community users seeking to hire a developer may post within the Service Offers & Requests section. Advertising is limited to one advertisement per seven (7) day period on a rolling 7-day basis. Additional or excessive advertising will be removed by the moderation team and your ability to post in advertising boards removed. Soliciting and/or self-promotion via the private messaging (PM) system is strictly prohibited. The sale or reselling of WHMCS Licenses is strictly prohibited on the community. Affiliate and referral links may not be used, these links are those that link to a site and contain information crediting the person with that referral 4. Posting and Moderation on WHMCS.Community The WHMCS.Community is moderated by WHMCS.Community Moderators and Staff. When a post is deemed to be in breach of the rules it will be removed and the user advised via a warning. Please do not cross-post across the community. If your topic is better suited to another section one of the WHMCS.Community team will move it to the best category for you. You may report your post if you wish to have it moved by a moderator. For privacy reasons please do not post any personally identifiable information including Usernames, Passwords, Contact Numbers, Email Addresses and/or Credit Card Numbers As WHMCS.Community is a moderated community we have implemented a Warning System. When a post is removed for breaching the community rules we’ll be sure to let you know. We allocate points to a warning and once you have a set number of points you may be suspended from posting on the community. Users that do not comply with the rules for WHMCS.Community may be banned temporarily. Ongoing temporary bans may result in a permanent ban from WHMCS.Community. The public discussion of moderation decisions is not permitted, these will be removed without notice and may result in a community ban. 5. Signature and Profile Rules Your signature may include links, however, please ensure these are reasonable (no more than 4) and they must not include Referral/Affiliate links. This includes pricing and plan details Signatures may not contain more than 4 lines at a 1024x768 resolution Please do not sell or rent your signature space, your signature is yours alone. Where your signature does not comply with these rules you may be asked to alter or remove it 6. WHMCS.Community Ranks Official WHMCS Staff & Moderators are identified by one of the following ranks located below their profile image, in addition, their posts are highlighted blue WHMCS CEO WHMCS Community Manager WHMCS Customer Service WHMCS Developer WHMCS Marketing WHMCS Staff WHMCS Support Manager WHMCS Technical Analyst WHMCS.Community runs a ranking system, new community members start with the rank of Newbie and can progress based on the number of posts, reputation points and length of time active on the community Some users have a special “Super Users” rank. These members are a select group of elite community members that are long-standing mentors in the community, courteous to other members, always providing technical insight and advice, and generally helping to make our community a better place to learn, troubleshoot and advance. The WHMCS.Community ranking formula is changed from time to time and without notice. The algorithm used is not published or discussed with users to prevent gaming the system 7. Contacting the WHMCS.Community Team You may contact a member of the WHMCS.Community via the WHMCS.Community Assitance board If you would prefer to email you may open a ticket by emailing forums@whmcs.com Thank you for helping to keep WHMCS.Community a great place
  25. 1 point
    Hey, I just have a small question about these cancellation request.. When a client puts in a cancellation request trough the client area, either immidiate or end of billing period! Will WHMCS then terminate, and cancel the product automaticly depending on what the user chosed ? (Immidiate / End of month ) Or is it something me and my staff needs to do manually? Terminating, removing due invoices for the product, and mark the product as cancelled or ? Thanks, Freddy
×

Important Information

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