View Full Version : Support Tickets
xxkylexx
08-22-06, 01:24 AM
I notice that when someone clicks "Submit Ticket" in the main WHMCS page, anyone is able to send it in. I think that this section should be reserved for customers only (like in 2.4). The piping of the emails is how guests send in tickets.
Anyone?
Kyle
Why not just hide the link from users that arent logged in? Its not a perfect, but its a good start.
{if $loggedin}
SHOW LINK
{/if}
Im going by memory, so i could be wrong on the exact variable name.
xxkylexx
08-22-06, 05:35 AM
Sounds great.
xxkylexx
08-22-06, 05:44 AM
If anyone esle is interested in this, here's a quick fix for "supportticketsubmit-stepone.tpl":
{if $loggedin}
{$LANG.supportticketsheader}</p>
<ul>
{foreach key=num item=department from=$departments}
{$department.name} ({$SERVER.PHP_SELF}?step=2&deptid={$department.id})
{/foreach}
[/list]
{else}
{php}
header("location: clientarea.php");
{/php}
{/if}
Kyle
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.