goodgirl Posted September 5, 2007 Share Posted September 5, 2007 Is there a way to make the Server Status area only work if the client is logged in? Like the Affiliate section does. 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted September 5, 2007 Share Posted September 5, 2007 Look at this post http://www.whmcs.com/forums/viewtopic.php?t=4619&postdays=0&postorder=asc&start=15 0 Quote Link to comment Share on other sites More sharing options...
goodgirl Posted September 5, 2007 Author Share Posted September 5, 2007 Thank you Worked great. I searched for server status clients only, server status, server status private. I couldn't seem to find anything related. 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted September 5, 2007 Share Posted September 5, 2007 Sure, no Problem. 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted September 5, 2007 Share Posted September 5, 2007 You should note that whomever created that script, didn't remember to remove the "not logged in" text. Because of that you'll see "You must be logged in to check if any of the services on our servers are down or to check your individual server status. To locate the server name you are on, please view your hosting account" while you are logged in, and not logged into the client area. To hide that text, you should have it look like this: {if !$loggedin} You must be logged in to check if any of the services on our servers are down or to check your individual server status. To locate the server name you are on, please view your hosting account{/if} 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted September 5, 2007 Share Posted September 5, 2007 This is how it works for us we get a blank page your way {if !$loggedin}You must be logged in to check if any of the services on our servers are down or to check your individual server status. {else}{if $loggedin}To locate the server name you are on, please view your hosting account details. {/if} 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted September 5, 2007 Share Posted September 5, 2007 That's because I didn't include any other parts in it I only included the way to REMOVE that text when a user is logged in and viewing the server status page. The rest is up to you to configure and fix according to the snippet that someone created. 0 Quote Link to comment Share on other sites More sharing options...
Joweb Posted September 5, 2007 Share Posted September 5, 2007 We posted it sorry for the confusion. 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.