mattpark Posted March 30, 2008 Share Posted March 30, 2008 Hi All, As part of our new install, I am wanting to "lock down" the whmcs install. By this, I mean if someone was to visit the usual root directory of our whmcs install the only links they would be given are: Order a new service. (/cart.php) Login to your client area. (/clientarea.php) This can probably be accomplished by modifying the index .tpl file However, users can still directly visit other pages like: knowledgebase.php announcements.php downloads.php domainchecker.php serverstatus.php Any one know how I can make these a log in requirement to view? "You must login to access this page. These login details differ from your websites control panel username and password." My end goal is to have everything except the order process, only accessible via the client area. Cheers, Matt 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted March 30, 2008 Share Posted March 30, 2008 http://wiki.whmcs.com/Template_Syntax 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted March 30, 2008 Share Posted March 30, 2008 If you edit the relevant template you can do something like: {if $loggedin} *PAGE CONTENT GOES HERE* {else} You must login to access this page. These login details differ from your websites control panel username and password. {/if} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.