John Kennedy
Member-
Posts
42 -
Joined
-
Last visited
John Kennedy's Achievements
-
How do I disable this feature? When you reply to a ticket, its status changes to "Answered" and it's removed from the "Awaiting Reply" filter. If a customer replies and their reply is then blocked. The ticket status remains as "Answered" and it stays that way until it closes automatically. Then you get an angry call asking you why the ticket was closed when the issue was never resolved. Is there any way to disable this stupid filter? It's causing more issues than it's solving. PS. Email Import log is useless
-
John Kennedy started following API IP Access
-
Figured it out. In case anyone else needs this: Set up an API access key to bypass API access control and then add the accesskey pair to your curl query. https://developers.whmcs.com/api/access-control
-
Trying to set up a Zap to sync data from WHMCS to a 3rd party platform and ran into this issue: Zapier use the entire AWS us-east-1 IP range for their outgoing requests - https://community.zapier.com/how-do-i-3/does-zapier-use-a-single-ip-address-8642. Which means I have to add every single IP address to the whitelist to allow the data to be taken via an API request. To say it's tedious to set that up one by one is to say nothing (52.0.0.0/15 alone has over 131,000 IPs). Is there any other way to handle this? Allow entire ranges? Or allow a certain API ID to be accessed from 0.0.0.0/0?
-
Trying to set up validation for one of the custom fields and it's not working at all - just ignores the regex. Tried using the simplest example at https://docs.whmcs.com/Custom_Fields#Regular_Expression_Validation /^[0-9]+$/ But I can still enter text and special characters in the field and save the changes without any issues at all. I shouldn't be. Am I missing something? Is there an option that needs to be enabled?
-
Getting "Error code: 1013. Error message: Customer with email 'user@domain.tld' is not found in panel. Please contact your service provider." after upgrading to v8. Getting this on all customers - existing and new. There are records with those specific emails in the 'psa' database. I also triple checked the product settings as per https://docs.whmcs.com/Plesk#1013_-_Error_message:_Customer_with_email_.27johndoe.40example.com.27_is_not_found_in_panel._Please_contact_your_service_provider. No changes were made since the product last worked. The issue is not Plesk, the issue is WHMCS not reading/writing to 'psa' database. For new customers, WHMCS used to create the Plesk user/subscription and set up the domain hosting, it's no longer doing that and is returning the above error. The server settings are also fine in WHMCS 'servers' - re-checked those as well. Any ides how to resolve?
-
Pretty sure the answer is "no", but thought I'd ask anyway. Is it possible to add 2 (or more) Slack tokens to WHMCS for multiple workspaces? I'm looking to have WHMCS post notifications to one or the other depending on the ticket department.
-
Thanks for that! I believe adding a hook for a single file would be a better solution in the long run as I won't have to rewrite the hook every time I want change things to make them more readable or stand out more. <?php function admin_custom_css_hook($vars) { $currenttemplate = $vars['template']; $head_return = ''; $head_return = '<link href="templates/'.$currenttemplate.'/custom.css" rel="stylesheet" type="text/css" />'; return $head_return; } add_hook("AdminAreaHeadOutput",1,"admin_custom_css_hook"); Should give me a clean option.
-
Trying to change the style of quoted text in the Notes tab in the Admin area. It looks like the text is wrapped in the <blockquote> tag with no id, class or any other identifiers. Is there anything specific that needs to be written in custom.css? Adding blockquote style doesn't do anything at all. Tested by editing blockquote style via inspecting the element and that changes the text just fine.
-
I do want them to show up in the admin area, so I made them "Admin only". From what I understand, the hook will only affect listed CFs. So I don't make them Admin only and add them to the hook array for them to show up, but be read only? I was thinking of taking it a bit further actually - one of the fields is a unique link that I add directly into the database via a synch script, and I want that to be clickable on the primary sidebar. But this will do for now. I already checked one of your older post for the sidebar thing:
-
I know they show up automatically when added but, when done that way, they can be edited. I wan't to change the template so it only shows a set of certain fields as text instead of input boxes. This is the template I'm talking about: # ls -liah | grep details -rw-r--r-- 1 whmcs whmcs 7126 Apr 2 16:47 clientareadetails.tpl Edit: I think I know what I'm doing wrong. This template is used when editing the customer profile. Guess, I'll keep digging, maybe I just need to use a different area to show the fields.
-
Recurring Promotions Reset Pricing
John Kennedy replied to John Kennedy's topic in Troubleshooting Issues
Bump. -
I'm trying to set up short term promotions (only 3 cycles) and apply them to existing products. The issue is whenever I generate an invoice with the said promotions applied to products, those product prices are reset to default and the promo code is wiped off. Original Pricing: Promotion code applied: Invoice generated: Pricing reset to default, no promo code: Not sure why this is happening, but it's making it impossible to apply short term discouns to existing services. The issue is similar to below, but not the same
-
Different invoice numbers for each payment method?
John Kennedy replied to Razva's topic in Third Party Add-ons
Anyone looking to do the same: update the last call to "InvoiceCreation" add_hook("InvoiceCreation",1,"generate_custom_invoice_number_hook"); @brian! Thanks for all the help! You're a legend.

