Open up sources/Usercp.php Find & Delete: case '40': $this->shoutbox_settings(); break; case '41': $this->do_shoutbox_settings(); break; //------------------------------ Find & Delete: //*******************************************************************/ //| SHOUTBOX SETTINGS: //| //| Set your preferences for the shoutbox. //*******************************************************************/ function shoutbox_settings() { global $ibforums, $DB, $std, $print, $shoutbox; $this->output .= $this->html->shoutbox_header($this->md5_check); $sbtype1 = ""; $avatars = ""; $stime = ""; $smiliet = ""; $todayst = ""; $topst = ""; $dcolor = ""; if ($this->member['sb_shoutboxtype'] == 0) { $sbtype2 = $this->member['sb_shoutboxtype'] == 0 ? "Regular\nIframe\nPopup" : "Regular\nIframe\nPopup"; } else if ($this->member['sb_shoutboxtype'] == 1) { $sbtype2 = $this->member['sb_shoutboxtype'] == 1 ? "Regular\nIframe\nPopup" : "Regular\nIframe\nPopup"; } else if ($this->member['sb_shoutboxtype'] == 2) { $sbtype2 = $this->member['sb_shoutboxtype'] == 2 ? "Regular\nIframe\nPopup" : "Regular\nIframe\nPopup"; } $avatars .= $this->member['sb_showavatars'] == 1 ? "".$ibforums->lang['yes']."\n".$ibforums->lang['no']."" : "".$ibforums->lang['yes']."\n".$ibforums->lang['no'].""; $stime .= $this->member['sb_showshouttime'] == 1 ? "".$ibforums->lang['yes']."\n".$ibforums->lang['no']."" : "".$ibforums->lang['yes']."\n".$ibforums->lang['no'].""; $DB->query("SELECT * FROM ibf_shoutbox_colors"); while ($cs1 = $DB->fetch_row()) { $dcolor .= "member['sb_defaultcolor'] ? "selected>{$cs1['color']}\n" : ">{$cs1['color']}\n"; } $smiliet .= $this->member['sb_showsmiliest'] == 1 ? "".$ibforums->lang['yes']."\n".$ibforums->lang['no']."" : "".$ibforums->lang['yes']."\n".$ibforums->lang['no'].""; $todayst .= $this->member['sb_showtdshouters'] == 1 ? "".$ibforums->lang['yes']."\n".$ibforums->lang['no']."" : "".$ibforums->lang['yes']."\n".$ibforums->lang['no'].""; $topst .= $this->member['sb_showtpshouters'] == 1 ? "".$ibforums->lang['yes']."\n".$ibforums->lang['no']."" : "".$ibforums->lang['yes']."\n".$ibforums->lang['no'].""; $refresh = $this->member['sb_refresh'] == "" ? "" : ""; if ($shoutbox['usesbcard'] == '1') { $snames[] = array(); for ($i=1; $i<13; $i++) { $snames[$i] = "Style {$i}"; } $style = ""; for ( $i = 1 ; $i < 13 ; $i++ ) { $style .= "member['sb_sbcardstyle'] ? "selected>$snames[$i]" : ">$snames[$i]"; } } $this->output .= $this->html->shoutbox_end( array ( 'sbtype' => $sbtype1.$sbtype2."", 'avatars' => $avatars."", 'stime' => $stime."", 'smiliet' => $smiliet."", 'todayst' => $todayst."", 'topst' => $topst."", 'refresh' => $refresh, 'sbcard' => $style."", 'dcolor' => $dcolor."", ) ); $this->page_title = $ibforums->lang['t_welcome']; $this->nav = array( "".$ibforums->lang['t_title']."" ); } function do_shoutbox_settings() { $this->lib->do_shoutbox_settings(); } Save & Close sources/Usercp.php