-
Content Count
24 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout aonap

-
Rank
Junior Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Hi, how do you make the urls work in NGINX mode. What code do we need to make the WHMCS urls friendly work? Thanks
-
Thank you! Legend!
-
The following hook is in place (see below) however the reset button does not seem to work: <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); function hook_ForceEveryoneToLogin($vars) { $client = Menu::context('client'); $validpages = array("login","dologin","clientarea","pwreset"); if (!$client && !in_array($vars['filename'],$validpages)) { header("Location: login.php"); exit; } } add_hook("ClientAreaPage", 1, "hook_ForceEveryoneToLogin"); Thank!
-
It is working! Thank you. Only issue now is when we get the admin ticket replies, it is still showing the full email. We are trying to save space on the DB server, so how do you get rid of the content below? In the support ticket at the backend it shows still parts of the email: From: Sent: To: Subject:
-
aonap started following WHMCS John
-
The code is not working 😕
-
It's not playing any sound and have checked on multiple devices.
-
Sorry don't understand here.
-
@brian! I think it needs to be implemented ASAP, it will really help hosting companies to eliminate bogus accounts/save time/resources. We manually check every order anyway, despite having Maxmind on the system.
-
@brian! What would the hook be to ensure that clients don't close any Abuse/Billing tickets?
-
@wp4all Thank you. That is strange, we do have CDN in place with Stackpath, I will get in touch with them.
-
<?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); /********************* Reply Above This Line Settings *********************/ function ReplyAboveThisLine_settings() { return array( 'breakrow' => "*** Reply above this line ***", // this line will be added to the selected email. * all content below this line will be deleted from the client reply. ); } /********************/ function ReplyAboveThisLine_cleanReply($vars) { $settings = ReplyAboveThisLine_settings(); if(strpos($vars['message'], $settings['breakrow']) !== false) { list($message) = explode($settings['breakrow'], $vars['message']); Capsule::connection()->statement("UPDATE tblticketreplies SET message = '" . mysql_real_escape_string(trim($message)) . "' WHERE id = '" . intval($vars['replyid']) . "'"); } } function ReplyAboveThisLine_addBreakRow($vars) { return ReplyAboveThisLine_settings(); } add_hook('EmailPreSend', 0, 'jetserverReplyAboveThisLine_addBreakRow'); add_hook('TicketUserReply', 0, 'jetserverReplyAboveThisLine_cleanReply'); use Illuminate\Database\Capsule\Manager as Capsule; ?> Is the above correct?
-
This does not work on the latest WHMCS? Suggestions?
-
I'm also keen on knowing how to prevent enders from reopening closed tickets.
-
Hi, Is there a hook to stop end users from closing tickets from abuse or billing teams? I've just been recommended the following plugin, but wondered if there is a simple hook. Thank you
-
Would it be possible to get an updated hook? It would be useful to have it for when tickets regarding billing/abuse we would not want the end user to be able to close them.