All Activity
- Past hour
-
ordermetaburn joined the community
-
virdexissite joined the community
- Today
-
ModulesGarden started following ModulesGarden – WHMCS 9.1 Compatibility Updates
-
We've been working on compatibility updates for WHMCS 9.1 Beta, and the list of ready ModulesGarden products keeps growing! Several modules have already been updated, including: IP ManagerDiscount CenterReport GeneratorDirectAdmin Extendedand many more! More releases are on the way as we continue testing and updating our portfolio. A Quick Note About Compatibility Testing WHMCS 9.1 Beta? The updated modules are ready for testing in non-production environments.Using a stable WHMCS version? The updated modules can also be used in production with supported stable versions. We'll continue updating this thread as more modules become compatible. Check the full, regularly updated compatibility list: View All WHMCS 9.1 Compatible Modules
-
Best Equipment Sales joined the community
-
softcreate joined the community
-
vizagtour joined the community
-
ARAKU joined the community
-
Hostina – A Complete WHMCS Template with Custom Client Area, Order Form & RTL Support Running a hosting business usually means bringing several parts of the customer experience together. You have the main website where visitors compare hosting plans, VPS packages or domains. Then there is the ordering process. And once someone becomes a customer, they spend most of their time inside the WHMCS client area managing services, invoices, domains and support requests. The problem is that these parts don't always feel like the same website. That is one of the main reasons we built Hostina. Hostina is a premium WHMCS template designed for hosting companies that want a modern frontend, a redesigned WHMCS client area and a matching order form without giving customers the feeling that they are moving between completely different systems. It also includes both LTR and RTL layouts, making it suitable for English, Arabic and bilingual hosting businesses. More Than a WHMCS Client Area Theme There are plenty of WHMCS themes available, but we wanted Hostina to cover more than the dashboard. The package includes the customer-facing hosting website, WHMCS client area and ordering experience, with a consistent visual style across them. That means you can use Hostina for the journey from: Visitor → Product → Order → Customer → Service Management rather than redesigning only one part of WHMCS. Hostina includes: Complete hosting frontend Redesigned WHMCS client area Custom client dashboard Styled WHMCS order form and checkout Domain search and transfer pages Hosting, VPS and dedicated server pages Invoice and billing interfaces Domain management pages Support ticket pages Login and registration Arabic RTL frontend English LTR frontend Responsive desktop, tablet and mobile layouts A Hosting Website That Matches Your Client Area For many hosting companies, the public website looks modern but the experience changes as soon as the customer enters WHMCS. Hostina was designed to make that transition feel much more natural. The frontend provides ready-made layouts for common hosting products and content, including: Web Hosting VPS Hosting Dedicated Servers Domain Registration Domain Transfer Hosting Plans Blog & Articles Contact Pages The goal is to give hosting providers a solid starting point without requiring them to design the entire customer-facing website separately from WHMCS. Redesigned WHMCS Client Area The client area is where existing customers actually interact with your hosting company. They return there to check services, renew domains, download invoices, open support tickets and manage their account. For that reason, we didn't want the Hostina client area to feel like an afterthought. The dashboard has been redesigned around the information hosting customers use regularly, with a cleaner sidebar, clearer navigation and easier access to important account sections. Customers can quickly reach: Active Services Domains Invoices Support Tickets Account Information Service Details Renewals Billing Information The result is a cleaner customer portal while keeping the functionality hosting providers already rely on from WHMCS. Custom WHMCS Order Form & Checkout A hosting website can look excellent and still lose the customer's confidence if the ordering process suddenly feels outdated or disconnected from the rest of the site. That's why the order form was treated as an important part of Hostina rather than simply using an unrelated cart design. Hostina includes a styled WHMCS ordering experience with: Clear product presentation Organized package selection Product configuration Domain ordering Shopping cart Checkout Responsive mobile ordering The visual language stays consistent with the rest of the template, helping customers move from browsing a package to placing an order without an abrupt change in the interface. Built for Arabic and English Hosting Companies RTL support was not added to Hostina as an afterthought. Hostina includes dedicated experiences for both: English — Left-to-Right (LTR) Arabic — Right-to-Left (RTL) Layouts, navigation and typography have been designed to work naturally in both directions. This makes Hostina particularly useful for hosting providers serving the Middle East and international markets from the same brand. You can see both versions in the live demos below. Responsive Across Desktop, Tablet and Mobile Hosting customers don't always manage their accounts from a desktop computer. They may need to renew a service, check an invoice or open a support ticket from their phone. Hostina uses responsive layouts across the frontend, client area and ordering experience so the interface adapts to different screen sizes instead of simply shrinking a desktop layout. Performance & SEO-Friendly Structure Hostina has been developed with clean, responsive frontend structure and performance in mind. The template is designed to provide a solid foundation for hosting companies that care about: Page speed Mobile usability Clean HTML structure Search-friendly pages Clear content hierarchy User experience Performance optimization Of course, final website performance also depends on your WHMCS installation, server configuration, third-party modules, tracking scripts, images and other customizations. For SEO, Hostina gives you the frontend foundation; your content, technical configuration, backlinks and overall marketing strategy still matter. We prefer to be clear about that rather than promise rankings that no template can guarantee. What's Included? Hosting Frontend Hostina includes layouts for: Homepage Web Hosting VPS Hosting Dedicated Servers Domain Search Domain Transfer Hosting Plans Blog Blog Details Contact Us Cart & Checkout WHMCS Client Area The redesigned client area covers the sections customers use most: Login Registration Client Dashboard My Services Service Details My Domains Domain Details Invoices Billing Support Tickets Account Management WHMCS Compatibility Hostina is designed for modern WHMCS installations and the current product page lists support for WHMCS 8.0 through 8.13+ and PHP 8.1–8.3. Because WHMCS continues to evolve, we recommend checking the product page for the latest compatibility information before purchasing or updating your installation. Who Is Hostina Made For? We designed Hostina primarily for businesses selling hosting and related online services, including: Shared Hosting Providers WordPress Hosting Providers VPS Providers Dedicated Server Providers Cloud Hosting Companies Domain Registrars Reseller Hosting Providers Web Hosting Startups Web Agencies Digital Service Providers It can work equally well for a new hosting company preparing for launch or an established provider that wants to modernize an existing WHMCS setup. Why We Built Hostina The idea behind Hostina was fairly simple: WHMCS shouldn't have to look separate from the business built around it. Customers don't think about your frontend, billing platform and support portal as separate products. To them, it's all your company. The page where they choose a server, the cart where they place the order, the dashboard where they manage it and the page where they pay the invoice are all part of the same experience. Hostina was built around that idea. Instead of redesigning only the homepage or placing a new skin over a few WHMCS pages, we focused on creating a more consistent experience across the parts of a hosting business that customers actually interact with. See Hostina in Action The easiest way to decide whether a WHMCS template is right for your business is to actually use it. We've made the frontend and WHMCS client area available to test. WHMCS Client Area Demo https://hostk.com/hostina-demo Demo Account Email: test@hostk.com Password: test Feel free to log in and explore the dashboard, services, domains, invoices, tickets and other client-area pages. English Frontend Demo https://hostk.com/hostina-demo/frontend-english Explore the LTR version of the hosting frontend. Arabic / RTL Frontend Demo https://hostk.com/hostina-demo/frontend-arabic See how the same design works as a native RTL hosting experience. Get Hostina If you're building a new hosting company or want to give an existing WHMCS installation a more complete and consistent customer experience, you can find Hostina here: https://hostk.com/hostina-template/ We recommend checking the live demos before purchasing. A template is something your customers will interact with every day, so seeing the actual frontend, dashboard and ordering experience is much more useful than reading a feature list. We'd Like to Hear From the WHMCS Community Hostina will continue to evolve, and feedback from people who actually run hosting businesses is especially valuable to us. If you have a few minutes to explore the demo, we'd be interested to hear what you think about: Client dashboard usability Order form and checkout Arabic / RTL implementation Mobile experience Hosting frontend Features you would like to see added in future releases Whether you're currently looking for a new WHMCS template or simply have experience running WHMCS, constructive feedback is welcome. Thanks for checking out Hostina. https://hostk.com/hostina-template/
-
betrepubliccasino24 joined the community
-
Hostina – A Complete WHMCS Template with Custom Client Area, Order Form & RTL Support Running a hosting business usually means bringing several parts of the customer experience together. You have the main website where visitors compare hosting plans, VPS packages or domains. Then there is the ordering process. And once someone becomes a customer, they spend most of their time inside the WHMCS client area managing services, invoices, domains and support requests. The problem is that these parts don't always feel like the same website. That is one of the main reasons we built Hostina. Hostina is a premium WHMCS template designed for hosting companies that want a modern frontend, a redesigned WHMCS client area and a matching order form without giving customers the feeling that they are moving between completely different systems. It also includes both LTR and RTL layouts, making it suitable for English, Arabic and bilingual hosting businesses. More Than a WHMCS Client Area Theme There are plenty of WHMCS themes available, but we wanted Hostina to cover more than the dashboard. The package includes the customer-facing hosting website, WHMCS client area and ordering experience, with a consistent visual style across them. That means you can use Hostina for the journey from: Visitor → Product → Order → Customer → Service Management rather than redesigning only one part of WHMCS. Hostina includes: Complete hosting frontend Redesigned WHMCS client area Custom client dashboard Styled WHMCS order form and checkout Domain search and transfer pages Hosting, VPS and dedicated server pages Invoice and billing interfaces Domain management pages Support ticket pages Login and registration Arabic RTL frontend English LTR frontend Responsive desktop, tablet and mobile layouts A Hosting Website That Matches Your Client Area For many hosting companies, the public website looks modern but the experience changes as soon as the customer enters WHMCS. Hostina was designed to make that transition feel much more natural. The frontend provides ready-made layouts for common hosting products and content, including: Web Hosting VPS Hosting Dedicated Servers Domain Registration Domain Transfer Hosting Plans Blog & Articles Contact Pages The goal is to give hosting providers a solid starting point without requiring them to design the entire customer-facing website separately from WHMCS. Redesigned WHMCS Client Area The client area is where existing customers actually interact with your hosting company. They return there to check services, renew domains, download invoices, open support tickets and manage their account. For that reason, we didn't want the Hostina client area to feel like an afterthought. The dashboard has been redesigned around the information hosting customers use regularly, with a cleaner sidebar, clearer navigation and easier access to important account sections. Customers can quickly reach: Active Services Domains Invoices Support Tickets Account Information Service Details Renewals Billing Information The result is a cleaner customer portal while keeping the functionality hosting providers already rely on from WHMCS. Custom WHMCS Order Form & Checkout A hosting website can look excellent and still lose the customer's confidence if the ordering process suddenly feels outdated or disconnected from the rest of the site. That's why the order form was treated as an important part of Hostina rather than simply using an unrelated cart design. Hostina includes a styled WHMCS ordering experience with: Clear product presentation Organized package selection Product configuration Domain ordering Shopping cart Checkout Responsive mobile ordering The visual language stays consistent with the rest of the template, helping customers move from browsing a package to placing an order without an abrupt change in the interface. Built for Arabic and English Hosting Companies RTL support was not added to Hostina as an afterthought. Hostina includes dedicated experiences for both: English — Left-to-Right (LTR) Arabic — Right-to-Left (RTL) Layouts, navigation and typography have been designed to work naturally in both directions. This makes Hostina particularly useful for hosting providers serving the Middle East and international markets from the same brand. You can see both versions in the live demos below. Responsive Across Desktop, Tablet and Mobile Hosting customers don't always manage their accounts from a desktop computer. They may need to renew a service, check an invoice or open a support ticket from their phone. Hostina uses responsive layouts across the frontend, client area and ordering experience so the interface adapts to different screen sizes instead of simply shrinking a desktop layout. Performance & SEO-Friendly Structure Hostina has been developed with clean, responsive frontend structure and performance in mind. The template is designed to provide a solid foundation for hosting companies that care about: Page speed Mobile usability Clean HTML structure Search-friendly pages Clear content hierarchy User experience Performance optimization Of course, final website performance also depends on your WHMCS installation, server configuration, third-party modules, tracking scripts, images and other customizations. For SEO, Hostina gives you the frontend foundation; your content, technical configuration, backlinks and overall marketing strategy still matter. We prefer to be clear about that rather than promise rankings that no template can guarantee. What's Included? Hosting Frontend Hostina includes layouts for: Homepage Web Hosting VPS Hosting Dedicated Servers Domain Search Domain Transfer Hosting Plans Blog Blog Details Contact Us Cart & Checkout WHMCS Client Area The redesigned client area covers the sections customers use most: Login Registration Client Dashboard My Services Service Details My Domains Domain Details Invoices Billing Support Tickets Account Management WHMCS Compatibility Hostina is designed for modern WHMCS installations and the current product page lists support for WHMCS 8.0 through 8.13+ and PHP 8.1–8.3. Because WHMCS continues to evolve, we recommend checking the product page for the latest compatibility information before purchasing or updating your installation. Who Is Hostina Made For? We designed Hostina primarily for businesses selling hosting and related online services, including: Shared Hosting Providers WordPress Hosting Providers VPS Providers Dedicated Server Providers Cloud Hosting Companies Domain Registrars Reseller Hosting Providers Web Hosting Startups Web Agencies Digital Service Providers It can work equally well for a new hosting company preparing for launch or an established provider that wants to modernize an existing WHMCS setup. Why We Built Hostina The idea behind Hostina was fairly simple: WHMCS shouldn't have to look separate from the business built around it. Customers don't think about your frontend, billing platform and support portal as separate products. To them, it's all your company. The page where they choose a server, the cart where they place the order, the dashboard where they manage it and the page where they pay the invoice are all part of the same experience. Hostina was built around that idea. Instead of redesigning only the homepage or placing a new skin over a few WHMCS pages, we focused on creating a more consistent experience across the parts of a hosting business that customers actually interact with. See Hostina in Action The easiest way to decide whether a WHMCS template is right for your business is to actually use it. We've made the frontend and WHMCS client area available to test. WHMCS Client Area Demo https://hostk.com/hostina-demo Demo Account Email: test@hostk.com Password: test Feel free to log in and explore the dashboard, services, domains, invoices, tickets and other client-area pages. English Frontend Demo https://hostk.com/hostina-demo/frontend-english Explore the LTR version of the hosting frontend. Arabic / RTL Frontend Demo https://hostk.com/hostina-demo/frontend-arabic See how the same design works as a native RTL hosting experience. Get Hostina If you're building a new hosting company or want to give an existing WHMCS installation a more complete and consistent customer experience, you can find Hostina here: https://hostk.com/hostina-template/ We recommend checking the live demos before purchasing. A template is something your customers will interact with every day, so seeing the actual frontend, dashboard and ordering experience is much more useful than reading a feature list. We'd Like to Hear From the WHMCS Community Hostina will continue to evolve, and feedback from people who actually run hosting businesses is especially valuable to us. If you have a few minutes to explore the demo, we'd be interested to hear what you think about: Client dashboard usability Order form and checkout Arabic / RTL implementation Mobile experience Hosting frontend Features you would like to see added in future releases Whether you're currently looking for a new WHMCS template or simply have experience running WHMCS, constructive feedback is welcome. Thanks for checking out Hostina. https://hostk.com/hostina-template/
- Yesterday
-
This is wacky, WHMCS thought we should not be able to edit our own invoices? Do they think they own our invoices? This is almost as weird as when they wouldn't let us change an account password. So what do you do, delete the invoice and create a manual one that won't sync to the product? What's the process if you need to change an unpaid invoice?
-
WHMCS decided that immutable invoices should be the default, with no chance of shutting that off for those that don't want or need it. This is allegedly being addressed in the latest version; the one where they will be forcing a marketplace account on everyone with no opt out. Enjoy. To change an invoice now, I believe you need to cancel the current one and recreate it, causing much confusion to the client. Again, enjoy? 😉
-
efisher started following Automatic MarketConnect Account Registration
-
yessi joined the community
-
Can someone please tell me how I can change an unpaid invoice? The price has changed and I need to adjust it. WHMCS is giving me this error when I try This is an Unpaid Invoice. You cannot modify an Invoice that is Unpaid. Which doesn't make any sense, of course I will need to change unpaid invoices.
-
Version 8.2.0 Added: Opt-in/Opt-out Custom Fields Added: Variavle {InvoiceNumber} for SMS Template Added: Functionality for OTP skip for specific country Added: Some extra security layer into sending sms OTP to users Code optimization and reduced duplication for send sms -Rate limiting per IP address. -Rate limiting per mobile number. -Rate limiting per browser session. -A configurable cooldown period between OTP requests -Maximum OTP request limits per hour/day - CAPTCHA v3 verification before sending OTP requests Updated: Infobip API Gateway Updated: GrameenPhone CMP Gateway Api Updated: Remove Support for WHMCS V8.7.x to 8.9.x Updated: Remove Support for PHP 8.1 Updated: Fully supported WHMCS 9.0.9 & 9.1.x Fixed: Support for ionCube Loader v15
-
Passkey Authentication Module v1.1.1 Released We’ve released version 1.1.1 of our Passkey Authentication Module with several security improvements and tighter controls over passkey management. What’s new in v1.1.1? Improved overall module security. Passkey registration during signup is now disabled. Customers can add a passkey only after signing in to their account using the same browser. Passkey management is restricted to the signed-in account. Passkey login is now restricted to active customers with verified email addresses. These updates add an extra layer of protection and help ensure passkeys are managed securely within each customer account. More details: https://whmcsglobalservices.com/whmcs-modules/passkey-authentication/
- 6 replies
-
- login verify
- Password Manager
- (and 17 more)
-
That's great, thanks Rob
-
Automatic MarketConnect Account Registration
bear replied to zomex's topic in WHMCS 9.1 Beta Discussion
There have been a number of those in WHM that have automatically enabled the new thing and the screen is just telling you it's done. "Save settings" is the only choice, and you have to go digging to hide/remove it. -
Hey Steve, Good news, the validation is already in the code I posted. This line is what does it: if (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) || strpos($domain, '.') === false) { It only lets through letters, numbers, dots and dashes in a real domain format. Anything else (spaces, code, symbols, junk) gets stopped with "Please enter a valid domain name" before it ever gets to the WHOIS or DNS lookup. So you don't need to add anything for that part. For bots, two easy things: 1. Make it logged-in clients only. In dnscheck.php, right under this line: $ca->initPage(); add: $ca->requireLogin(); Now anyone not logged in gets sent to the login page. That's what I did on mine and it stops pretty much all the bot traffic. 2. Simple rate limit (10 lookups every 10 minutes per client). Find the block that starts with if ($domain !== '') { and replace that whole block, down to its closing }, with this: if ($domain !== '') { $_SESSION['dnscheck'] = array_filter($_SESSION['dnscheck'] ?? [], function ($t) { return $t > time() - 600; }); if (count($_SESSION['dnscheck']) >= 10) { $error = 'Too many lookups. Please wait a few minutes and try again.'; } elseif (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) || strpos($domain, '.') === false) { $error = 'Please enter a valid domain name.'; } else { $_SESSION['dnscheck'][] = time(); $result = localAPI('DomainWhois', ['domain' => $domain]); if (($result['result'] ?? '') === 'success') { $status = $result['status']; $whois = html_entity_decode(strip_tags(urldecode($result['whois'] ?? '')), ENT_QUOTES); } $records = @dns_get_record($domain, DNS_A | DNS_AAAA | DNS_CNAME | DNS_MX | DNS_NS | DNS_TXT) ?: []; } } Save it and you're done. If you want more or less than 10, just change the 10. The 600 is the time window in seconds. @carlpeeter32 thanks, good points. On the WHOIS question, most of the common TLDs come back fine. Some country TLDs and a few registrars hide most of it for privacy, so you just get status and dates on those. Since it goes through WHMCS's own WHOIS servers it's as good as your domain checker is. Rob
-
GenShift changed their profile photo
-
Hi Steve, good news: you don’t need to write code for the first part. Rob’s dnscheck.php already checks the domain on the server side (the filter_var(...) line), so random text or odd characters get rejected before any lookup runs. If you want it a bit stricter, you can add this line right after $domain = ...: if (strlen($domain) > 253) { $domain = ''; } For the bots/rate-limit part, the easiest options without programming, from simplest to most flexible: Make the page login-only. In dnscheck.php, add $ca->requireLogin(); right after $ca = new ClientArea();. Then only logged-in clients can use it, and bots can’t hit it. (If you want it public for visitors, skip this.) Cloudflare, if your site is on it. Free plan: Security → WAF → Rate limiting rules (or a Turnstile challenge) on the URL path /dnscheck.php, e.g. a limit of about 10 requests per minute per IP. No code needed. Server-level rate limit. If your host uses ModSecurity or CSF/LFD, ask your host to rate-limit that one URL. I haven’t tested these exact lines on your setup, so try it on a staging copy (or at least back up dnscheck.php first) before putting it live. Hope that helps.
-
Automatic MarketConnect Account Registration
Damo replied to zomex's topic in WHMCS 9.1 Beta Discussion
Something like the WHM new feature settings. Allow us to enable it or continue and enable it later. -
Automatic MarketConnect Account Registration
carlpeeter32 replied to zomex's topic in WHMCS 9.1 Beta Discussion
I'm with GenShift and Damo on this one. The MarketConnect upsell itself isn't the problem — automatic account creation during an upgrade without a clear confirmation screen is. Plenty of us run locked-down or compliance-sensitive installs where a new account getting spun up quietly is exactly what we don't want. Make it opt-in with a proper explanation screen and the $50 credit becomes a nice touch instead of a red flag. -
Automatic MarketConnect Account Registration
Damo replied to zomex's topic in WHMCS 9.1 Beta Discussion
My bet is that it will be in the EULA you have to accept before being able to complete the install. Marketplace is owned by WHMCS Ltd so it's not actually a third party. - Last week
-
New ticket notification to admins, customize?
pRieStaKos replied to bear's topic in Admin & Configuration Questions
Maybe with TicketOpen and SendAdminEmail -
New ticket notification to admins, customize?
bear replied to bear's topic in Admin & Configuration Questions
Asked support, and as predicted this is customization and not something they can help with. Would have been great if they mentioned the notification template is not editable as it lives behind the encoded files, which would have saved a lot of frustration, but hey! I'm guessing "New Support Ticket Opened." may have been a prior WHMCS version. Looking back in the email template sql files (v7x, v6x, v5x and so on), that was that title, but it was in support (not admin), and had client type info vars in it. So, for me, the workaround was to discontinue using the notifier (email) for support, which was sending to an account that had a special ring tone on my mobile so I know something's up. Instead set up the admin account to get notified for each support department (various triggers) via the admin account settings (appears this template is also hard coded somewhere), and changed the notifier to only send me items other than tickets. Last step, email filter to take messages to the admin addy and a subject that has "[Ticket ID" at the start and forward that to the special email addy with special ring tone. Best of both worlds, but still testing over time to make sure this doesn't bugger anything else up. Appreciate the responses, and hope this is of some use for someone. Phew. -
Steve, the first part is already done in Rob's code. This line checks that what was typed is a real domain name before any lookup runs, and shows "Please enter a valid domain name" if it isn't: if (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) || strpos($domain, '.') === false) { For the rate limit, you only need to change one part of dnscheck.php. Find this block: } else { $result = localAPI('DomainWhois', ['domain' => $domain]); if (($result['result'] ?? '') === 'success') { $status = $result['status']; $whois = html_entity_decode(strip_tags(urldecode($result['whois'] ?? '')), ENT_QUOTES); } $records = @dns_get_record($domain, DNS_A | DNS_AAAA | DNS_CNAME | DNS_MX | DNS_NS | DNS_TXT) ?: []; } and replace it with this: } else { // At most 10 lookups per visitor IP in 10 minutes $key = 'dnscheck_' . md5($_SERVER['REMOTE_ADDR']); $store = \WHMCS\TransientData::getInstance(); $count = (int) $store->retrieve($key); if ($count >= 10) { $error = 'Too many lookups. Please wait a few minutes and try again.'; } else { $store->store($key, $count + 1, 600); $result = localAPI('DomainWhois', ['domain' => $domain]); if (($result['result'] ?? '') === 'success') { $status = $result['status']; $whois = html_entity_decode(strip_tags(urldecode($result['whois'] ?? '')), ENT_QUOTES); } $records = @dns_get_record($domain, DNS_A | DNS_AAAA | DNS_CNAME | DNS_MX | DNS_NS | DNS_TXT) ?: []; } } It uses WHMCS's own temporary storage, so there is no new table or setting to create. Change 10 and 600 (seconds) to suit your site. One thing to check: if your site is behind Cloudflare, every visitor reaches you from a Cloudflare address, so they would all share one limit. In that case use $_SERVER['HTTP_CF_CONNECTING_IP'] ?? $_SERVER['REMOTE_ADDR'] in place of $_SERVER['REMOTE_ADDR'].
-
New ticket notification to admins, customize?
keshav replied to bear's topic in Admin & Configuration Questions
Sorry, my mistake on the name. In the list the template is called Support Ticket Created (Email Templates > Admin Messages). "New Support Ticket Opened" is only its subject line. Its default body already starts with: Client: {$client_name}{if $client_id} #{$client_id}{/if} So once you receive that email, you see the name without editing anything. It is sent only to admins who have the ticket's department ticked under Support Ticket Notifications on their admin user. That may be why you have never seen it, and why you only get the Notifications-rule message, which can't carry the name. If the template has been deleted on your install, or you would rather keep using your own email, a small hook does it. Save this as includes/hooks/ticket_open_admin_email.php: <?php use WHMCS\Database\Capsule; add_hook('TicketOpen', 1, function ($vars) { $c = Capsule::table('tblclients')->find($vars['userid']); $who = $c ? trim("$c->firstname $c->lastname") . " <$c->email>" : 'Guest'; localAPI('SendAdminEmail', [ 'customsubject' => "New ticket from $who: {$vars['subject']}", 'custommessage' => "<p>From: " . htmlspecialchars($who) . "</p><p>Ticket #{$vars['ticketid']}</p>" . nl2br(htmlspecialchars($vars['message'])), 'type' => 'support', 'deptid' => $vars['deptid'], ]); }); Because most of your tickets come in by email piping, test it with one piped message from a client address first. If piped tickets don't trigger it on your version, the TicketPiping hook point is the next thing to try. -
New ticket notification to admins, customize?
bear replied to bear's topic in Admin & Configuration Questions
Thanks, but already did so. The issue is it's not grabbing any details of the sender/opener. Most of mine are done via email that's piped in, and the only time it will give an email is if the sender is a guest. Never gives a name. As soon as it recognizes someone as being in the system, it gives me a ticket link and a userid, both of which are useless, as I know where tickets are found, and haven't memorized userids/names to the point where I'd recognize them. No vars available that make a difference, either. -
New ticket notification to admins, customize?
pRieStaKos replied to bear's topic in Admin & Configuration Questions
Go to Configuration > Notifications and create a Notification Rule for New Ticket. Make sure you got Notification Message template in Email Templates > Notification Messages
