Oº°‘¨ [C]hia [S]ẻ [O]nline ¨‘°ºO
♥️Chào Mừng Các Bạn Ghé Thăm Forum Chia Sẻ Online♥️
Rất mong các bạn đăng ký làm thành viên để cùng
nhau chia sẻ mọi nỗi buồn vui
Chúc các bạn có những phút thư giãn vui vẻ
♥️Welcome to forum Chia Sẻ Online♥️
Oº°‘¨ [C]hia [S]ẻ [O]nline ¨‘°ºO
♥️Chào Mừng Các Bạn Ghé Thăm Forum Chia Sẻ Online♥️
Rất mong các bạn đăng ký làm thành viên để cùng
nhau chia sẻ mọi nỗi buồn vui
Chúc các bạn có những phút thư giãn vui vẻ
♥️Welcome to forum Chia Sẻ Online♥️
Welcome Guest, is this your first visit? Register
All times are GMT. The time now is 07:28 AM.

You are not connected. Please login or register

[Codes]Chatbox ẩn hiện

2 posters

Go down  Thông điệp [Trang 1 trong tổng số 1 trang]

1[Codes]Chatbox ẩn hiện Empty [Codes]Chatbox ẩn hiện Fri Jan 27, 2012 3:46 pm

lavita37

lavita37
Vi Phạm Nội Quy Forum
Vi Phạm Nội Quy Forum

Ai biết rùi thì thui nha.Đừng spam.
Thường thì chatbox chỉ hiện ở trang index đầu tiên,khi vào trong các box riêng thì ko chat dc nữa.
để khắc phục điều này các bạn dùng chatbox này nè(sưu tầm thui):
đầu tiên tạo 1 trang html với code :

Code:
 http-equiv="content-type" content="text/html; charset=utf-8"
/>http-equiv="content-script-type" content="text/javascript" /> http-equiv="content-style-type" content="text/css" />rel="stylesheet" href="/45-ltr.css" type="text/css" />class="chatbox"
onload="CB_disconnect();ajax_refresh_chatbox('?archives=100', 1);if
(location.href.indexOf('reload')==-1)
location.replace(location.href+'?reload');">id="chatbox_header">border="0" width="100%">[table cellpadding="0" cellspacing="0"][tr][td class="catBottom"]nowrap="nowrap" height="30">width="100%"><table border="0"><tr><td nowrap="nowrap">[url=http://chiaseonline.forumvi.com/]href="/chatbox/chatbox.forum" class="cattitle"
target="chatbox">[b]Chat Xuyên Màng
Đêm[/b][/url]</td><td valign="top">class="chatbox-options">id="chatbox_main_options">[url=http://chiaseonline.forumvi.com/]onclick="ajax_refresh_chatbox('?archives=0',
1);">[b]Refresh[/b][/url] | id="chatbox_option_with_archives" style="display: ;">[url=http://chiaseonline.forumvi.com/]href="/chatbox/chatbox.forum?archives=1">[b]Vào box
Chat[/b][/url] | id="chatbox_option_without_archives" style="display: none;">[url=http://chiaseonline.forumvi.com/]href="/chatbox/chatbox.forum?archives=0">[b]Thoát Box
Chát[/b][/url] | id="chatbox_option_autorefresh" style="display: none;"
onclick="refresh_chatbox('?archives=0');">for="refresh_auto">[b]Tự Động kết nối
[/b]id="refresh_auto" checked="checked" style="background: transparent;"
/> | [url=http://chiaseonline.forumvi.com/]onclick="CB_disconnect();">style="display: ;">[b][b]Đăng
Nhập[/b][/b]id="chatbox_option_disco" style="display:
none;">[b]Thoát[/b][/url]

</td></tr></table>[/td][/tr][/table]
 id="chatbox_members" curpos="0" maxpos="460" pageincrement="144"
increment="10">id="chatbox">
action="/chatbox/chatbox.forum" method="post"
onsubmit="submitmsg('?archives=0');refresh_chatbox('?archives=0');return
 false;">cellpadding="0">[table width="100%" cellspacing="0"][tr][td class="catBottom"]id="chatbox_messenger_form"> height="24" width="100%" class="chatfootertable"><table cellpadding="0" cellspacing="0"><tr><td>width="100%" align="right">border="0" style="line-height: 0px;" class="text-styles"
><table cellpadding="0" cellspacing="2"><tr><td>onmousedown="this.className='fontbutton fontbutton_clicked';"
onmouseup="this.className=( document.post.sbold.value != '1' ) ?
'fontbutton fontbutton_selected' : 'fontbutton
fontbutton_normal'"><img>src="http://2img.net/i/fa/subsilver/wysiwyg/bold.gif" width="21"
height="20" alt="Bold" title="Bold"
/>
</td><td>class="fontbutton fontbutton_normal"
onmouseover="this.className='fontbutton fontbutton_hover'"
onmouseout="this.className=( document.post.sitalic.value == '1' ) ?
'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'"
onclick="do_style('italic');" onmousedown="this.className='fontbutton
fontbutton_clicked';" onmouseup="this.className=(
document.post.sitalic.value != '1' ) ? 'fontbutton fontbutton_selected' :
 'fontbutton fontbutton_normal'"><img>src="http://2img.net/i/fa/subsilver/wysiwyg/italic.gif" width="21"
height="20" alt="Ital." title="Ital."
/>
</td><td>class="fontbutton fontbutton_normal"
onmouseover="this.className='fontbutton fontbutton_hover'"
onmouseout="this.className=( document.post.sunderline.value == '1' ) ?
'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'"
onclick="do_style('underline');" onmousedown="this.className='fontbutton
 fontbutton_clicked';" onmouseup="this.className=(
document.post.sunderline.value != '1' ) ? 'fontbutton
fontbutton_selected' : 'fontbutton fontbutton_normal'"><img>src="http://2img.net/i/fa/subsilver/wysiwyg/underline.gif" width="21"
height="20" alt="Underl." title="Underl."
/>
</td><td>class="fontbutton fontbutton_normal"
onmouseover="this.className='fontbutton fontbutton_hover'"
onmouseout="this.className=( document.post.sstrike.value == '1' ) ?
'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'"
onclick="do_style('strike');" onmousedown="this.className='fontbutton
fontbutton_clicked';" onmouseup="this.className=(
document.post.sstrike.value != '1' ) ? 'fontbutton fontbutton_selected' :
 'fontbutton fontbutton_normal'"><img>src="http://2img.net/i/fa/subsilver/wysiwyg/strike.gif" width="21"
height="20" alt="Strike" title="Strike"
/>
</td><td width="10">
</td><td><img>src="http://2img.net/i/fa/subsilver/wysiwyg/color.gif" width="21"
height="16" alt="Màu font" title="Màu font" /><img>src="http://2img.net/i/fa/subsilver/wysiwyg/menupop.gif" width="11"
height="16" alt="Màu font" title="Màu font" />
<img>src="http://2img.net/i/fa/subsilver/wysiwyg/clear.gif" id="show_color"
alt="Màu font" title="Màu font" width="21" height="4"
/>
</td><td>class="fontbutton fontbutton_normal"
onmouseover="this.className='fontbutton fontbutton_hover'"
onmouseout="this.className='fontbutton fontbutton_normal'"
onclick="do_selectsmilies(event);"><img>src="http://2img.net/i/fa/subsilver/wysiwyg/smilie.gif" width="21"
height="20" alt="Biểu tượng" title="Biểu tượng" /><img>src="http://2img.net/i/fa/subsilver/wysiwyg/menupop.gif" width="11"
height="20" alt="Biểu tượng" title="Biểu tượng"
/>
</td><td width="10">
</td><td>value="0">value="0">value="0">value="0">value="#000000">onclick="document.post.message.focus();">Thông điệp :
maxlength="1024" class="post" autocomplete="off"
onkeydown="number_of_refresh=0;" /> type="hidden" name="sent" value="" />name="submit_button" value="Send" id="submit_button" />
</td></tr></table></td></tr></table>
[/td][/tr][/table]

 type="text/javascript">//function CB_disconnect(){if
 ( connected ){ajax_connect('?archives=0',
'disconnect');clearInterval(refresh_interval);}else{ajax_connect('?archives=0',
 'connect');try {refresh_interval =
setInterval("refresh_chatbox('?archives=0')", 5000);} catch (err) {}}}if
 ( document.location.href.indexOf('chatbox', 1) == -1
){$('#divcolor').css('display', '');$('#divsmilies').css('display',
'');}var connected = false;var chatbox_updated = 1260633294;var
chatbox_last_update = 1260633294;var template_color = '#000000';var
refresh_interval;window.setTimeout("document.getElementById('chatbox').scrollTop
 = 999999; Init_pref();",
200);window.setTimeout("document.getElementById('chatbox').scrollTop =
999999;", 1000);if ( connected ){try {refresh_interval =
setInterval("refresh_chatbox('?archives=0')", 5000);} catch (err)
{}}else{try {refresh_chatbox('?archives=0');} catch (err) {
}}//]]>


sau đó lấy link cho vào phần "copy link HTML vào đây" trong code sau:
Code:

 style="position: fixed; bottom: 50px; right: 0px;background-color: #FFF
 ;z-index:10000;
-moz-border-radius-bottomleft:25px;-moz-border-radius-topleft:25px;border-top:

 3px #781A0C solid;border-left: 1px #781A0C solid;border-bottom: 3px
#781A0C solid;color: #781A0C;padding-right: 5px;">style="vertical-align: bottom;"><img>src="http://i337.photobucket.com/albums/n395/kalenv1/4r/ads/ope.png"
onClick="document.getElementById('chatboxpop').style.display=(this.src=='http://i337.photobucket.com/albums/n395/kalenv1/4r/ads/ope.png')?'block':'none';this.src=(this.src=='http://i337.photobucket.com/albums/n395/kalenv1/4r/ads/ope.png')?'http://i337.photobucket.com/albums/n395/kalenv1/4r/ads/clo.png':'http://i337.photobucket.com/albums/n395/kalenv1/4r/ads/ope.png';"/>
 id="chatboxpop" src="copy link HTML vào đây" scrolling="no"
style="width: 700px; height: 400px; display: none;" marginwidth="0"
marginheight="0"
frameborder="0">






Sau đó copy code trên pate (chèn trên cùng hay dưới cùng đều được)vào overall_footer
bây giờ các bạn chỉ cần click vào icon góc bên phải dưới cùng là chát thui.
Theo
tớ khi dùng cái này thì bạn nên tắt chat box đang dùng đi cho nó gọn
forum,tắt bằng cách: vào "Modules" => "Chatbox" =>"Cấu hình diễn
đàn" => trong hộp thoại "ChatBox display :" chọn "do not display "
Demo ne: http://thaihoa37.forumvi.com/

http://nguyentuan37.anhso.net

2[Codes]Chatbox ẩn hiện Empty Re: [Codes]Chatbox ẩn hiện Tue Jan 31, 2012 9:06 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

Bạn nì chuyên môn share mà không ghi nguồn.
Các chủ code mà biết chắc bạn sẽ tơi bời mất.
Bạn nhớ ghi rõ nguồn sau khi share nhé.
Code này nguồn : CP

http://streetcrew.forum.st/

Về Đầu Trang  Thông điệp [Trang 1 trong tổng số 1 trang]

Permissions in this forum:
Bạn không có quyền trả lời bài viết