willow Posted February 7, 2007 Share Posted February 7, 2007 Is it possible to restrict the downloads area to registered customers only please? 0 Quote Link to comment Share on other sites More sharing options...
DataHosts Posted February 7, 2007 Share Posted February 7, 2007 Not that I am aware of. You could take the link out of homepage.tpl and then add a link on header.tpl to do this. header.tpl is only seen when a client logins to their account, and thus only members would be able to do so. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 7, 2007 WHMCS CEO Share Posted February 7, 2007 Yes, it is possible by using the {if $loggedin} variable in the template file. 0 Quote Link to comment Share on other sites More sharing options...
willow Posted February 7, 2007 Author Share Posted February 7, 2007 Thanks to both of you Could you explain how to do that in more detail please Matt? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 7, 2007 WHMCS CEO Share Posted February 7, 2007 Just do something like this: {if $loggedin} Display downloads page contents {else} You must login to view our downloads {/if} 0 Quote Link to comment Share on other sites More sharing options...
willow Posted February 7, 2007 Author Share Posted February 7, 2007 Just do something like this: {if $loggedin} Display downloads page contents {else} You must login to view our downloads {/if} Im sorry Matt, could you tell me which tpl file or other file that needs to go in please? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 7, 2007 WHMCS CEO Share Posted February 7, 2007 Well if it's the downloads page you want to restrict access to then it would be the downloads.tpl template file. 0 Quote Link to comment Share on other sites More sharing options...
willow Posted February 7, 2007 Author Share Posted February 7, 2007 Well if it's the downloads page you want to restrict access to then it would be the downloads.tpl template file. I cant get it to work and all oddly my template now looks odd in FF Matt, if i order your integration service so that you can make a better job of it than i have, is there any chance you could also implement this feature for me please? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 7, 2007 WHMCS CEO Share Posted February 7, 2007 Hi willow, Yes, I would be able to add that for you. Matt 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.