Jump to content

Recommended Posts

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 by edvan.com.br
Updated "ClientAreaFooterOutput"
Link to comment
Share on other sites

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".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated