1 [Share] Chatbox tự động đăng nhập có thỉnh thầy, đóng mở member ko lỗi, Buzz rung full CB 5/1/2013, 09:02
Gió Vô Cảm
Administrator
Demo:
Cách làm:
Bước 1: ACP -> Modules -> Chatbox -> Cấu hình diễn đàn:
Activate the ChatBox : Có
ChatBox display : Do not display
Bước 2: Tạo 1 trang HTML mới tải tập tin dưới lấy code và nhét nó vào:
Bước 3: vào index_body tìm:
Dán code sau vào bên dưới:
Tại
thay h2- bằng trang HTML vừa tạo ở bước 2.
Cách làm:
Bước 1: ACP -> Modules -> Chatbox -> Cấu hình diễn đàn:
Activate the ChatBox : Có
ChatBox display : Do not display
Bước 2: Tạo 1 trang HTML mới tải tập tin dưới lấy code và nhét nó vào:
Bước 3: vào index_body tìm:
- Code:
{CHATBOX_TOP}
Dán code sau vào bên dưới:
- Code:
<!-- BEGIN switch_user_logged_in -->
<div class="module main" style="margin-top: 1em! important;">
<div class="main-head">
<font size="5">Tán ngẫu chung</font>
<div class="main-content">
<iframe width="0%" height="0px" frameborder="0" id="chatfmvi" onload="firstchatfmvi()" src="/chatbox/index.forum?archives=1" onerror="firstchatfmvi()" style="margin: 2px;"></iframe>
<iframe width="100%" height="340px" frameborder="0" id="chatfmvi" onload="firstchatfmvi()" src="/h2-" onerror="firstchatfmvi()" style="margin: 2px;"></iframe>
<script type="text/javascript">
function firstchatfmvi() {
setTimeout(function () {
if ($("#chatfmvi").contents().find("#chatbox_option_disco").css("display") == "none") {
$("#chatfmvi")[0].contentWindow.CB_disconnect()
}
}, 2000);
}
</script>
</div></div>
<!-- END switch_user_logged_in -->
Tại
- Code:
<iframe width="100%" height="340px" frameborder="0" id="chatfmvi" onload="firstchatfmvi()" src="/h2-" onerror="firstchatfmvi()" style="margin: 2px;"></iframe>
thay h2- bằng trang HTML vừa tạo ở bước 2.
Style CB by: Khánh Kul ( Gió Vô Cảm) - Việt FM - TeaM 2013