Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 06/10/21 in all areas

  1. 2 points
    that is true and makes much more sense that what the docs say. hmm... I wonder if a cron hook that runs after the client status sync, but before the pruning task (I assume they occur in that order), that sets a client with a positive balance to Active status.... under those circumstances, I don't think the pruning task would touch it... though whether that would impact on active client numbers and your license level i'm not sure. this is one of those features that I would never enable... though if I did need it, i'd probably write my own pruning task hook where I determine the conditions and skip the default cron task option... if the PreDeleteClient had an abort option, then that could be useful here, but then we're down the road of submitting another feature request.
  2. 1 point
    Just thought of this and figured I would note just in case. If you need to have the customfield in multiple locations in the message, using smarty's assign would work better than looping each time: {foreach from=$service_custom_fields_by_name item=customfield} {if $customfield.name eq 'cpfnumber'} {assgin cpfnumber=$customfield.value} {/if} {if $customfield.name eq 'some_other_field'} {assgin otherfield=$customfield.value} {/if} {/foreach} ...... else where in the message CPF #: {$cpfnumber}
  3. 1 point
    does your custom theme contain usagebillingpricing.tpl and clientareaproductusagebilling.tpl ? if not, copy theme across from either Six or 21 and see if that helps. also, ensure that your orderform template, e.g standard_cart has been updated as configureproduct.tpl will include metrics code.
  4. 1 point
    it's strange that some of those TLDs were on any list... reminded me of the old v6 days when WHMCS found a list of TLDs, added them to the database and didn't even bother to check if some of therm were a) valid and/or b) brands (and therefore not available for public registration). I think that I probably didn't emphasise above the importance of the $validtemplates array and how it defines which templates will be shown with sidebars.... if you're saying that you don't want any of the cart pages to include any sidebars, then it's just a case of removing the registration/transfer templates from the array - the quickest way being to either comment that line or or remove it entirely. //$validtemplates = array("domainregister","domaintransfer");
  5. 1 point
    you will still need to create a new data feed - as the default data feeds will get overwritten during a WHMCS update.
  6. 1 point
    or perhaps a safer route would be to rename the tables, *then* see if the front/back are running with no errors and if no negative issues, then you can delete the tables... if errors, rename them back and then investigate a better way of removing them.
  7. 1 point
  8. 1 point
    Not all developers implement _deactivate() function that's why you end up with unused tables in database. Of course you can delete all tables prefixed with crm_ but be advised that there's a chance this triggers fatal errors somewhere. It depends on how the module was coded. For example if for some crazy reason the module uses an action hook outside its folder (includes/hooks) and the hook performs a query on a deleted table... Oops something went wrong. Or again if the module needed some file to be included in configuration.php it will probably cause troubles. Simply put, delete all these tables but make sure that front & backend still load correctly.
  9. 1 point
    Hello Guys! After a few months searching for a simple dark mode theme for my WHMCS admin and not finding any real solution, I decided to modify the new Blend theme to make it darker and to be able to work more at ease 22 hours a day! LOL Here I want share with you some screamshots to recive your feedback and if you like I will add a link to download and test to improve it. share your opinion and if you think I share the link to download it
  10. 1 point
    ... and should only be available to "Product" type email templates.
  11. 1 point
    all sidebars or just the social media one? i'm not seeing the social media one on the site, so I assume it's not that... or you've sorted it yourself. if on those pages, domain transfer / register, you wanted to remove *all* sidebars, then emptying the sidebar array doesn't work (well it gets rid of the sidebars, but leaves a gap on the left - that's a bug that's been there since v6)... <?php # Cart Sidebar Removal / Resizing v8.1 Hook # Written by brian! function cart_remove_sidebars_hook($vars) { $validtemplates = array("domainregister","domaintransfer"); if ($vars['inShoppingCart'] && !in_array($vars['templatefile'],$validtemplates)) { $head_return = "<style>#order-standard_cart .cart-body { width:100% !important; } .cart-sidebar {display: none;}</style>"; return $head_return; } } add_hook("ClientAreaHeaderOutput",1,"cart_remove_sidebars_hook"); also, you might also want to take a look at your TLD list - hundreds of them don't have any pricing, and lots of them you definitely wouldn't be allowed to register, let alone search - the obvious one that stuck out to me being police.uk (but ac, mod, nhs, nic, and sch.uk would be the same.) 👮‍♂️
  12. 1 point
    i'd suggest renaming the folder from "blend" to "darkblend" or whatever - the point being that if it's called "blend", it will overwrite the default blend theme... now that's fine, but if the user updates WHMCS, then WHMCS will overwrite the dark theme with the normal "blend" theme and lose the customisation. also, might be useful to specify which WHMCS releases it's compatible with.
  13. 1 point
    It should be a simple fix really for a major issue, you don't necessarily find out about the issue until an angry client gets in touch asking why you've been ignoring them, then you have to blame WHMCS for breaking something that was working fine.
  14. 1 point
    Of course and it is actually really easy. Years ago I had a WHMCS page that was showing on Google Maps the location/address of all the authorized resellers of a provider (it was taking data from a specific client group). Openstreet is pretty much the same.
  15. 1 point
    To get service_custom_field_cpfnumber, you would need to go through the service_custom_fields_by_name array, check the name variable and if it is cpfnumber, then show. {foreach from=$service_custom_fields_by_name item=customfield} {if $customfield.name eq 'cpfnumber'} {$customfield.name}: {$customfield.value} {else} {/foreach} The service_custom_fields_by_name array uses numbers for keys and not the custom field name and thus you have to go hunt for it.
  16. 1 point
    Sure, a module can do nearly anything if it can be coded . 😉 Check their develop page, specifically the show the map pages.
  17. 1 point
    A feature request? I should think something like this deserves a bit more attention that a 4 year wait to see if it's an issue that needs fixing (or is in fact a feature that needs discussion).
  18. 1 point
    Does this mean you need a Support contract to be able to change server? I mean will they still accept support tickets like this when the support contract expires of my live long license? Wouldn't it be better when the license check is Domain and DNS based in stead of IP address based. After all the IP address can be retrieved from a simple DNS query with PHP's dns_get_record which can do both A and AAAA. I mean why would it need to be manual with a support ticket? Is that to force us to have a license with support?
  19. 1 point
    I didn't have that information but they were quite slow and unattentive to new customers, but at least its a point to start. We could code everything from scratch, which remains an option for a bit later, but for start seems like a fair deal. I think it would work for at least a year at least. Maybe until tan someone else will do something new. yes optimism dies last ... 😄
  20. 1 point
    I take it you're a new employee and/or user of WHMCS. 🙄 https://developers.whmcs.com/themes/css-styling/ all.min.css would get overwritten during an update - the user should add any client area custom CSS to the theme's custom.css file... but always keep a backup of it.
  21. 1 point
    Short term, month to month yes monthly is cheaper but I was looking at long term, years out -- look at my math again. Over 5 years if paying $19, it is $1140 compared to $624 . They lost over $500 in potential income for one owned license during that time. And thus is why owned / lifetime / one time pay licenses mean jack cheese to me and have not used them and with this probably wont. I'd rather pay them that $500 and perhaps then the company may not do stuff like this. (but obviously each company is different) Not sure if that is directed at me, but I never claimed it was or wasn't deception. I think stopping renewal of support / updates is a bad / wrong move -- unless they are discontinuing WHMCS it self. I do not disagree with you and I have posted on other threads here or WHT about SaaS WHMCS. At that point, if I am still using WHMCS, I would be switching to Blesta or something else -- even if I have to spend money or time and build modules or even building the system I have been thinking about for a while. Heck I can barely stand them having call homes as it is. Even before this I had started building modules that could potentially be used within other systems with coding to their own ways of doing stuff. For my use case, Blesta would only need 2 or 3 modules built to cover everything in use now and could probably get away with just 1 and figure something out for the other.
  22. 1 point
    <?php use \WHMCS\Module\GatewaySetting; $setting = GatewaySetting::where('gateway', '=', '{gatewayname}')->where('setting', '=', '{settingname}')->first(); var_dump($setting->value); // Unencrypted value $setting->value = 'THIS WILL BE ENCRYPTED IN THE DATABASE'; // This will be encrypted before saving to the DB $setting->save();
  23. 1 point
    technically, you've made the priority of your hook lower rather than higher - so your hook will effectively run later, e.g after the addon hook runs.
  24. 1 point
    Delete all the transactions
  25. 1 point
    Hello all, I want to add the Domain Register and Domain Transfer Forms on my home page so people can do a quick search for availability on their domain or begin their transfers. I remember seeing this somwhere in here but I cannot find it after 2 hours of searching. Probably wrong keywords? Anyway, what code do I use to do this? Thanx.
  26. -1 points
    In WHMCS 8.2, changes to our addon system provide useful ways to work with addons with your products and services, including the introduction of WordPress Toolkit support in WHMCS. They also provide the framework for a new way to offer hosting customers a high-quality WordPress® experience, letting them manage their own installations quickly and easily. WHMCS has completely automated WordPress Toolkit provisioning, so now it's easy to sell WordPress Toolkit directly to your customers, with...View the full blog post
  27. -2 points
    In WHMCS 8.2, we've made changes to our addon system, providing powerful new ways to offer addons with products and services. We talked about some of them here. These changes have their own inherent benefits, letting you choose prorata billing, duplicating addons, and creating addons that WHMCS preconfigures for you with predefined addons (described below). However, we had a bigger reason to make these updates: the introduction of a new way to offer customers a high-quality WordPressexperience...View the full blog post
×
×
  • 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