danieliser Posted July 15, 2010 Share Posted July 15, 2010 I have been searching for a while and cant seem to find it so if this has been discussed a link to the previous discussion will be fine. Thanks ahead of time. I am running whmcs from a /billing/ subdirectory and have it integrated quite well. I have a login bar on my home page that logs clients into their stuff. I would like it to display links to thier cpanel, webmail, and customer area in place of that login bar if they are logged in. How can i call the whmcs hooks to get the user/password/domain to create the links? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted July 16, 2010 Share Posted July 16, 2010 Actionhooks are designed to trigger functions within whmcs based on certain events, so I do not think that's what you're looking for. However, you could probably get the information you're looking for from the API. You may want to check to see what $_COOKIE is set for whmcs that can tell if a user is logged in or not. 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.