DavidBee Posted April 22, 2013 Share Posted April 22, 2013 Hi All, I was wondering who here has a different theme for WHMCS when the users are logged in? We make some slight changes but nothing major. 0 Quote Link to comment Share on other sites More sharing options...
MemoryX2 Posted April 22, 2013 Share Posted April 22, 2013 I personally do not, but it would be possible I think. 0 Quote Link to comment Share on other sites More sharing options...
DavidBee Posted April 22, 2013 Author Share Posted April 22, 2013 Yes it can be done very simply. Have two style sheets. We are thinking of going more down a route thats more like an "admin" theme rather than having a universal website style. 0 Quote Link to comment Share on other sites More sharing options...
MemoryX2 Posted April 22, 2013 Share Posted April 22, 2013 Yes it can be done very simply. Have two style sheets. We are thinking of going more down a route thats more like an "admin" theme rather than having a universal website style. That's an interesting idea. We just launched a WordPress integration of our website. Well an updated integration. It is semi mobile responsive. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted April 23, 2013 Share Posted April 23, 2013 Just curious - Are you wanting to define the template by the email address that's logged in, or just a separate template from the primary site once a user is logged in 0 Quote Link to comment Share on other sites More sharing options...
DavidBee Posted April 23, 2013 Author Share Posted April 23, 2013 Just a separate site to the logged in clients. I have only seen one provider so far do this. 0 Quote Link to comment Share on other sites More sharing options...
Hammad Mahar Posted January 11, 2023 Share Posted January 11, 2023 Use the following code I used it in case kept Hostiko as default theme and used Lagom for client area only . <?php add_hook('UserLogin', 1, function($vars) { header("Location: https://example.com/clientarea.php?systpl=lagom2"); die; }); add_hook('UserLogout', 1, function($vars) { header("Location: https://example.com/index.php?systpl=hostiko"); die; }); 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.