it4orce Posted May 15, 2011 Share Posted May 15, 2011 Hi there, I am trying to create a custom button on the clientareahome.tpl page that will log the user directly into another service. The code looks like this : <div align="center"><form action="http://urlofserver.com/index.php" method="post" target="_blank"> <input type="hidden" name="username" value="USERNAME" /> <input type="hidden" name="password" value="PASSWORD" /> <input type="submit" value="Login to Service X" /> How can i pull the current users information from {$client_first_name} and {$service_password}, in the php code. Is this called 'hooks' ? Thanks for any help, Shawn 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted May 15, 2011 Share Posted May 15, 2011 http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=3 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.