Integration with Wordpress MU / BuddyPress

Open / wp-content / themes / default / footer.php ( "default" is the template name change this with your template name, if you are using BuddyPress make changes to the bp-sn-parent template footer )

add to the end just before </body></html> the code:

 <script type="text/javascript" src="http://www.footerchat.com/chat/cons.js"></script>
<script type="text/javascript" >
autoLogin('<? echo wt_get_user_name(); ?>');
</script>
<?
function wt_get_user_name()
{
global $userdata;
get_currentuserinfo();
return $userdata->user_login;

} ?>