Juanzo Posted September 21, 2011 Share Posted September 21, 2011 You can find instructions and and demostration video at http://blog.admod.com/2011/09/20/zendesk-remote-authentication-via-whmcs-with-autologin/. We have it running for a while and it works great! 0 Quote Link to comment Share on other sites More sharing options...
kroundtree Posted September 23, 2011 Share Posted September 23, 2011 I'm also very interested in Zendesk integration. 0 Quote Link to comment Share on other sites More sharing options...
sandbag Posted February 18, 2013 Share Posted February 18, 2013 Hi everyone - the Zendesk integration at http://blog.admod.com/2011/09/20/zendesk-remote-authentication-via-whmcs-with-autologin/ Works very nicely. However, to get it to work with WHMCS 5.1.x and later, you will need to change the method employed to calculate the value for $_SESSION['upw'] Whereas before it was derived as: md5($results2['userid'] . $results2['password'] . $_SERVER['REMOTE_ADDR']) It must now be derived as: sha1($results2['userid'] . $results2['password'] . $_SERVER['REMOTE_ADDR'] . substr(sha1($cc_encryption_hash),0,20)) $cc_encryption_hash is a salt value that is in the main whmcs configuration.php so just include that file at the top of the login script. Just hunt through the login script for 'md5' and you will find the two locations where you must change the code. Happy days! 0 Quote Link to comment Share on other sites More sharing options...
aazcast Posted June 14, 2013 Share Posted June 14, 2013 Hi, With sha1($results2['userid'] . $results2['password'] . $_SERVER['REMOTE_ADDR'] . substr(sha1($cc_encryption_hash),0,20)) i don't know where to put that. $cc_encryption_hash is a salt value that is in the main whmcs configuration.php so just include that file at the top of the login script. can you be more specific? 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.