Khung Đăng Nhập kéo thả và Chatbox Iphone/Ipad kéo thả pro cho vbb Ninja9x.Net đang dùng
nhiều bạn xin rồi nhưng vì nhác vào teamplates tách code nên cứ thất hứa mãi
, giờ share luôn để mọi người khỏi mong 
demo: http://4r.ninja9x.net
Demo ảnh chức năng và công dụng trước và sau khi đăng nhập:

Vào template header thay toàn bộ code trong đó bằng code dưới đây:
Download, giải nén và upload thư mục khungdangnhap ngang hàng admincp 
-----------------------------------------------------------------
demo: http://4r.ninja9x.net
Demo ảnh chức năng và công dụng trước và sau khi đăng nhập:
Vào template header thay toàn bộ code trong đó bằng code dưới đây:
<!--[if lte IE 6]> <script type="text/javascript" src="khungdangnhap/js/supersleight-min.js"></script> <![endif]--> <script type="text/javascript" src="khungdangnhap/js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="khungdangnhap/js/slide.js"></script> <link rel="stylesheet" href="khungdangnhap/css/slide.css" type="text/css" media="screen" /> <!-- Panel --> <div id="toppanel"> <div id="slide2"> <div class="content"> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td style="width:460px;"> <div class="left"> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td><img class="verticalAlign" src="khungdangnhap/images/logo.png" /></td> <td> <vb:if condition="$show['guest']"> <h1>Welcome to Ninja9x.Net</h1> <div style="padding-top:5px;"><h2> » Để có thể tham gia thảo luận, các bạn phải đăng ký hay Ghi Danh làm thành viên, <strong><a href="register.php?">Click Vào Đây Để Đăng Ký</a></strong>.<br> » Mọi chi tiết xin liên hệ <b><font color="blue">Admin: </font></b><a href="mailto:ninjachuoi@gmail.com"><font color="red"><b>Andy Crush</b></font></a></h2> </vb:if> <vb:if condition="$show['member']"> <h1>User Control Panel</h1> <h2> <div style="padding-bottom:10px;"></div> <div class="smallfont"><strong>» <a href="profile.php?do=editavatar"><b>Edit your avatar</b></a></strong></div> <div style="padding-bottom:3px;"></div> <div class="smallfont"><strong>» <a href="profile.php?do=editsignature"><strong><b>Edit your signature</b></a></strong></div> <div style="padding-bottom:3px;"></div> <div class="smallfont"><strong>» <a href="profile.php?do=editpassword"><b>Edit your email and password</b></a></strong></div> <div style="padding-bottom:3px;"></div> <div class="smallfont"><strong>» <a href="profile.php?do=editoptions"><b>Edit options</b></a></strong></div> <div style="padding-bottom:3px;"></div></h2> </vb:if> </td> </tr></table> </div> </div> </td> <td> <div class="right"> <div style="padding-left:40px;width:300px;"> <vb:if condition="$show['member']"> <h1>Ninja9x.Net <a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a><img class="imgp" src="khungdangnhap/images/logout.png" /></a> </h1> <ul class="isuser"> <b><li>{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.musername}, {vb:link member, {vb:raw bbuserinfo}}}</li></b> <SCRIPT LANGUAGE="JavaScript"> <!-- // Store the date in a variable d = new Date() dateText = "" // Get the current day and convert it to the name of the day dayValue = d.getDay() if (dayValue == 0) dateText += "Chủ Nhật" else if (dayValue == 1) dateText += "Thứ Hai" else if (dayValue == 2) dateText += "Thứ Ba" else if (dayValue == 3) dateText += "Thứ Tư" else if (dayValue == 4) dateText += "Thứ Năm" else if (dayValue == 5) dateText += "Thứ Sáu" else if (dayValue == 6) dateText += "Thứ Bảy" // Get the current month and convert it to the name of the month monthValue = d.getMonth() dateText += " " if (monthValue == 0) dateText += "Tháng 1" if (monthValue == 1) dateText += "Tháng 2" if (monthValue == 2) dateText += "Tháng 3" if (monthValue == 3) dateText += "Tháng 4" if (monthValue == 4) dateText += "Tháng 5" if (monthValue == 5) dateText += "Tháng 6" if (monthValue == 6) dateText += "Tháng 7" if (monthValue == 7) dateText += "Tháng 8" if (monthValue == 8) dateText += "Tháng 9" if (monthValue == 9) dateText += "Tháng 10" if (monthValue == 10) dateText += "Tháng 11" if (monthValue == 11) dateText += "Tháng 12" // Get the current year; if it's before 2000, add 1900 if (d.getYear() < 2000) dateText += " " + d.getDate() + ", " + (1900 + d.getYear()) else dateText += " " + d.getDate() + ", " + (d.getYear()) // Get the current minutes minuteValue = d.getMinutes() if (minuteValue < 10) minuteValue = "0" + minuteValue // Get the current hours hourValue = d.getHours() // Customize the greeting based on the current hours if (hourValue <= 11 && hourValue >=5) { greeting = "Chúc buổi sáng tốt lành!" timeText = " - " + hourValue + ":" + minuteValue + " AM" } else if (hourValue > 11 && hourValue <=13) { greeting = "Chào buổi trưa - Bạn ăn cơm chưa vậy ?" timeText = " - " + hourValue + ":" + minuteValue + " PM" } else if (hourValue > 13 && hourValue <= 17) { greeting = "Chúc bạn một buổi chiều ấm áp!" timeText = " - " + (hourValue-12) + ":" + minuteValue + " PM" } else if (hourValue > 17 && hourValue <=19) { greeting = "Chúc bạn bữa tối ngon miệng" timeText = " - " + (hourValue-12) + ":" + minuteValue + " PM" } else if (hourValue > 19 && hourValue <=21) { greeting = "Buổi tối vui vẻ nha bạn" timeText = " - " + (hourValue-12) + ":" + minuteValue + " PM" } else if (hourValue > 21 && hourValue ==24) { greeting = "Chúc bạn ngủ ngon và có giấc mơ đẹp" timeText = " - " + (hourValue-12) + ":" + minuteValue + " PM" } else if (hourValue >= 1 && hourValue <=3) { greeting = "Khuya rồi đấy. Bạn chưa ngủ à?" timeText = " - " + hourValue + ":" + minuteValue + " AM" } else { greeting = "Bạn chuẩn bị đón bình minh nào!" timeText = " - " + hourValue + ":" + minuteValue + " AM" } // Write the greeting, the date, and the time to the page document.write(greeting) //--> </SCRIPT> <vb:if condition="$notifications_total"> <li class="popupmenu notifications" id="notifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a> <ul class="popupbody popuphover"> {vb:raw notifications_menubits} </ul> </li> <vb:else /> <li class="popupmenu nonotifications" id="nonotifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a> <div class="popupbody popuphover"> <p>{vb:rawphrase no_new_messages}</p> <p><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></p> </div> </li> </vb:if> <li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li> <li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase control_panel}</a></li> <vb:if condition="$show['registerbutton']"> <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li> </vb:if> </ul> <vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment> <vb:else /> <ul class="nouser"> <!-- login form --> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=384"></script> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="left"> <tr> <td style="padding-left:40px;"> <h2><b>User Name</b></h2> <div class="loginBoxInput"> <input id="navbar_username" class="logininput" type="text" onblur="if (this.value == '') this.value = 'User Name';" onfocus="if (this.value == 'User Name') this.value = '';" value="User Name" tabindex="101" accesskey="u" size="20" name="vb_login_username"/> </div> <br /><br /> <h2><b>Password</b></h2> <div class="loginBoxInput"> <input id="navbar_password" class="logininput" type="password" onblur="if (this.value == '') this.value = 'Password';" onfocus="if (this.value == 'Password') this.value = '';" value="Password" tabindex="102" size="20" name="vb_login_password" /> </div> </td> <td style="padding-left:30px;"> <div><input class="verticalAlign" type="image" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" src="khungdangnhap/images/login.png" /></div> <div class="remem"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked=checked"/> {vb:rawphrase remember_me}</label></div> <div style="padding-bottom:10px;"></div> <div class="smallfont"><strong>» <a href="login.php?do=lostpw" target=_blank><b>Forgotten Your Password?</b></a></strong></div> <div style="padding-bottom:3px;"></div> <div class="smallfont"><strong>» <a href="sendmessage.php" target=_blank><b>Can Not Active Account?</b></a></strong></div> </td> </tr> </table> <input type="hidden" name="s" value="9c66b0086628a00af7df6767f1b3ca98" /> <input type="hidden" name="securitytoken" value="guest" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </vb:if> </div> </td> </tr> </table> </td> </tr> </div> </div> <!-- The tab on top --> <div class="tab"> <ul class="login"> <li class="left"> </li> <li id="toggle"> <vb:if condition="$show['member']"> <a id="open" class="open" ><strong>Manage - Quản Lí</strong></a> </vb:if> <vb:if condition="$show['guest']"> <a id="open" class="open" ><strong>Đăng Ký - Đăng Nhập</strong></a> </vb:if> <a id="close" style="display: none;" class="close" ><strong>Close - Đóng Lại</strong></a> </li> <li class="right"> </li> </ul> </div> <!-- / top --> </div><!--panel --> <div style="position: absolute; width: 830px; height: 196px; z-index: 1; left: 130px; top: 32px"> <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"> <param name="movie" value="khungdangnhap/butterfly.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent"> <embed src="khungdangnhap/butterfly.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="830" height="196"></embed> </object> </div> <div class="above_body"> <div id="header" class="floatcontainer doc_header"> {vb:raw ad_location.ad_header_logo} <div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> <div id="toplinks" class="toplinks"> </div> <div class="ad_global_header"> {vb:raw ad_location.global_header1} {vb:raw ad_location.global_header2} </div> <hr /> {vb:raw ad_location.ad_header_end} </div>
demo online: http://4r.ninja9x.net/forum.php
Demo ảnh:
Cái này do mụ vn.chemgio chế ra, mình thấy nó có khung chat hơi nhỏ ( iphone Tàu thì phải
) nên chế thêm cho nó to như Ipad chat cho sướng
, fix luôn lỗi ko chat đc giúp mụ, tí mụ vào ko nhấn thanks ta véo má chết 
Đọc kỹ hướng dẫn sử dụng trước khi dùng, không dành cho phụ nữ mang thai mà không cho con bú
Bước 1: cài mod này [VBB4] ChangUonDyU - Extra File Chatbox 3.6.0
Ai cài rồi thì thôi, nếu rảnh thì gỡ ra cài lại cho vui chứ cũng chả đc gì
Bước 2: Vào admincp => Plugin & Produce => Plugin Manager => Tìm đến Plugin ChangUonDyu - Extra File ChatBox - Global
Thay cả đám đó bằng
Bước 3: Vào admincp => Style & Template => Chọn skin cần sửa => chọn template header thêm đoạn sau vào dưới cùng ( nếu ko muốn hiện cả 4rum àm chỉ ở trang chủ thì thay template header bằngforumhome 
Bước 4: Vào admincp => Style & Template => Chọn skin cần sửa => chọn templatechanguondyu_extrachatbox_main thay bằng
Bước 6: upload thư mục slidechatbox lên ngang hàng admincp

Bước 7: Chiêm ngưỡng thành quả và nhấn thanks
Edit by manhtuantn
12-02-2012 FIX LỖI KHÔNG BUZZ ĐƯỢC VỚI NHỮNG CHATBOX CÓ SỬ DỤNG BUZZ ADDON (Bạn nào bị lỗi này thì thay lại template changuondyu_extrachatbox_main ở trên nhé) - Fix by manhtuantn
Demo ảnh:
Cái này do mụ vn.chemgio chế ra, mình thấy nó có khung chat hơi nhỏ ( iphone Tàu thì phải
Đọc kỹ hướng dẫn sử dụng trước khi dùng, không dành cho phụ nữ mang thai mà không cho con bú
Bước 1: cài mod này [VBB4] ChangUonDyU - Extra File Chatbox 3.6.0
Ai cài rồi thì thôi, nếu rảnh thì gỡ ra cài lại cho vui chứ cũng chả đc gì
Bước 2: Vào admincp => Plugin & Produce => Plugin Manager => Tìm đến Plugin ChangUonDyu - Extra File ChatBox - Global
Thay cả đám đó bằng
global $vbulletin; if ($vbulletin->options['fcb_turn']) { $colorlist = preg_replace("#(\r\n|\r|\n)#s","#",$vbulletin->options['fcb_colorlist']); $colorlist = explode('#',$colorlist); foreach ($colorlist AS $ccolor) { $fcb_colorlist .= "<option style='background: $ccolor;' value='$ccolor'>$ccolor</option>"; } $fontlist = preg_replace("#(\r\n|\r|\n)#s","#",$vbulletin->options['fcb_fontlist']); $fontlist = explode('#',$fontlist); foreach ($fontlist AS $cfont) { $fcb_fontlist .= "<option style='font: $cfont;' value='$cfont'>$cfont</option>"; } //////////////// FUNCTION //////////// function checkexgralt($grouplist) { global $vbulletin; $groupl = explode(",", $grouplist); if (in_array($vbulletin->userinfo['usergroupid'], $groupl)) { return true; } else { return false; } } $groupcode = explode(' ', $vbulletin->options['fcb_groupcode']); foreach($groupcode as $item) { $item = explode(':', $item); if ($item[0] == $vbulletin->userinfo['usergroupid']) { $fcb_gcode = $item[1]; break; } } $fcb_musername = rawurlencode($vbulletin->userinfo['musername']); $fcb_chatboxkey = md5($vbulletin->userinfo['userid'].$vbulletin->options['fcb_chatboxkey'].$vbulletin->userinfo['usergroupid'].md5($vbulletin->userinfo['musername'].$vbulletin->options['fcb_chatboxkey'])); $notcanshoutalt = checkexgralt($vbulletin->options['fcb_groupnoshout']); if (!checkexgralt($vbulletin->options['fcb_groupnoview'])) { $temp = vB_Template::create('changuondyu_extrachatbox_editor'); $temp->register('fcb_colorlist', $fcb_colorlist); $temp->register('fcb_fontlist', $fcb_fontlist); $temp->register('notcanshoutalt', $notcanshoutalt); $fcb_editor = $temp->render(); $temp = vB_Template::create('changuondyu_extrachatbox_main'); $temp->register('fcb_editor', $fcb_editor); $temp->register('fcb_chatboxkey', $fcb_chatboxkey); $temp->register('fcb_musername', $fcb_musername); $tempvars['changfcb'] = $temp->render(); vB_Template::preRegister('header', $tempvars); } }
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <link rel="stylesheet" href="slidechatbox/slide.css" type="text/css"> <script type="text/javascript"> //jQuery.noConflict(); jQuery(function (){ jQuery(".slide_likebox").hover(function(){ jQuery(".slide_likebox").stop(true, false).animate({left:"0"},"medium"); },function(){ jQuery(".slide_likebox").stop(true, false).animate({left:"-602"},"medium"); },500); return false; }); </script> <div style="left: -602px;" class="slide_likebox"> <div style="color: rgb(255, 255, 255); padding: 20px 25px 25pt 00px;"> <span> <table width="602" > {vb:raw changfcb} </table> </span></div></div></div>
Bước 4: Vào admincp => Style & Template => Chọn skin cần sửa => chọn templatechanguondyu_extrachatbox_main thay bằng
<h2> <center><span class="forumtitle">{vb:phrase fcb_title}</span></center> </h2> </div> <table width="505px" style="margin-left:98px;background:white;margin-top:0px"> <vb:if condition="!$vboptions[fcb_editor_bottom]">{vb:raw fcb_editor}</vb:if> <tr><td style="padding: 6px; border-top: 1px solid #f4f4f4; border-bottom: 1px solid #f4f4f4;"> <iframe name="fcb_frame" src="{vb:raw vboptions.fcb_path}/index.php" frameborder="0" style="width: 100%; height: {vb:raw vboptions.fcb_boxheight};"></iframe> </td> </tr> <vb:if condition="$vboptions[fcb_editor_bottom]">{vb:raw fcb_editor}</vb:if> </table> </div> </li> </ol> </div> <script language="JavaScript" type="text/javascript"> var textstyle = document.getElementById('hmess'); <vb:if condition="$vboptions[fcb_turnbold]"> if (fcb_getCookie('fcb_b_userid{vb:raw bbuserinfo.userid}').length > 0) { document.fcb_form.hbold.value = fcb_getCookie('fcb_b_userid{vb:raw bbuserinfo.userid}'); } </vb:if> <vb:if condition="$vboptions[fcb_turnitalic]"> if (fcb_getCookie('fcb_i_userid{vb:raw bbuserinfo.userid}').length > 0) { document.fcb_form.hitalic.value = fcb_getCookie('fcb_i_userid{vb:raw bbuserinfo.userid}'); } </vb:if> <vb:if condition="$vboptions[fcb_turnunderline]"> if (fcb_getCookie('fcb_u_userid{vb:raw bbuserinfo.userid}').length > 0) { document.fcb_form.hunderline.value = fcb_getCookie('fcb_u_userid{vb:raw bbuserinfo.userid}'); } </vb:if> <vb:if condition="$vboptions[fcb_turnfont]"> if (fcb_getCookie('fcb_font_userid{vb:raw bbuserinfo.userid}').length > 0) { document.fcb_form.hfont.value = fcb_getCookie('fcb_font_userid{vb:raw bbuserinfo.userid}'); } </vb:if> <vb:if condition="$vboptions[fcb_turncolor]"> if (fcb_getCookie('fcb_color_userid{vb:raw bbuserinfo.userid}').length > 0) { document.fcb_form.hcolor.value = fcb_getCookie('fcb_color_userid{vb:raw bbuserinfo.userid}'); } </vb:if> fcb_upstyle_cookie(); function fcb_upstyle_cookie() { if (document.fcb_form.hbold.value == 'B*') { textstyle.style.fontWeight = 'bold'; } else { textstyle.style.fontWeight = 'normal'; } if (document.fcb_form.hitalic.value == 'I*') { textstyle.style.fontStyle = 'italic'; } else { textstyle.style.fontStyle = 'normal'; } if (document.fcb_form.hunderline.value == 'U*') { textstyle.style.textDecoration = 'underline'; } else { textstyle.style.textDecoration = 'none'; } textstyle.style.fontFamily = document.fcb_form.hfont.value; textstyle.style.color = document.fcb_form.hcolor.value; } function fcb_upstyle(element) { if (element == 'b') { if (document.fcb_form.hbold.value == 'B') { document.fcb_form.hbold.value = 'B*'; textstyle.style.fontWeight = 'bold'; } else { document.fcb_form.hbold.value = 'B'; textstyle.style.fontWeight = 'normal'; } } else if (element == 'i') { if (document.fcb_form.hitalic.value == 'I') { document.fcb_form.hitalic.value = 'I*'; textstyle.style.fontStyle = 'italic'; } else { document.fcb_form.hitalic.value = 'I'; textstyle.style.fontStyle = 'normal'; } } else if (element == 'u') { if (document.fcb_form.hunderline.value == 'U') { document.fcb_form.hunderline.value = 'U*'; textstyle.style.textDecoration = 'underline'; } else { document.fcb_form.hunderline.value = 'U'; textstyle.style.textDecoration = 'none'; } } else if (element == 'font') { textstyle.style.fontFamily = document.fcb_form.hfont.value; } else if (element == 'color') { textstyle.style.color = document.fcb_form.hcolor.value; } fcb_setCookie('fcb_b_userid{vb:raw bbuserinfo.userid}', document.fcb_form.hbold.value); fcb_setCookie('fcb_i_userid{vb:raw bbuserinfo.userid}', document.fcb_form.hitalic.value); fcb_setCookie('fcb_u_userid{vb:raw bbuserinfo.userid}', document.fcb_form.hunderline.value); fcb_setCookie('fcb_font_userid{vb:raw bbuserinfo.userid}', document.fcb_form.hfont.value); fcb_setCookie('fcb_color_userid{vb:raw bbuserinfo.userid}', document.fcb_form.hcolor.value); } function fcb_setCookie(c_name,value) { exdate = new Date(); exdate.setDate(exdate.getDate()+365); document.cookie=c_name+ "=" +escape(value)+ ";expires="+exdate.toGMTString() + "path={vb:raw vboptions.cookiepath}"; } function fcb_getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } else { return ""; } } } var chatboxkey = '{vb:raw fcb_chatboxkey}'; var huid = '{vb:raw bbuserinfo.userid}'; var hgroupid = '{vb:raw bbuserinfo.usergroupid}'; var huser = "{vb:raw fcb_musername}"; function fcb_postshout() { hmess = document.fcb_form.hmess.value; hcolor = document.fcb_form.hcolor.value; hfont = document.fcb_form.hfont.value; hbold = document.fcb_form.hbold.value; hitalic = document.fcb_form.hitalic.value; hunderline = document.fcb_form.hunderline.value; document.fcb_form.hmess.value = ''; if (hmess == '') { alert('{vb:phrase fcb_typemess}'); } else { fcb_frame.location = '{vb:raw vboptions.fcb_path}/index.php?do=postshout&key=' + chatboxkey + '&userid=' + huid + '&groupid=' + hgroupid + '&username=' + huser + '&message=' + encodeURIComponent(hmess) + '&color=' + hcolor + '&font=' + hfont + '&bold=' + hbold + '&italic=' + hitalic + '&underline=' + hunderline; } } function archivepage() { window.open("{vb:raw vboptions.fcb_path}/archive.php", "fcbarchive", "location=no,scrollbars=yes,width=640,height=480"); } function addsmilie(code) { document.fcb_form.hmess.value = document.fcb_form.hmess.value + code; } function smiliepopup() { window.open("ajax.php?do=fcb_allsmilies", "fcballsmilies", "location=no,scrollbars=yes,width=500,height=500"); } function fcb_showsmilies_action() { if (fcb.handler.readyState == 4 && fcb.handler.status == 200) { document.getElementById('fcb_smiliebox').innerHTML = fcb.handler.responseText; } } function fcb_showsmilies() { document.getElementById('fcb_smiliebox').innerHTML = '{vb:phrase fcb_wait}'; fcb = new vB_AJAX_Handler(true); fcb.onreadystatechange(fcb_showsmilies_action); fcb.send('ajax.php?do=fcb_randomsmilies'); } function fcb_showsmiliebox() { if (document.getElementById('fcb_smilieboxmain').style.display == 'none') { document.getElementById('fcb_smilieboxmain').style.display = 'inline'; fcb_showsmilies(); } else { document.getElementById('fcb_smilieboxmain').style.display = 'none'; } } function fcb_hideshowsmiliebox() { document.getElementById('fcb_smilieboxmain').style.display = 'none'; } function fcb_refresh() { fcb_frame.location = '{vb:raw vboptions.fcb_path}/index.php'; } function fcb_click_buzz() { fcb_frame.location = '{vb:raw vboptions.fcb_path}/index.php?do=postshout&key=' + chatboxkey + '&userid=' + huid + '&groupid=' + hgroupid + '&username=' + huser + '&message=BUZZ!!!&color=red&font=&bold=B*&italic=I&underline=U'; } </script>
Bước 7: Chiêm ngưỡng thành quả và nhấn thanks
Edit by manhtuantn
12-02-2012 FIX LỖI KHÔNG BUZZ ĐƯỢC VỚI NHỮNG CHATBOX CÓ SỬ DỤNG BUZZ ADDON (Bạn nào bị lỗi này thì thay lại template changuondyu_extrachatbox_main ở trên nhé) - Fix by manhtuantn
Nhận xét
Đăng nhận xét