edvan.com.br Posted May 27, 2014 Share Posted May 27, 2014 (edited) Hi, Create a file called getkudos.php (or any name you want) copy the code below: <? /* Hook Widget GetKudos ( https://getkudos.me/ ) para WHMCS. WHMCS.blog.br - Edvan Sampaio */ if (!defined("WHMCS")) die("Acesso restrito!"); function getkudos($vars) { $getkudos='whmcs'; //insert your brand/id getkudos $js = ' <!-- Start of GetKudos Script --> <script> (function(w,t,gk,d,s,fs){if(w[gk])return;d=w.document;w[gk]=function(){ (w[gk]._=w[gk]._||[]).push(arguments)};s=d.createElement(t);s.async=!0; s.src=\'//static.getkudos.me/widget.js\';fs=d.getElementsByTagName(t)[0]; fs.parentNode.insertBefore(s,fs)})(window,\'script\',\'getkudos\'); getkudos(\'create\', \''.$getkudos.'\'); </script> <!-- End of GetKudos Script --> '; return $js; } add_hook("ClientAreaFooterOutput",1,"getkudos"); ?> Change the brand/id getkudos you created! $getkudos='whmcs'; //insert your brand/id getkudos Save the changes and send the file to the /includes/hooks/ Link http://www.whmcs.blog.br/personalizacao/getkudos-para-whmcs/ Done! Edited May 27, 2014 by edvan.com.br Updated "ClientAreaFooterOutput" 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 27, 2014 Share Posted May 27, 2014 i think this should be moved to User-Contributions forum, any way thank you for sharing. you may also submit it to WHMCS App Store so others can search and download easily as many look into app store first. also you can replace ("ClientAreaHeadOutput") with ("ClientAreaFooterOutput") 0 Quote Link to comment Share on other sites More sharing options...
edvan.com.br Posted May 27, 2014 Author Share Posted May 27, 2014 i think this should be moved to User-Contributions forum, any way thank you for sharing. you may also submit it to WHMCS App Store so others can search and download easily as many look into app store first. also you can replace ("ClientAreaHeadOutput") with ("ClientAreaFooterOutput") I appreciate your suggestions! I've done the replacement for "ClientAreaFooterOutput". 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.