Đưa Skin mới vào diễn đàn sử dụng ! Nếu quá trình sử dụng diễn đàn xảy ra lỗi, xin vui lòng liên hệ Admin để báo lỗi ! Cảm ơn !

You are not connected. Please login or register

[Share] Chatbox style Facebook [Punbb,Phpbb3,Invision]

Trang 5 trong tổng số 5 trang Chuyển đến trang : Previous  1, 2, 3, 4, 5

  • Please log in to post a topic

  • Lốc

    Lốc

    Group: Vip Member

    Hiện đang:
    Bài viết : 380
    Points : 1008
    Birthday : 28/03/1991
    Thanks : 357
    Đến từ : nam định

    Vip Member
    Xem lý lịch thành viên

    Vip Member
    Bài viết thứ :1

    Đăng vào:on 3/4/2013, 03:02

    Vip Member
    First topic message reminder :

    Demo



    Cách làm :
    [Bài viết không bị Ẩn]
    Bước 1 : Vào css thêm đoạn này
    Code:
    /*facebook-chat*/
    .button-app {
    position: fixed;
    right: 0;
    bottom: 0;
    }
    #chatbox {
    bottom: 0;
    height: 300px;
    left: 0;
    padding-bottom: 30px;
    top: auto;
    width: 300px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, .3);
    border-width: 0 1px;
    }
    #chatbox_footer {
    height: 30px;
    padding: 0;
    position: absolute;
    width: 300px;
    background-color: white;
    border-top: 1px solid #A5A5A5;
    border-left: 1px solid #A5A5A5;}
    #chatbox_members {
    border: 0;
    bottom: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 207px;
    z-index: 999;
    background: white;
    border-left: 1px solid #979797;
    }
    #chatbox p{
    background: white;
    border-top: 1px solid #EEE;
    border-width: 1px 0 0;
    }
    #chat-app-fb, #chatbox, #chatbox p, #chatbox p strong
    {font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
    font-size: 11px;
    font-weight: normal!important;}

    #chatbox_header.main-head {
    background: #4A66A0;
    border: 1px solid rgba(0, 39, 121, .76);
    border-bottom: none;
    bottom: 330px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    padding: 0;
    position: absolute;
    top: auto;
    width: 300px;
    }
    .chatbox-title {
    display: none;
    }
    #chatbox_option_autorefresh {
    display: none;
    }
    #chatbox_footer label {
    color: transparent;
    font-size: 0;
    visibility: hidden;
    }
    #message {
    font-size: 12px;
    visibility: visible;
    width: 244px;
    border: 0;
    outline: 0;
    height: 28px;
    position: relative;
    top: -10px;
    padding: 0 5px;
    }
    .right-box.style-buttons {
    display: block;
    background: #2C2C2C;
    }
    #chat-app-fb {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    right: 0;
    width: 500px;
    }
    body.chatbox {
    background: none;
    border: none;
    }
    .chatbox-options {
    margin: 0;
    float: left;
    padding-left: 10px;
    }
    #divsmilies {
    background: white;
    border: 1px solid white;
    left: 10px;
    position: relative;
    top: -38px;
    width: 42px;
    height: 26px;
    }
    #chatbox_members .member-title ,.date-and-time, #divcolor, #divstrike, #divunderline, #divitalic, #divbold {
    display: none;
    }
    #chatbox_members ul li {
    padding: 6px 0 6px 10px;
    margin: 2px 0;
    }
    #chatbox_members ul li:hover {background: #E6E9EE;}
    #chatbox_members ul {
    margin: 0;
    padding: 0;
    }
    body[bgcolor^="#fbfbfb"] {
    background: transparent;
    }
    #chatbox_contextmenu {
    z-index: 999;
    margin-top: 10px;
    margin-left: -39px;
    }
    .fb-search form input {
    background-image: url("http://i.imgur.com/9tSaXF7.png");
    border: 0;
    width: 133px;
    height: 25px;
    padding: 0 0 0 20px;
    background-repeat: no-repeat;
    outline: none;
    box-shadow: none;
    color: #BDBDBD;
    font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;
    font-size: 11px;
    z-index: 999999!important;
    position: relative;}
    .seo-me {
    width: 207px;
    }
    .profile-se {
    float: right;
    margin-right: 27px;
    }
    .button-app img[src^="http://i.imgur.com/degNOB8.png"] {
    float: right;
    position: absolute;
    right: 0;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] {
    margin-right: 30px;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] + div.seo-me {
    display: none;
    }
    .fb-search form input:focus {
    color: #4B4B4B;
    }
    .button-app {
    z-index: 999999!important;
    }
    #chat-app-fb {
    z-index: 99999!important;
    }
    .count-user {
    position: fixed;
    z-index: 999;
    right: 155px;
    bottom: 6px;
    font: bold 11px verdana ,arial;
    color: #000;}
    .button-app img[src^="http://i.imgur.com/degNOB8.png"] + div.seo-me + div.count-user {
    display: none;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] + div.seo-me + div.count-user {
    display: inline;
    }
    /*Facebook-chat*/


    Bước 2 : Vào overall_footer_end thêm code này vào cuối
    Code:
    <div class="button-app" style="cursor:pointer;"><img src="http://i.imgur.com/FMZxNQv.png" onclick="document.getElementById('chat-app-fb').style.display=(this.src=='http://i.imgur.com/FMZxNQv.png')?'block':'none';this.src=(this.src=='http://i.imgur.com/FMZxNQv.png')?'http://i.imgur.com/degNOB8.png':'http://i.imgur.com/FMZxNQv.png';"/><div class="seo-me"><div class="profile-se"><a href="/profile?mode=editprofile"><img src="http://i.imgur.com/xHLwgoA.png" title="Opciones"></a></div><div class="fb-search"><form action="/search" method="get"><input type="text" class="inputbox medium" name="search_keywords" value="Buscar" onclick="if (this.value == 'Buscar') this.value = '';" onblur="if (this.value == '') this.value = 'Buscar';"></form></div></div><div class="count-user">(<span id="chat-user-on">0</span>)</div></div><div id="chat-app-fb" style="display:none;">

    <iframe src="/chatbox/index.forum?page=front&" scrolling="no" marginwidth="0" style="height: 100%;margin-left: -19px;width: 520px;" marginheight="0" frameborder="0"></iframe></div>
    <script>jQuery(document).ready( function() {jQuery("#chat-user-on").load("/ #onlinechat strong:eq(0)");});</script>

    thế là xong ok




    code cho phiên bản Invision


    Spoiler:

    Bước 1 : Vào css thêm đoạn này
    Code:
    /*facebook-chat*/
    .button-app {
    position: fixed;
    right: 0;
    bottom: 0;
    }
    #chatbox {
    bottom: 0;
    height: 300px;
    left: 0;
    padding-bottom: 30px;
    top: auto;
    width: 300px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, .3);
    border-width: 0 1px;
    }
    #chatbox_footer {
    height: 30px;
    padding: 0;
    position: absolute;
    width: 300px;
    background-color: white;
    border-top: 1px solid #A5A5A5;
    border-left: 1px solid #A5A5A5;}
    #chatbox_members {
    border: 0;
    bottom: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 207px;
    z-index: 999;
    background: white;
    border-left: 1px solid #979797;
    }
    #chatbox p{
    background: white;
    border-top: 1px solid #EEE;
    border-width: 1px 0 0;
    }
    #chat-app-fb, #chatbox, #chatbox p, #chatbox p strong
    {font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
    font-size: 11px;
    font-weight: normal!important;}

    #chatbox_header ,#chatbox_header.main-head {
    background: #4A66A0;
    border: 1px solid rgba(0, 39, 121, .76);
    border-bottom: none;
    bottom: 330px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    padding: 0;
    position: absolute;
    top: auto;
    width: 300px;
    }
    .chatbox-title {
    display: none;
    }
    #chatbox_option_autorefresh {
    display: none;
    }
    #chatbox_footer label {
    color: transparent;
    font-size: 0;
    visibility: hidden;
    }
    #message {
    font-size: 12px;
    visibility: visible;
    width: 281px;
    border: 0;
    outline: 0;
    height: 28px;
    position: relative;
    top: 0px;
    padding: 0 5px;
    left: 0;
    background: rgba(0, 0, 0, 0)!important;}
    .right-box.style-buttons {
    display: block;
    background: #fff;
    }
    #chat-app-fb {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    right: 0;
    width: 500px;
    }
    body.chatbox {
    background: none;
    border: none;
    }
    .chatbox-options {
    margin: 0;
    float: left;
    padding-left: 10px;
    }
    #divsmilies {
    background: white;
    border: 1px solid white;
    left: 10px;
    position: relative;
    top: -45px;
    width: 42px;
    height: 26px;
    }
    #chatbox_members .member-title ,.date-and-time, #divcolor, #divstrike, #divunderline, #divitalic, #divbold {
    display: none;
    }
    #chatbox_members ul li {
    padding: 6px 0 6px 10px;
    margin: 2px 0;
    }
    #chatbox_members ul li:hover {background: #E6E9EE;}
    #chatbox_members ul {
    margin: 0;
    padding: 0;
    }
    body[bgcolor^="#fbfbfb"] {
    background: transparent;
    }
    #chatbox_contextmenu {
    z-index: 999;
    margin-top: 10px;
    margin-left: -39px;
    }
    .fb-search form input {
    background-image: url("http://i.imgur.com/9tSaXF7.png");
    border: 0;
    width: 133px;
    height: 25px;
    padding: 0 0 0 20px;
    background-repeat: no-repeat;
    outline: none;
    box-shadow: none;
    color: #BDBDBD;
    font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;
    font-size: 11px;
    z-index: 999999!important;
    position: relative;}
    .seo-me {
    width: 207px;
    }
    .profile-se {
    float: right;
    margin-right: 27px;
    }
    .button-app img[src^="http://i.imgur.com/degNOB8.png"] {
    float: right;
    position: absolute;
    right: 0;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] {
    margin-right: 30px;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] + div.seo-me {
    display: none;
    }
    .fb-search form input:focus {
    color: #4B4B4B;
    border:0!important;}
    .button-app {
    z-index: 999999!important;
    }
    #chat-app-fb {
    z-index: 99999!important;
    }
    .count-user {
    position: fixed;
    z-index: 999;
    right: 155px;
    bottom: 6px;
    font: bold 11px verdana ,arial;
    color: #000;}
    .button-app img[src^="http://i.imgur.com/degNOB8.png"] + div.seo-me + div.count-user {
    display: none;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] + div.seo-me + div.count-user {
    display: inline;
    }
    .fb-search form input:hover {
    border: none!important;
    }
    /*Facebook-chat*/


    Bước 2 : VàoMODULES >> Portal & Widgets
    Forum widgets management >> Create a widget  
    thêm code này vào
    Code:
    <div class="button-app" style="cursor:pointer;"><img src="http://i.imgur.com/FMZxNQv.png" onclick="document.getElementById('chat-app-fb').style.display=(this.src=='http://i.imgur.com/FMZxNQv.png')?'block':'none';this.src=(this.src=='http://i.imgur.com/FMZxNQv.png')?'http://i.imgur.com/degNOB8.png':'http://i.imgur.com/FMZxNQv.png';"/><div class="seo-me"><div class="profile-se"><a href="/profile?mode=editprofile"><img src="http://i.imgur.com/xHLwgoA.png" title="Opciones"></a></div><div class="fb-search"><form action="/search" method="get"><input type="text" class="inputbox medium" name="search_keywords" value="Buscar" onclick="if (this.value == 'Buscar') this.value = '';" onblur="if (this.value == '') this.value = 'Buscar';"></form></div></div><div class="count-user">(<span id="chat-user-on">0</span>)</div></div><div id="chat-app-fb" style="display:none;">

    <iframe src="/chatbox/index.forum?page=front&" scrolling="no" marginwidth="0" style="height: 100%;margin-left: -19px;width: 520px;" marginheight="0" frameborder="0"></iframe></div>
    <script>jQuery(document).ready( function() {jQuery("#chat-user-on").load("/ #fo_stat table.ipbtable tbody#s0 tr:eq(7) td.row2 p strong:eq(0)");});</script>



    Code cho phiên bản Phpbb3


    Spoiler:


    Css :
    Code:
    /*facebook-chat*/
    .button-app {
    position: fixed;
    right: 0;
    bottom: 0;
    }
    #chatbox {
    bottom: 0;
    height: 300px;
    left: 0;
    padding-bottom: 30px;
    top: auto;
    width: 300px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, .3);
    border-width: 0 1px;
    }
    #chatbox_footer {
    height: 30px;
    padding: 0;
    position: absolute;
    width: 300px;
    background-color: white;
    border-top: 1px solid #A5A5A5;
    border-left: 1px solid #A5A5A5;}
    #chatbox_members {
    border: 0;
    bottom: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 207px;
    z-index: 999;
    background: white;
    border-left: 1px solid #979797;
    }
    #chatbox p{
    background: white;
    border-top: 1px solid #EEE;
    border-width: 1px 0 0;
    }
    #chat-app-fb, #chatbox, #chatbox p, #chatbox p strong
    {font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
    font-size: 11px;
    font-weight: normal!important;}

    #chatbox_header ,#chatbox_header.main-head {
    background: #4A66A0;
    border: 1px solid rgba(0, 39, 121, .76);
    border-bottom: none;
    bottom: 330px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    padding: 0;
    position: absolute;
    top: auto;
    width: 300px;
    }
    .chatbox-title {
    display: none;
    }
    #chatbox_option_autorefresh {
    display: none;
    }
    #chatbox_footer label {
    color: transparent;
    font-size: 0;
    visibility: hidden;
    }
    #message {
    font-size: 12px;
    visibility: visible;
    width: 281px;
    border: 0;
    outline: 0;
    height: 28px;
    position: relative;
    top: 0px;
    padding: 0 5px;
    left: 0;
    background: rgba(0, 0, 0, 0)!important;}
    .right-box.style-buttons {
    display: block;
    background: #fff;
    }
    #chat-app-fb {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100%;
    right: 0;
    width: 500px;
    }
    body.chatbox {
    background: none;
    border: none;
    }
    .chatbox-options {
    margin: 0;
    float: left;
    padding-left: 10px;
    }
    #divsmilies {
    background: white;
    border: 1px solid white;
    left: 10px;
    position: relative;
    top: -45px;
    width: 42px;
    height: 26px;
    }
    #chatbox_members .member-title ,.date-and-time, #divcolor, #divstrike, #divunderline, #divitalic, #divbold {
    display: none;
    }
    #chatbox_members ul li {
    padding: 6px 0 6px 10px;
    margin: 2px 0;
    }
    #chatbox_members ul li:hover {background: #E6E9EE;}
    #chatbox_members ul {
    margin: 0;
    padding: 0;
    }
    body[bgcolor^="#fbfbfb"] {
    background: transparent;
    }
    #chatbox_contextmenu {
    z-index: 999;
    margin-top: 10px;
    margin-left: -39px;
    }
    .fb-search form input {
    background-image: url("http://i.imgur.com/9tSaXF7.png");
    border: 0;
    width: 133px;
    height: 25px;
    padding: 0 0 0 20px;
    background-repeat: no-repeat;
    outline: none;
    box-shadow: none;
    color: #BDBDBD;
    font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;
    font-size: 11px;
    z-index: 999999!important;
    position: relative;}
    .seo-me {
    width: 207px;
    }
    .profile-se {
    float: right;
    margin-right: 27px;
    }
    .button-app img[src^="http://i.imgur.com/degNOB8.png"] {
    float: right;
    position: absolute;
    right: 0;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] {
    margin-right: 30px;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] + div.seo-me {
    display: none;
    }
    .fb-search form input:focus {
    color: #4B4B4B;
    border:0!important;}
    .button-app {
    z-index: 999999!important;
    }
    #chat-app-fb {
    z-index: 99999!important;
    }
    .count-user {
    position: fixed;
    z-index: 999;
    right: 155px;
    bottom: 6px;
    font: bold 11px verdana ,arial;
    color: #000;}
    .button-app img[src^="http://i.imgur.com/degNOB8.png"] + div.seo-me + div.count-user {
    display: none;
    }
    .button-app img[src^="http://i.imgur.com/FMZxNQv.png"] + div.seo-me + div.count-user {
    display: inline;
    }
    .fb-search form input:hover {
    border: none!important;
    }
    /*Facebook-chat*/
    Widgets
    Code:
    <div class="button-app" style="cursor:pointer;"><img src="http://i.imgur.com/FMZxNQv.png" onclick="document.getElementById('chat-app-fb').style.display=(this.src=='http://i.imgur.com/FMZxNQv.png')?'block':'none';this.src=(this.src=='http://i.imgur.com/FMZxNQv.png')?'http://i.imgur.com/degNOB8.png':'http://i.imgur.com/FMZxNQv.png';"/><div class="seo-me"><div class="profile-se"><a href="/profile?mode=editprofile"><img src="http://i.imgur.com/xHLwgoA.png" title="Opciones"></a></div><div class="fb-search"><form action="/search" method="get"><input type="text" class="inputbox medium" name="search_keywords" value="Buscar" onclick="if (this.value == 'Buscar') this.value = '';" onblur="if (this.value == '') this.value = 'Buscar';"></form></div></div><div class="count-user">(<span id="chat-user-on">0</span>)</div></div><div id="chat-app-fb" style="display:none;">

    <iframe src="/chatbox/index.forum?page=front&" scrolling="no" marginwidth="0" style="height: 100%;margin-left: -19px;width: 520px;" marginheight="0" frameborder="0"></iframe></div>
    <script>jQuery(document).ready( function() {jQuery("#chat-user-on").load("/ #main-content div.page-bottom strong:eq(0)");});</script>






    Thế là xong

    Nguồn : sưu tầm
    [/Bài viết không bị Ẩn]

    #1 - Posted on 3/4/2013, 03:02
    Xem lý lịch thành viên

    Pya - Kun

    Pya - Kun

    Group: Member

    Hiện đang:
    Bài viết : 36
    Points : 56
    Birthday : 19/11/1994
    Thanks : 20
    Đến từ : Nhà

    Member
    Xem lý lịch thành viên

    Member
    Bài viết thứ :101

    Đăng vào:on 4/3/2014, 16:51

    Member
    Lỗi! Bạn phải nhập 7 ký tự nữa =]

    #101 - Posted on 4/3/2014, 16:51
    Xem lý lịch thành viên

    JT4999

    JT4999

    Group: Member

    Hiện đang:
    Bài viết : 15
    Points : 16
    Thanks : 1

    Member
    Xem lý lịch thành viên

    Member
    Bài viết thứ :102

    Đăng vào:on 31/12/2015, 19:43

    Member
    aaaaaaaaa

    #102 - Posted on 31/12/2015, 19:43
    Xem lý lịch thành viên

    mr.max

    mr.max

    Group: Member

    Hiện đang:
    Bài viết : 259
    Points : 314
    Thanks : 25

    Member
    Xem lý lịch thành viên

    Member
    Bài viết thứ :103

    Đăng vào:on 1/1/2016, 15:15

    Member
    vi dieu

    #103 - Posted on 1/1/2016, 15:15
    Xem lý lịch thành viên

    Anonymos

    Anonymos

    Group: Member

    Hiện đang:
    Bài viết : 222
    Points : 221
    Thanks : 1

    Member
    Xem lý lịch thành viên

    Member
    Bài viết thứ :104

    Đăng vào:on 9/6/2016, 21:04

    Member
    thanks

    #104 - Posted on 9/6/2016, 21:04
    Xem lý lịch thành viên

    Sponsored content

    Sponsored content

    Group:
    Hiện đang:

    Bài viết thứ :105

    Đăng vào:Today at 08:49

    #105 - Posted Today at 08:49

    Trang 5 trong tổng số 5 trang Chuyển đến trang : Previous  1, 2, 3, 4, 5

    Đang kiểm tra dữ liệu...

    Bạn phải điền đầy đủ thông tin đăng ký.

    Số ký tự phải từ 3 trở lên
    Hãy chọn tài khoản khác
    Có thể dùng tài khoản này
    Không sử dụng địa chỉ này
    E-mail sẽ được kiểm sau
    Số ký tự phải từ 3 trở lên
    Trùng tên đăng nhập
    Chưa đúng
    Chính xác

    Free forum | © PunBB | Free forum support | Liên hệ | Report an abuse | Create a free blog
    YOUR BANNER HERE
    728x90