DROP TABLE IF EXISTS `shoutbox`;
CREATE TABLE IF NOT EXISTS `shoutbox` (
 `id` mediumint(9) NOT NULL AUTO_INCREMENT,
 `uid` mediumint(9) NOT NULL,
 `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
 `name` tinytext NOT NULL,
 `text` text NOT NULL,
 UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;


Open your theme/header. php

<script type="text/javascript" src="<?php echo $site_config["SITEURL"]; ?>/backend/java_klappe.js"></script>


Add below:

<script type="text/javascript" src="<?php echo $site_config["SITEURL"]; ?>/js/overlib.js"></script>


Open your theme/theme. CSS and add:

#chatoutput ul {
   list-style: none;
   margin:0px;
   padding:0px;
   font-size: 10pt;
   padding:5px 4px 6px 5px;
 
}

#chat {
overflow: auto;
width: 100%;
height: 550px;
padding: 0px;
background-color: transparent;
}

#chatoutput ul {
   list-style: none;
   margin:0px;
   padding:0px;
   font-size: 10pt;
   padding:5px 4px 6px 5px;
 
}

div.chatoutput {
   /*background:#465151;#323232;*/
   /*background:#8dd1ff;*/
   padding:5px 0px 3px 10px;
   margin:0px;
   color:#ffffff;
   line-height: 150%;
   margin-bottom:2px;
}

div.loader {
background-image: url(images/shoutbox/loading.gif);
background-repeat: no-repeat;
background-position:center center;
width:199px;
height:137px;
}

#chatoutput ul li {

}


#chatoutput ul li span.name {
   display: block;
   background:url(images/shoutbox/bubble.png) no-repeat left;
   padding-left:19px;
 margin-bottom:1px;
   font-weight: normal;
   color:#f5deb3;
}

#chatoutput ul li:hover span.name {
   background:url(images/shoutbox/bubblehover.png) no-repeat left;
 
}

form {
   padding:0px;
   margin:6px;
}

#chatoutput {
   text-align: left;
   margin-right: 0px;
   color: #999;
}
/* swaps edit and delete images on mouse over */
img.EditSwap {
background:url(images/shoutbox/shout_edit_gray.gif) no-repeat bottom;
}
img.EditSwap:hover {
background:url(images/shoutbox/shout_edit.png) no-repeat bottom;
}
img.DeleteSwap {
background:url(images/shoutbox/shout_delete_gray.gif) no-repeat bottom;
}
img.DeleteSwap:hover {
background:url(images/shoutbox/shout_delete.png) no-repeat bottom;
}
/* end of swaping */

img.form {
background:url(images/shoutbox/frame.png) no-repeat;
}
img.form:hover {
background:url(images/shoutbox/frame_hover.png) no-repeat;
}


Open index. PHP and look for:

if ($site_config['SHOUTBOX'] && !($CURUSER['hideshoutbox'] == 'yes')){
       begin_frame(T_("SHOUTBOX"));
       echo '<iframe name="shout_frame" src="shoutbox.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="210" scrolling="no" align="middle"></iframe>';
       printf(T_("SHOUTBOX_REFRESH"), 5)."<br />";
       end_frame();
}


Replace with:

if ($site_config['SHOUTBOX'] && !($CURUSER['hideshoutbox'] == 'yes')){
begin_frame("Shoutbox");
             
       require_once("backend/smilies.php");  
       require_once("shoutfun_new.php");
       
 function smile() {

       print "<div align='center'><table cellpadding='1' cellspacing='1'><tr>";

       global $smilies, $count;
       reset($smilies);

       while ((list($code, $url) = each($smilies)) && $count<13) {
                 print("\n<td><a href=\"javascript: SmileIT('".str_replace("'","\'",$code)."')\">
                               <img border=\"0\" src=\"images/smilies/$url\" alt=\"$code\" /></a></td>");
                         
                 $count++;
       }

       print '<td>&nbsp<a href="javascript:show_hide(\'sextra\');"><img src=./images/down.gif title=more border=0></a></td></tr></table></div>';
 }
function smileextra() {

 global $smilies;
 reset($smilies);

       # getting smilies
       while (list($code, $url) = each($smilies)) {
               print("\n<a href=\"javascript: SmileIT('".str_replace("'","\'",$code)."')\">
                          <img border=\"0\" src=\"images/smilies/$url\" alt=\"$code\" /></a>");

               $count++;
       }

}

?>

<script src="js/shoutbox.js" language="Javascript" type="text/javascript"></script>
<center>

<div id="chat">

 <div id="chatoutput">

         <ul id="outputList">

               <li>
                 <h2 style='padding-left:20px;'>Bienvenue sur notre Shoutbox</h2>
               
                       <center><div class="loader"></div></center>

                 </li>

         </ul>

 </div>
     
</div>


<div id="shoutheader">
       
       <form id="chatForm" name="chatForm" onsubmit="return false;" action="">
     
         <input type="hidden" name="name" id="name" value="<?php echo $CURUSER["username"] ?>" />
         <input type="hidden" name="uid" id="uid" value="<?php echo $CURUSER["id"] ?>" />
         <input type="text" size="100" maxlength="900" name="chatbarText" id="chatbarText" onblur="checkStatus('');" onfocus="checkStatus('active');" />
         <input onclick="sendComment();" type="submit" id="submit" name="submit" value="Envoyer" />
         &nbsp;
         <a href="javascript: PopMoreSmiles('chatForm','chatbarText');">
         <img src="images/smile.gif" border="0" class="form" title="smilies" align="top" alt="" /></a>
       
                     <?php

   
       
       
         if (get_user_class() >= 5) {
 echo ("<a href='javascript:purge(0);''>
     <img src='images/shout/corbeille.png' width=25 onmouseout='javascript:this.src='images/shout/corbeille.png' onmouseover='javascript:this.src='images/corbeille-pleine.png' style='border:0px;' title='Effacer les infos systeme' /></a>");
  }
  ?>
               
         <a href="javascript: Pophistory()">
         <img src="images/shout/quote.gif" border="0" class="form" title="Historique" align="top" alt="" /></a>

         <br />
       
         <div align=center><?php echo smile();?></div><div style="display: none;" id="sextra"><?php echo shoutfun('chatForm','chatbarText',$dossier);?></div><div style="display: none;" id="sextra1"><br><?php echo smileextra();?></div>
       
       </form>

</div>
<script language="Javascript">

function show_hide(sextra)
{
 if(document.getElementById(sextra))
 {
       if(document.getElementById(sextra).style.display == 'none')
       {
         document.getElementById(sextra).style.display = 'inline';
       }
       else
       {
         document.getElementById(sextra).style.display = 'none';
       }
 }
}
function show_hide(sextra1)
{
 if(document.getElementById(sextra1))
 {
       if(document.getElementById(sextra1).style.display == 'none')
       {
         document.getElementById(sextra1).style.display = 'inline';
       }
       else
       {
         document.getElementById(sextra1).style.display = 'none';
       }
 }
}
</script>
</center>
<?php
end_frame();
}                    
//END_AJAX_SHOUTBOX


Put the contents of the archive via your FTP client and read the file  "README. txt " which is available in the. rar
shoutbox.rar
Download