hamzagillani
Forum Replies Created
-
Forum: Plugins
In reply to: [JS Help Desk – AI-Powered Support & Ticketing System] Auto logout timeHi,
Please open support ticket at jshelpdesk.com.
Regards,
Help Desk teamHi,
you can change the position of support button from admin configurations. you can also hide the support button from admin configurations.
admin dashboard > configurations > general > Support IconsForum: Plugins
In reply to: [JS Help Desk – AI-Powered Support & Ticketing System] Auto logout timeHi,
in plugins/js-support-ticket/modules/ticket/tpls/ticketdetail.php
Add the following lines of code at the top of the file.
<?php if(!is_user_logged_in()){ ?>
<body onload=”set_interval()” onmousemove=”reset_interval()” onclick=”reset_interval()” onkeypress=”reset_interval()” onscroll=”reset_interval()”>
<script type=”text/javascript”>
var timer = 0;
function set_interval() {
timer = setInterval(“auto_logout()”, 900000);
// the figure ‘900000’ above indicates how many milliseconds the timer be set to.
}
function reset_interval() {
//resets the timer. The timer is reset on each of the below events:
// 1. mousemove 2. mouseclick 3. key press 4. scroliing
if (timer != 0) {
clearInterval(timer);
timer = 0;
timer = setInterval(“auto_logout()”, 900000);
}
}
function auto_logout() {
window.location=”<?php echo jssupportticket::makeUrl(array(‘jstmod’=>’jssupportticket’, ‘jstlay’=>’controlpanel’)) ?>”;
}</script>
<?php } ?>In /plugins/js-support-ticket/modules/ticket/tpls/ticketstatus.php
-> Find the following line of code.
<input class=”inputbox js-ticket-form-input-field required” type=”text” name=”ticketid” id=”ticketid” size=”40″ maxlength=”255″ value=”” required/>
-> And replace with the following one.
<input class=”inputbox js-ticket-form-input-field required” type=”password” name=”ticketid” id=”ticketid” size=”40″ maxlength=”255″ value=”” required/>
Hi,
In JS Help Desk when a user submits a ticket to SAT or a SAT submits a ticket for the user then both user and SAT received an email about ticket. The purpose of the emails is that you can check the ticket status and details about the ticket. If you are talking about this then this is not a problem.