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

[Code] Avatar Drop cho punBB

5 posters

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

1[Code] Avatar Drop cho punBB Empty [Code] Avatar Drop cho punBB Sat Jun 23, 2012 4:04 pm

ngày trở lại

ngày trở lại
Thành Viên
Thành Viên

Các Bác nÀO cHỈ Cho Em XIn Code Avatar Drop Cái Cười nhăn răng Thank

Xem hướng dẫn

http://me.zing.vn/apps/hangrong?_src=m

2[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Sat Jun 23, 2012 4:59 pm

Admin

Admin
Administrators
Administrators

nhắc bn lần rồi :|
pót sai box.
đã có 1 topic bị lock .
tại sao vẫn tái phạm thế :|?
nếu lần sau thì del luôn topic nhé !

https://chiaseonline.forumvi.com/

3[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Sat Jun 23, 2012 5:41 pm

ngày trở lại

ngày trở lại
Thành Viên
Thành Viên

13 giặc cái ... k chỉ thì đừng chửi anh chứ

http://me.zing.vn/apps/hangrong?_src=m

4[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Sat Jun 23, 2012 11:23 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

muốn drop như Fmvi hả???
Rứa thì đợi đó, Bim làm xong công chuyện rồi tách cho.hehe
Bi chừ bận lắm.hehe

http://streetcrew.forum.st/

5[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Sun Jun 24, 2012 6:51 am

ngày trở lại

ngày trở lại
Thành Viên
Thành Viên

13 Thank Bim Nhá !

http://me.zing.vn/apps/hangrong?_src=m

6[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Sun Jun 24, 2012 10:28 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

Bước 1 : Cho đoạn sau vào Css :
Code:
/* drop menu avatar */
.pun .user{overflow:visible;margin-top:0!important;width:13em;padding:0}
.cl dt{width:75px}
.cl dt span{color:#000!important}
.cl dd{width:110px}
.cl dd,.cl dt{float:left;height:1.6em;line-height:1.6em}
.useravatar img{width:120px;background-color:#F5F5F5;border-bottom:2px solid;border-radius:3px;border-right:2px solid;padding:5px}
.morelink a{padding-right:13px}
.pun .post .user,.pun .postfoot{margin-left:-13em!important;position:relative}
.pun .postmain{margin-left:13em!important}
.main .main-head,.main .main-foot{border:3px double}
.closeWIndowF{background-color:transparent;color:red;font-family:Arial,Helvetica,sans-serif;font-variant:small-caps;letter-spacing:-1px;opacity:1;text-decoration:none;text-transform:capitalize;font-size:20px;text-shadow:0 0 9px #eee 3px 0 1px #131313;font-weight:700;padding:5px}
.user .status{padding-right:20px;margin-bottom:-3px;color:green;float:right;width:250px;height:18px}
.user-ident .posthead{background-color:transparent;font-size:9px;height:2.6em;left:-2px;position:absolute;text-align:center;top:-3.7em;width:15.3em;padding:.5em 1.3em .5em 1em}
.user-ident .userInfoF{position:absolute;z-index:301;background:none repeat scroll 0 0 #fff;border:1px solid #cdcdcd;box-shadow:2px 2px 3px #ccc;width:510px;left:-2px;display:none;top:-1px;padding:15px 0 15px 10px}
.user-ident .user-info{float:right;width:370px}
.user-ident .manuUserF{float:left;border-bottom:1px dashed;margin-bottom:5px;width:350px;position:relative}
.user-ident .morelink{text-align: center;float:left;border-top:1px dashed;padding-top:5px;width:350px}

.pun .postfoot .user-contact{float:none;left:-0.7em;position:absolute;text-align:center;width:13em;z-index:99}
/* Tin nhắn tá»± Ä‘á»™ng vĂ  nĂºt Like */
#profile-advanced-details .autobot{color:#2220FB!important;font-size:14px!important;text-shadow:1px 1px 1px #000!important}
.loaddingLike{background:url(http://i48.servimg.com/u/f48/16/58/89/73/loadin11.gif) no-repeat scroll center center transparent;display:none;height:1.4em;width:126px;margin:-1.4em 0 -3px 200px}
.FMvi-like em {display:none;}
.post .post-options{height: 22px;position:relative}
.FMvi-like .nolikeplus{float:left}
.FMvi-like .nolikeminus{cursor:pointer;float:left;left:80px;position:absolute;top:5px}
.FMvi-like{min-width: 180px;left:180px;position:absolute;display:none;}
.FMvi-like .likePro,.FMvi-like .likeNone{border-radius:1px 1px 1px 1px;color:#FFF;text-align:left;width:57px;padding:3px 5px}
.FMvi-like .likePro{cursor:pointer!important;background:url(http://i48.servimg.com/u/f48/16/58/89/73/like_b12.png) no-repeat scroll 45px center #31A8FC!important;border:1px solid #2888CC!important}
.FMvi-like .likeNone{cursor:not-allowed;background:url(http://i48.servimg.com/u/f48/16/58/89/73/like_n11.png) no-repeat scroll 45px center #B1B1B1;border:1px solid #919699}
.FMvi-like .likePro:hover{text-shadow:1px 1px 1px #000}
.FMvi-like .nub{display:none;background-image:url(http://i48.servimg.com/u/f48/16/58/89/73/tip10.png);background-position:0 0;background-repeat:no-repeat;float:left;height:8px;margin-left:-55px;margin-top:24px;position:relative;width:13px;z-index:99}
.FMvi-like .commentLike{min-width: 280px;display:none;background-color:#FBFAE6;border:1px solid #A3A3A3;float:left;left:0;top:30px;position:absolute;z-index:30;padding:5px}
.commentLike input{background-color:#FFF;border:1px solid #A3A3A3;display:none;height:28px;width:350px}
.commentLike p{padding:7px 0;text-align:left}
.FMvi-like .closeFMvi_like{background-image:url(http://i48.servimg.com/u/f48/16/58/89/73/tip10.png);background-position:0 -9px;background-repeat:no-repeat;height:16px;right:2px;top:2px;position:absolute;width:15px}

Bước 2 : Vào Viewtopic_body Tìm đoạn code sau
Code:


<!-- BEGIN postrow -->
...
Đến
...
<!-- END postrow -->
</div>

Xóa toàn bộ đoạn code đó và thay = Code sau
Code:



<!-- BEGIN postrow -->
      <!-- BEGIN displayed -->
      <div class="post" {postrow.displayed.THANK_BGCOLOR}>
        <a name="{postrow.displayed.U_POST_ID}"></a>
        <div class="postmain" {postrow.displayed.THANK_BGCOLOR}>
            <div id="p{postrow.displayed.U_POST_ID}" class="posthead" {postrow.displayed.THANK_BGCOLOR}>
              <h2>
                  <a href="?showpost={postrow.displayed.U_POST_ID}"><strong>#{postrow.displayed.COUNT_POSTS}</strong></a>{postrow.displayed.ICON}
                  <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a>
              </h2>
            </div>
            <div class="postbody" {postrow.displayed.THANK_BGCOLOR}>
              <div class="user">
                  <div class="user-ident" id="userinfo{postrow.displayed.U_POST_ID}" style="position: relative;">
                    <div class="posthead">
                        <em>{postrow.displayed.POST_DATE_NEW}</em>
                    </div>
                    <div onmouseover="show_user({postrow.displayed.U_POST_ID})" onmouseout="hide_user({postrow.displayed.U_POST_ID})" class="userInfoF">
                        <div class="useravatar" style="float: left;">{postrow.displayed.POSTER_AVATAR}</div>
                        <div class="user-info">
                          <div class="manuUserF">
                              <strong>{postrow.displayed.POSTER_NAME}</strong>
                              <span class="fmviOnoff">{postrow.displayed.ONLINE_IMG}</span>                             
                          </div>
                          <dl class="cl" style="float:right; width: 370px;">
                              <!-- BEGIN profile_field -->
                              <dt>{postrow.displayed.profile_field.LABEL}</dt>
                              <dd>{postrow.displayed.profile_field.CONTENT}</dd>
                              <!-- END profile_field -->
                          </dl>
                          <div>
                              <span style="color:blue">Phương châm:</span>
                              <marquee class="status"></marquee>
                          </div>
                          <div class="morelink">
                              <a target="_blank" class="Upro5"><img alt="Tường nhà" src="http://i48.servimg.com/u/f48/16/58/89/73/profil10.png" />Tường nhà</a>
                              <a target="_blank" class="Utopic"><img alt="Xem bài viết" src="http://i48.servimg.com/u/f48/16/58/89/73/total_10.gif" />Bài viết</a>
                              <a target="_blank" class="Ufrien"><img alt="Kết bạn" src="http://i48.servimg.com/u/f48/16/58/89/73/friend10.png" />Kết bạn</a>
                              <a target="_blank" onClick="javascript:alert('Đang phát triển')" class="Umoney"><img alt="Tài sản" src="http://i48.servimg.com/u/f48/16/58/89/73/table_10.png" />Tài sản</a>
                          </div>
                        </div>
                    </div>
                    <div class="user-basic-info">
                        <div onmouseover="show_user({postrow.displayed.U_POST_ID})" class="useravatar" style="padding: 15px 0 15px 9px">{postrow.displayed.POSTER_AVATAR}</div>
                        <p class="rankimg" style="padding:11px">{postrow.displayed.RANK_IMAGE}</p>
                    </div>
                  </div>
              </div>
              <div class="post-entry">
                  <div class="entry-content">
                    <div>
                        <div>{postrow.displayed.MESSAGE}</div>
                        <!-- BEGIN switch_attachments -->
                        <dl class="attachbox">
                          <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
                          <dd>
                              <!-- BEGIN switch_post_attachments -->
                              <dl class="file">
                                <dt>
                                    <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}"
                                    />
                                    <!-- BEGIN switch_dl_att -->
                                    <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a>{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
                                    <!-- END switch_dl_att -->
                                    <!-- BEGIN switch_no_dl_att -->{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT}
                                    {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
                                    <!-- END switch_no_dl_att -->
                                </dt>
                                <!-- BEGIN switch_no_comment -->
                                <dd>
                                    <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
                                </dd>
                                <!-- END switch_no_comment -->
                                <!-- BEGIN switch_no_dl_att -->
                                <dd>
                                    <em>
                                      <strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong>
                                    </em>
                                </dd>
                                <!-- END switch_no_dl_att -->
                                <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE})
                                    {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
                              </dl>
                              <!-- END switch_post_attachments -->
                          </dd>
                        </dl>
                        <!-- END switch_attachments -->
                        <div class="clear"></div>
                    </div>
                  </div>
                                        </div>
            </div>
            <!-- BEGIN switch_signature -->
            <div class="sig-content">{postrow.displayed.SIGNATURE_NEW}</div>
            <!-- END switch_signature -->
            <div class="postfoot">
              <div class="options-button user-contact">{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}
                  <!-- BEGIN contact_field -->{postrow.displayed.contact_field.CONTENT}
                  <!-- END contact_field -->
              </div>
              <div class="post-options">
            <iframe style="display:none" name="vote{postrow.displayed.U_POST_ID}" height="0px" width="0px" frameborder="0"></iframe>                                         
            <div onmouseover="show_like({postrow.displayed.U_POST_ID})" onmouseout="hide_like({postrow.displayed.U_POST_ID})" class="FMvi-like">
              <a target="vote{postrow.displayed.U_POST_ID}" class="nolikeplus" onclick="comment_like({postrow.displayed.U_POST_ID})"><p id="FMvi_like{postrow.displayed.U_POST_ID}" class="likeNone">Thích</p></a>
              <a onclick="report_like({postrow.displayed.U_POST_ID})" target="vote{postrow.displayed.U_POST_ID}" class="nolikeminus">Báo xấu [<font color="red">0</font>]</a>
              <div id="nub{postrow.displayed.U_POST_ID}" class="nub"></div>
              <div id="like{postrow.displayed.U_POST_ID}" class="commentLike">
                  <span class="closeFMvi_like" style="display:none" onclick="close_like({postrow.displayed.U_POST_ID})"></span>
                  <p></p>
                            <div class="loaddingLike"></div>
                  <em>Gửi một bình luận lên tường nhà {postrow.displayed.POSTER_NAME}<br /></em>
                  <input onkeyup="send_comment(event,{postrow.displayed.U_POST_ID})" type="text" value="" />
              </div>
              <div style="display:none" id="data-link-comment{postrow.displayed.U_POST_ID}"></div>
                                                <!-- BEGIN switch_vote_active -->
                                                  <!-- BEGIN switch_vote -->
                                                  <a style="display:none" class="likeplus" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><p class="likeNone">Thích</p></a>
                                                  <!-- END switch_vote -->
                                                  <!-- BEGIN switch_bar -->
                                                  <div style="display:none" class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
                                                      <!-- BEGIN switch_vote_plus -->
                                                      <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
                                                      <!-- END switch_vote_plus -->
                                                      <!-- BEGIN switch_vote_minus -->
                                                      <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
                                                      <!-- END switch_vote_minus -->
                                                  </div>
                                                  <!-- END switch_bar -->
                                                  <!-- BEGIN switch_vote -->
                                                  <a style="display:none" class="likeminus" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">Báo xấu</a>
                                                  <!-- END switch_vote -->
                                                <!-- END switch_vote_active -->
                                                </div>
                                   
                                                <span class="options-button">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG}
                  {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG}
                                                  {postrow.displayed.REPORT_IMG}</span></div>
              <div style="clear:both;"></div>
            </div>
        </div>
      </div>
      <!-- BEGIN first_post_br -->
  </div>
  <hr id="first-post-br" />
  <div class="main-content topic">
      <!-- END first_post_br -->
      <!-- END displayed -->
      <!-- BEGIN hidden -->
      <p class="p-hidden">{postrow.hidden.MESSAGE}</p>
      <!-- END hidden -->
      <!-- END postrow -->
  </div>
    <script type="text/javascript" src="http://fmvi-group.googlecode.com/files/FMvi-avatar-like.js"></script>

Tiếp theo vào Header tìm code sau
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
...
đến
...
  <!-- BEGIN switch_fb_login -->

Và thay thế nó = code sau
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
  <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
  <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
  <meta http-equiv="content-script-type" content="text/javascript" />
  <meta http-equiv="content-style-type" content="text/css" />
  <!-- BEGIN switch_compat_meta -->
  <meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
  <!-- END switch_compat_meta -->
  <!-- BEGIN switch_canonical_url -->
  <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
  <!-- END switch_canonical_url -->
  {META_FAVICO}
  {META}
  {META_FB_LIKE}
  <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
  {T_HEAD_STYLESHEET}
  {CSS}
  <!--[if lte IE 6]>
        <style type="text/css">
                .post-entry .entry-content img{display: block !important}
                body{background-color: #FFFFFF!important}
          #mudimPanel,.minwidth_IE, #login_popup, #hitskin_preview{display:none!important}
      </style>
  <![endif]-->
  <noscript>
        <style type="text/css">
                a.mainmenu[href='/groups'],a.mainmenu[href='/privmsg?folder=inbox']{display:block !important}
                .post-entry .entry-content img{display: block !important}
          #left{display:block !important}
          .module .main-content{height: 12.3em !important}
          .toppost_width{width: 290px;}
          .recentWidth{width: 658px;}
          .latest_topics{overflow: hidden !important; height: 12.3em !important}
          .chatbox, .fmviToggle, #checktip .open{display:none}
      </style>
  </noscript>

  <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
  <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
  <script src="{JQUERY_PATH}" type="text/javascript"></script>


        <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
  <script type="text/javascript">
      function langEV() {
          if ($("html").attr("xml:lang") == "en") {
              return true;
          } else if ($("html").attr("xml:lang") == "vi") {
              return false;
          }
      }
  </script>
  <!-- BEGIN switch_fb_login -->

Nguồn : Fmvi.vn

http://streetcrew.forum.st/

7[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Mon Jun 25, 2012 6:52 am

ngày trở lại

ngày trở lại
Thành Viên
Thành Viên

cảm Ơn Bim Nhé

http://me.zing.vn/apps/hangrong?_src=m

8[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Mon Jun 25, 2012 12:37 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

cái nút vote to đùng đùng kìa.hehe

http://streetcrew.forum.st/

9[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Wed Jul 04, 2012 3:11 pm

GTL Huy Hoàng

GTL Huy Hoàng
Thành Viên
Thành Viên

làm sao để kích hoạt cái phương châm với không bị chữ trong profile quá dài

http://ketnoi4allvn.forum6.biz

10[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Wed Jul 04, 2012 7:30 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

GTL Huy Hoàng đã viết:làm sao để kích hoạt cái phương châm với không bị chữ trong profile quá dài
Kích hoạt phương châm : vào profile trong ACP đổi Humor thành status.
Chữ bị dài quá thì là do bạn chứ đừng đổi tại code nghen.hihi

http://streetcrew.forum.st/

11[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Thu Jul 05, 2012 8:31 am

GTL Huy Hoàng

GTL Huy Hoàng
Thành Viên
Thành Viên

hề hề sửa thì đã sửa rồi Phương Châm cũng đã có luôn rồi nhưng nó lặp lại đến 4, 5 lần giúp dùm cái T_T Thank
link rum: http://24h-life.forum-viet.com

http://ketnoi4allvn.forum6.biz

12[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Thu Jul 05, 2012 12:05 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

GTL Huy Hoàng đã viết:hề hề sửa thì đã sửa rồi Phương Châm cũng đã có luôn rồi nhưng nó lặp lại đến 4, 5 lần giúp dùm cái T_T Thank
link rum: http://24h-life.forum-viet.com
Bạn zô phần
ACP > Modules > HTML & JAVASCRIPT > Javascript codes management.
Kiểm tra xem đã có js avatar-like chưa???
Nếu có rồi thì thay lại bằng js sau:
Code:
var CopyrightNoticeEn = 'Skin FMvi Copyright ©️  by FmVi. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script';
var CopyrightNoticeVi = 'Skin FMvi Bản quyền ©️ thuộc FmVi. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mã này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông báo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi';
$("a[href*='-quote?showpost=']").each(function () {
   $(this).prependTo($(this).next().find("cite:first"))
});
$(".user-info dt:contains('Gender'), .user-info dt:contains('Birthday'), .user-info dt:contains('Status')").hide().next().hide();
$(".user-info .fmviOnoff br").remove();
var topmot = $("#top_posters li:eq(0) span:first").text();
var tophai = $("#top_posters li:eq(1) span:first").text();
var topba = $("#top_posters li:eq(2) span:first").text();
var author = $(".user-ident:first .user-info div:first a").attr("href");

function show_user(z) {
   var dix = $("#userinfo" + z);
   var Gender = dix.find(".user-info dt:contains('Gender')").next().find("img").attr("alt");
   if (langEV()) {
      var Birthday = dix.find(".user-info dt:contains('Birthday')").next().text().split("-");
      var da = 2;
      var mo = 1
   } else {
      var Birthday = dix.find(".user-info dt:contains('Birthday')").next().text().split("/");
      var da = 0;
      var mo = 1
   };
   var teus = dix.find(".user-info dt:contains('Status')").next().text();
   var teuser = dix.find(".user-info div:first a:first").text();
   var liuser = dix.find(".user-info div:first a").attr("href");
   dix.find(".Upro5").attr("href", liuser + "wall");
   dix.find(".Utopic").attr("href", "/spa/" + teuser);
   dix.find(".Ufrien").attr("href", "/profile?friend=" + teuser + "&mode=editprofile&page_profil=friendsfoes");
   if (teus.length > 0) {
      dix.find(".user-info .status").text(teus)
   } else {
      dix.find(".user-info .status").replaceWith('<span style="color:red"> [' + teuser + ' chưa đăng phương châm sống]</span>')
   };
   if (dix.find(".user-info .fmviOnoff img").length == 0) {
      dix.find(".user-info .fmviOnoff").html('<img title="Offline" alt="Offline" src="http://i48.servimg.com/u/f48/16/58/89/73/icon_u11.gif" />')
   };
   var stygru = dix.find(".user-info div:first a:first span").attr("style");
   if (stygru == "color:#17BD30") {
      dix.find(".user-info .group").html('<span style="color:#17BD30">Developers</span>')
   } else if (stygru == "color:#FF0000") {
      dix.find(".user-info .group").html('<span style="color:#FF0000">Administrators</span>')
   } else if (stygru == "color:#FF61E7") {
      dix.find(".user-info .group").html('<span style="color:#FF61E7">GFX Designer</span>')
   } else if (stygru == "color:#00D9FF") {
      dix.find(".user-info .group").html('<span style="color:#00D9FF">Review Team</span>')
   } else if (stygru == "color:#0000FF") {
      dix.find(".user-info .group").html('<span style="color:#0000FF">Moderator</span>')
   } else if (stygru == "color:#27736F") {
      dix.find(".user-info .group").html('<span style="color:#27736F">Members</span>')
   } else if (stygru == "color:#CCCCCC") {
      dix.find(".user-info .group").html('<span style="color:#CCCCCC">Banned</span>')
   } else if (stygru == "color:#402403") {
      dix.find(".user-info .group").html('<span style="color:#402403">New Members</span>')
   };
   if (teuser == topmot) {
      dix.find(".rankimg").html('<img title="1st" alt="1st" src="http://i48.servimg.com/u/f48/16/58/89/73/1stpla10.png" />')
   } else if (teuser == tophai && firstT != "1") {
      dix.find(".rankimg").html('<img title="2nd" alt="2nd" src="http://i48.servimg.com/u/f48/16/58/89/73/2ndpla10.png" />')
   } else if (teuser == topba && firstT != "1") {
      dix.find(".rankimg").html('<img title="3rd" alt="3rd" src="http://i48.servimg.com/u/f48/16/58/89/73/3rdpla10.png" />')
   };
   if (liuser == author) {
      dix.find(".rankimg").html('<img title="Author" alt="Author" src="http://i48.servimg.com/u/f48/16/58/89/73/writer10.png" />')
   };
   var day = new Date();
   if ((day.getDate() == Birthday[da]) && ((day.getMonth() + 1) == Birthday[mo])) {
      if (Gender == "Female") {
         dix.find(".rankimg").html('<img title="Birthday Girl" alt="Birthday Girl" src="http://i48.servimg.com/u/f48/16/58/89/73/birthd11.png" />')
      } else {
         dix.find(".rankimg").html('<img title="Birthday Boy" alt="Birthday Boy" src="http://i48.servimg.com/u/f48/16/58/89/73/birthd10.png" />')
      }
   }
   dix.find(".userInfoF").show()
}
function hide_user(hu) {
   $("#userinfo" + hu).find(".userInfoF").hide()
}

var wq;
for (wq = 0; wq < $(".FMvi-like").length; wq++) {
   if ($(".FMvi-like:eq(" + wq + ") .vote-bar").length == 1) {
      var numX = $(".FMvi-like:eq(" + wq + ") .vote-bar").attr("title").split(" ");
      var mX = parseInt(numX[3].replace(/%/, "")) / 100;
      var nX = parseInt(numX[4].replace(/\(/, ""));
      plus = String(Math.round(mX * nX));
      minus = String(nX - plus);
      $(".FMvi-like:eq(" + wq + ") .nolikeminus font").text(minus);
      $(".commentLike:eq(" + wq + ") p").text(plus + " thành viên thích bài viết này");
      if ((plus > 3 && minus > plus * 2) || (plus == 0 && minus > 5)) {
         $(".post:eq(" + wq + ")").hide().before('<div style="padding:10px"><p style="color: rgb(61, 137, 242); text-align: center; padding: 5px; font-size: 14px;" class="closeWIndowF">Bài viết này đã được ẩn do bị xếp hạng thấp</p><p class="reportVote closeWIndowF" style="font-size: 15px ! important; text-align: center;cursor: pointer;">Click vào đây để hiển thị bài viết</p></div>')
      }
   } else {
      $(".commentLike:eq(" + wq + ") p").text("Chưa có đánh giá cho bài viết này")
   }
   if ($(".FMvi-like:eq(" + wq + ")").find(".likeplus").length == 1) {
      $(".FMvi-like:eq(" + wq + ") .likeNone").removeClass().addClass("likePro");
      $(".FMvi-like:eq(" + wq + ") .nolikeplus").attr("href", $(".FMvi-like:eq(" + wq + ") .likeplus").attr("href"));
      $(".FMvi-like:eq(" + wq + ") .nolikeminus").attr("href", $(".FMvi-like:eq(" + wq + ") .likeminus").attr("href"))
   }
}
$(".reportVote").click(function () {
   $(this).parent().next().show().css("background-color", "#000");
   $(this).parent().remove()
});
$(".FMvi-like").fadeIn(1000);

function comment_like(sl) {
   if ($("#FMvi_like" + sl).attr("class") != "likeNone") {
      var wall_like = $("#like" + sl + " em a").attr("href").match(/[0-9]+/);
      $("#nub" + sl + ",#like" + sl + ",#like" + sl + " .closeFMvi_like,#like" + sl + " .loaddingLike").show();
      $("#data-link-comment" + sl).load("/privmsg?mode=post_profile&u=" + wall_like + " #main .frm-form", function () {
         $("#like" + sl + " .loaddingLike").remove();
         $("#like" + sl + " input,#like" + sl + " em").show();
         $("#data-link-comment" + sl + " .frm-form").attr("target", "vote" + sl)
      });
      var numthich = $("#like" + sl + " p").text().match(/[0-9]+/);
      if (numthich == null) {
         $("#like" + sl + " p").text("Bạn là người đầu tiên thích bài viết này")
      } else {
         $("#like" + sl + " p").text("Bạn và " + numthich + " người khác đã thích bài viết này")
      }
   }
}
function close_like(ll) {
   var title = $("#i_icon_mini_logout").attr("title");
   var userX_like = title.slice(title.indexOf("[") + 2, title.indexOf("]") - 1);
   var linkXpost = "[url=http://www.fmvi.org" + location.pathname + "?showpost=" + ll + "]" + $(".crumbs:first a[href^='/t']").text() + "[/url]";
   var messXwall = userX_like + " thích bài viết của bạn tại " + linkXpost;
   var inputX_like = $("#like" + ll + " input").val();
   if (inputX_like == "") {
      var quoteXlike = ""
   } else {
      var quoteXlike = '[quote="' + userX_like + '"]' + inputX_like + '[/quote]'
   }
   if ($("#data-link-comment" + ll + " #text_editor_textarea").css("display") != "none") {
      $("#data-link-comment" + ll + " #text_editor_textarea").val(messXwall + quoteXlike)
   } else {
      $("#data-link-comment" + ll + " #text_editor_iframe").contents().find("body").text(messXwall + quoteXlike)
   }
   $("#data-link-comment" + ll + " input[name='subject']").val("[Tin nhắn tự động]");
   $("#data-link-comment" + ll + " input[name='post']").click();
   $("#FMvi_like" + ll).removeClass().addClass("likeNone");
   $("#nub" + ll + ",#like" + ll + ",#like" + ll + " .closeFMvi_like,#like" + ll + " input,#like" + ll + " em").hide()
}
function send_comment(event, sc) {
   if (event.keyCode == 13) {
      close_like(sc)
   }
}
function report_like(rl) {
   if ($("#FMvi_like" + rl).attr("class") != "likeNone") {
      var numtru = eval($("#FMvi_like" + rl).parent().next().find("font").text()) + 1;
      $("#FMvi_like" + rl).parent().next().find("font").text(numtru)
   }
   $("#FMvi_like" + rl).removeClass().addClass("likeNone");
   var report = confirm("Bạn có muốn gửi một báo cáo đến người quản lý");
   if (report == true) {
      window.location.replace("http://www.streetcrew.biz/report?mode=report&p=" + rl)
   }
}
function show_like(cl) {
   $("#nub" + cl + ", #like" + cl).show()
}
function hide_like(hl) {
   if ($("#like" + hl + " .closeFMvi_like").css("display") == "none") {
      $("#nub" + hl + ", #like" + hl).hide()
   }
}

Nếu chưa có thì tạo 1 js với code trên!
Chú ý : phần Placement không chọn gì cả!
Sau đó lưu js lại để lấy link!
Rồi sau đó bạn bê cái viewtopic sang bên nì Bim coi thử.hihi

http://streetcrew.forum.st/

13[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Fri Jul 06, 2012 8:16 am

GTL Huy Hoàng

GTL Huy Hoàng
Thành Viên
Thành Viên

Viewtopic đây nỳ Bim [Code] Avatar Drop cho punBB 3605817172
Code:
<script type="text/javascript">//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
    _atc.cwait = 0;
    $('.addthis_button').mouseup(function(){
        if ($('#at15s').css('display') == 'block') {
            addthis_close();
            addthis_close();
        }
    });
});
//]]>
</script>

<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
    <ul>
        <!-- BEGIN switch_plus_menu -->
        <li>
            <script type="text/javascript">//<![CDATA[
                var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}';
                var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
                var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
                var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
                var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
                var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
                insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
            //]]>
            </script>
        </li>
        <!-- END switch_plus_menu -->
        <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li>
        <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
        <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
        <!-- BEGIN watchtopic -->
        <li>{S_WATCH_TOPIC}</li>
        <!-- END watchtopic -->
    </ul>
    <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
    <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->

<div class="pun-crumbs noprint">
    <p class="crumbs">
        <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » 
        <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
        <!-- BEGIN switch_twitter_btn -->
        <span id="twitter_btn" style="margin-left: 6px; ">
            <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
            <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
        </span>
        <!-- END switch_twitter_btn -->
        <!-- BEGIN switch_fb_likebtn -->
        <span id="fb_likebtn" style="margin-left: 6px; ">
            <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe>
        </span>
        <!-- END switch_fb_likebtn -->
    </p>
</div>

<div class="main paged">
    <div class="paged-head clearfix">
        <!-- BEGIN topicpagination -->
        <p class="paging">{PAGINATION}</p>
        <!-- END topicpagination -->
        <p class="posting">
            <!-- BEGIN switch_user_authpost -->
            <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>  
            <!-- END switch_user_authpost -->

            <!-- BEGIN switch_user_authreply -->
            <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
            <!-- END switch_user_authreply -->
        </p>
    </div>
    {POLL_DISPLAY}
    <div class="main-head clearfix">
        <p class="h2">
            <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a>  
            {L_MESSAGE} [{PAGE_NUMBER}]
        </p>
    </div>

    <div class="main-content topic">

1.  <div style='display:none'><div style="display: block; width: 496px; overflow: auto; height: 175px;" id="cboxLoadedContent"><div id="c3_luvmes" style="padding: 10px; overflow: hidden;"><b>Chia Sẻ Bài Viết Qua Các Mạng Xã Hội</b><br><span id="c3zbukmark" class="c3zzz"><!--
2.    VN --><a title="Đánh dấu ưa thích" href="javascript:if (navigator.appName != 'Microsoft Internet Explorer'){window.sidebar.addPanel('{TOPIC_TITLE}','http://chiaseonline.us.to{TOPIC_URL}','');} else{window.external.AddFavorite('http://chiaseonline.us.to{TOPIC_URL}','{TOPIC_TITLE}');}" target="_blank"><img src="/users/1514/36/53/26/album/favori10.png" /></a><a title="Gửi trang này vào email" href="mailto:?subject={TOPIC_TITLE}&body=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/email10.png"></a>|<a target="_blank" href="http://trumseo.com/submit.php?url=http://chiaseonline.us.to{TOPIC_URL}"><img src="/users/1514/36/53/26/album/trumse10.png" width="16" height="16" /></a><!--
3.  <a target="_blank" title="Hot!" href="http://linkhay.com/submit"><img src="/users/1514/36/53/26/album/button10.jpg" width="16" height="16" alt="Hot!" /></a> --><a target="_blank" href="http://www.tagvn.com/submit?url=http://chiaseonline.us.to{TOPIC_URL}&type=submit&source=button&version=0" title="Gửi thông tin này vào Tagvn.com"><img src="/users/1514/36/53/26/album/tagvn-10.png" height="16" width="16" alt="Gửi thông tin này vào Tagvn" border="0"/></a><a title="Gửi thông tin này vào Zing" href="javascript:(function()%20{var%20a=window,link_domain='http://link.apps.zing.vn',b=document,c=encodeURIComponent,d=a.open(link_domain.concat('/pro/view/conn/share?').concat('u=').concat(c(b.location)).concat('&t=').concat(c(b.title)).concat('&desc=').concat(c(getMeta())).concat('&images=').concat(c(getImages())).concat('&media=').concat(c(getMedia())),'share_popup','scrollbars=no,status=no,toolbar=no,location=no,menubar=no,resizable=yes,height=430,width=550,top='.concat((screen.height-500)/2).concat(',left=').concat((screen.width%20-%20500)/2));a.setTimeout(function(){d.focus()},300);function%20getMeta()%20{var%20meta%20=%20document.getElementsByTagName('meta'),desc%20=%20'';for(var%20i=0;%20i<meta.length;%20i++){if(meta[i].getAttribute('name')%20!=%20null%20&&%20meta[i].getAttribute('name').toLowerCase()=='description')%20{desc%20=%20meta[i].getAttribute('content');break;}}return%20desc;};function%20getImages()%20{var%20arrImg%20=%20new%20Array(),u=location.href;if%20(u.indexOf('youtube.com')!=-1)%20{var%20ind%20=%20(u.indexOf('watch?v=')!=-1)?%20(u.indexOf('watch?v=')+8)%20:%200;var%20y_code=%20u.substr(ind,%2011);var%20hinh%20=%20'http://img.youtube.com/vi/'.concat(y_code).concat('/default.jpg');arrImg.push(hinh);}%20else%20{var%20meta_link%20=%20document.getElementsByTagName('link');for(var%20ind=0;%20ind<meta_link.length;%20ind++){if(typeof%20meta_link[ind].getAttribute('rel')!='undefined'%20&&%20meta_link[ind].getAttribute('rel')=='image_src'){arrImg.push(meta_link[ind].getAttribute('href'));break;}}if(arrImg.length==0){var%20image=document.getElementsByTagName('img');for(var%20i=0;%20i<image.length;%20i++){if(image[i].getAttribute('src')%20!=%20null%20&&%20image[i].getAttribute('src').search(/jpg/i)%20!=%20-1){var%20hinh%20=%20image[i].getAttribute('src');var%20inof%20=%20hinh.indexOf('/');if(inof%20!=%20-1){if%20(inof%20==%200){hinh=(hinh.indexOf('http://')==-1)?%20'http://'.concat(b.domain).concat(hinh):hinh;}else{hinh=(hinh.indexOf('http://')==-1)?%20'http://'.concat(b.domain).concat('/').concat(hinh):hinh;}}%20else%20if%20(inof==-1){hinh%20=%20location.href.concat(hinh);}if(hinh!='')%20{arrImg.push(hinh);if(arrImg.length>=5){break;}}}}}}return%20arrImg.join(',');};function%20getMedia(){var%20_code='',u=location.href;if(u.match('youtube.com')!=null){var%20ind_1%20=%20(u.indexOf('watch?v=')!=-1)?%20(u.indexOf('watch?v=')+8)%20:%200;if(ind_1!=0)%20{var%20y_source%20=%20'http://www.youtube.com/v/Y_CODE&hl=en_US&fs=1&autoplay=1&rel=0',y_code='';y_code%20=%20u.substr(ind_1,%2011);_code%20=%20y_source.replace(/Y_CODE/g,%20y_code);}}else{var%20media_data%20=%20document.getElementsByTagName('link');for(var%20ind=0;%20ind<media_data.length;%20ind++){if(typeof%20media_data[ind].getAttribute('rel')!='undefined'%20&&%20media_data[ind].getAttribute('rel')=='video_src'){_code%20=%20media_data[ind].getAttribute('href');break;}}}return%20_code;};})();"><img src="http://link.apps.zing.vn/images/favicon.ico"></a><!--
4.    /VN -->|<a title="Thêm vào Google" href="http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/google10.png"></a><a title="Gửi thông tin này vào Facebook" href="http://www.facebook.com/sharer.php?u=http://chiaseonline.us.to{TOPIC_URL}&t={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/facebo10.png"></a><a href="http://twitter.com/home/?status=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/twitte10.png"></a><a href="https://login.yahoo.com/config/login?.intl=us&.src=smw&.pd=smw_ver%3d1&.done=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/yahoo10.png"></a><a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/window10.png"></a><a href="http://del.icio.us/post?url=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/delici10.png"></a><a href="http://buzz.yahoo.com/buzz?targetUrl=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/buzz_i10.png"></a><a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/myspac10.png"></a><a href="http://www.linkedin.com/shareArticle?mini=true&url=http://chiaseonline.us.to{TOPIC_URL}&title={TOPIC_TITLE}" target="_blank"><img src="/users/1514/36/53/26/album/linked10.png"></a></span><br><table border="0" cellpadding="0" cellspacing="1" width="100%"><tbody><tr><td><img src="http://i1199.photobucket.com/albums/aa465/batuan94vt/SVNH%20fix/ym_cop10.gif" /><br/><textarea style="border: 1px dashed rgb(102, 102, 102); width: 99%;" rows="2" name="embedhtml" cols="100" readonly="readonly" onclick="this.select()" id="embedhtml">A1 Forum's. Bài viết :{TOPIC_TITLE} - Link: http://chiaseonline.us.to{TOPIC_URL}. Hãy chia sẻ với bạn bè nếu bạn thấy bài viết này hay nhé ^.^ Bảo đảm là không có virus đâu ! a1family.forumvi.com </textarea></td></tr></table></div></div></div></span></div>
5.  <span class="c3zpost"><a title="" href="{postrow.displayed.POST_URL}" onmouseover="showtip('<font color=#e3d344>Bài viết số {postrow.displayed.COUNT_POSTS}</font>');" onmouseout="hidetip();" ><span class="gensmall">#{postrow.displayed.COUNT_POSTS}</span></a><span class="gensmall"> - </span><span onmouseover="showtip('<font color=#00ff84>BBcobe nhúng vào bài viết!</font>');" onmouseout="hidetip();"><a href="#" onclick="link_bbcode();return false"><span class="gensmall">BBCode</span></a></span></span></div>
6.  <div style='display:none'><div style="display: block; width: 496px; overflow: auto; height: 175px;" id="cboxLoadedContent"><div id="ca3_bbcode" style="padding: 10px; overflow: hidden;"><br/><textarea style="border: 1px dashed rgb(102, 102, 102); width: 99%;" rows="2" name="embedhtml" cols="100" readonly="readonly" onclick="this.select()" id="embedhtml">[url=http://chiaseonline.us.to{TOPIC_URL}]{TOPIC_TITLE}[/url]</textarea></div></div></div>
7.  <div style="float: right;"><span class="ca3post" padding-left: 21px;"><a title="Chia sẻ bài viết này đến với bạn bè" class="lttluvmes" href="#" onmouseover="showtip('<font color=#e3d344>Chia sẻ bài viết cho bạn bè qua các mạng xã hội!');" onmouseout="hidetip();" ><span class="genmed">Chia sẻ</span></a></span></div>

<!-- BEGIN postrow --> 
      <!-- BEGIN displayed -->
      <div class="post" {postrow.displayed.THANK_BGCOLOR}>
        <a name="{postrow.displayed.U_POST_ID}"></a>
        <div class="postmain" {postrow.displayed.THANK_BGCOLOR}>
            <div id="p{postrow.displayed.U_POST_ID}" class="posthead" {postrow.displayed.THANK_BGCOLOR}>
              <h2>
                  <a href="?showpost={postrow.displayed.U_POST_ID}"><strong>#{postrow.displayed.COUNT_POSTS}</strong></a>{postrow.displayed.ICON}
                  <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a>
              </h2>
            </div>
            <div class="postbody" {postrow.displayed.THANK_BGCOLOR}>
              <div class="user">
                  <div class="user-ident" id="userinfo{postrow.displayed.U_POST_ID}" style="position: relative;">
                    <div class="posthead">
                        <em>{postrow.displayed.POST_DATE_NEW}</em>
                    </div>
                    <div onmouseover="show_user({postrow.displayed.U_POST_ID})" onmouseout="hide_user({postrow.displayed.U_POST_ID})" class="userInfoF">
                        <div class="useravatar" style="float: left;">{postrow.displayed.POSTER_AVATAR}</div>
                        <div class="user-info">
                          <div class="manuUserF">
                              <strong>{postrow.displayed.POSTER_NAME}</strong>
                              <span class="fmviOnoff">{postrow.displayed.ONLINE_IMG}</span>                             
                          </div>
                          <dl class="cl" style="float:right; width: 370px;">
                              <!-- BEGIN profile_field -->
                              <dt>{postrow.displayed.profile_field.LABEL}</dt>
                              <dd>{postrow.displayed.profile_field.CONTENT}</dd>
                              <!-- END profile_field -->
                          </dl>
                          <div>
                              <span style="color:blue">Phương châm:</span>
                              <marquee class="status"></marquee>
                          </div>
                          <div class="morelink">
                              <a target="_blank" class="Upro5"><img alt="Tường nhà" src="http://i48.servimg.com/u/f48/16/58/89/73/profil10.png" />Tường nhà</a>
                              <a target="_blank" class="Utopic"><img alt="Xem bài viết" src="http://i48.servimg.com/u/f48/16/58/89/73/total_10.gif" />Bài viết</a>
                              <a target="_blank" class="Ufrien"><img alt="Kết bạn" src="http://i48.servimg.com/u/f48/16/58/89/73/friend10.png" />Kết bạn</a>
                              <a target="_blank" onClick="javascript:alert('Đang phát triển')" class="Umoney"><img alt="Tài sản" src="http://i48.servimg.com/u/f48/16/58/89/73/table_10.png" />Tài sản</a>
                          </div>
                        </div>
                    </div>

                    <div class="user-basic-info">
                        <div onmouseover="show_user({postrow.displayed.U_POST_ID})" class="useravatar" style="padding: 15px 0 15px 9px">{postrow.displayed.POSTER_AVATAR}</div>
                        <p class="rankimg" style="padding:11px">
  <table width="155px">
<tr>
<td>
<div class="">
<fieldset style="border: 1px solid; margin: 5px; padding: 5px 10px;"><legend>Tước hiệu</legend>
<FONT face="Times New Roman">
<B>
<font size=3 style="text-shadow: 0px 0px 6px rgb(800, 0, 100), 0px 0px 5px rgb(800, 0,100), 0px 0px 5px rgb(800, 0,100);" color="#EDEA1F">
<marquee scrollamount="4">{postrow.displayed.POSTER_RANK}</marquee></font>
</B>
</FONT>
</div></td>
</tr>
</table>{postrow.displayed.RANK_IMAGE}</p>
                    </div>
                  </div>
              </div>
       
            <div class="post-entry">
                  <div class="entry-content">
                    <div>
                        <div>{postrow.displayed.MESSAGE}</div>
                        <!-- BEGIN switch_attachments -->
                        <dl class="attachbox">
                          <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
                          <dd>
                              <!-- BEGIN switch_post_attachments -->
                              <dl class="file">
                                <dt>
                                    <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}"
                                    />
                                    <!-- BEGIN switch_dl_att -->
                                    <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a>{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
                                    <!-- END switch_dl_att -->
                                    <!-- BEGIN switch_no_dl_att -->{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT}
                                    {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
                                    <!-- END switch_no_dl_att -->
                                </dt>
                                <!-- BEGIN switch_no_comment -->
                                <dd>
                                    <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
                                </dd>
                                <!-- END switch_no_comment -->
                                <!-- BEGIN switch_no_dl_att -->
                                <dd>
                                    <em>
                                      <strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong>
                                    </em>
                                </dd>
                                <!-- END switch_no_dl_att -->
                                <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE})
                                    {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
                              </dl>
                              <!-- END switch_post_attachments -->
                          </dd>
                        </dl>
                        <!-- END switch_attachments -->
                        <div class="clear"></div>
                    </div>
                  </div>
                                        </div>
            </div>
            <!-- BEGIN switch_signature -->
            <div class="sig-content"><!-- Khung chữ ký -->
          <div class="postsignature"><div style="width:100%;">
            <img class="title" rel="nofollow" src="http://sinhvienit.net/@forum/vtlai_img/sign-line.png"/>
        <div class="content">{postrow.displayed.SIGNATURE_NEW}</div>
            </div></div>
            <!-- / Khung chữ ký --></div>
            <!-- END switch_signature -->
            <div class="postfoot">
              <div class="options-button user-contact">{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}
                  <!-- BEGIN contact_field -->{postrow.displayed.contact_field.CONTENT}
                  <!-- END contact_field -->
              </div>
              <div class="post-options">
            <iframe style="display:none" name="vote{postrow.displayed.U_POST_ID}" height="0px" width="0px" frameborder="0"></iframe>                                         
            <div onmouseover="show_like({postrow.displayed.U_POST_ID})" onmouseout="hide_like({postrow.displayed.U_POST_ID})" class="FMvi-like">
              <a target="vote{postrow.displayed.U_POST_ID}" class="nolikeplus" onclick="comment_like({postrow.displayed.U_POST_ID})"><p id="FMvi_like{postrow.displayed.U_POST_ID}" class="likeNone">Thích</p></a>
              <a onclick="report_like({postrow.displayed.U_POST_ID})" target="vote{postrow.displayed.U_POST_ID}" class="nolikeminus">Báo xấu [<font color="red">0</font>]</a>
              <div id="nub{postrow.displayed.U_POST_ID}" class="nub"></div>
              <div id="like{postrow.displayed.U_POST_ID}" class="commentLike">
                  <span class="closeFMvi_like" style="display:none" onclick="close_like({postrow.displayed.U_POST_ID})"></span>
                  <p></p>
                            <div class="loaddingLike"></div>
                  <em>Gửi một bình luận lên tường nhà {postrow.displayed.POSTER_NAME}<br /></em>
                  <input onkeyup="send_comment(event,{postrow.displayed.U_POST_ID})" type="text" value="" />
              </div>
              <div style="display:none" id="data-link-comment{postrow.displayed.U_POST_ID}"></div>
                                                <!-- BEGIN switch_vote_active -->
                                                  <!-- BEGIN switch_vote -->
                                                  <a style="display:none" class="likeplus" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><p class="likeNone">Thích</p></a>
                                                  <!-- END switch_vote -->
                                                  <!-- BEGIN switch_bar -->
                                                  <div style="display:none" class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
                                                      <!-- BEGIN switch_vote_plus -->
                                                      <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
                                                      <!-- END switch_vote_plus -->
                                                      <!-- BEGIN switch_vote_minus -->
                                                      <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
                                                      <!-- END switch_vote_minus -->
                                                  </div>
                                                  <!-- END switch_bar -->
                                                  <!-- BEGIN switch_vote -->
                                                  <a style="display:none" class="likeminus" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">Báo xấu</a>
                                                  <!-- END switch_vote -->
                                                <!-- END switch_vote_active -->
                                                </div>
                                   
                                                <span class="options-button">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG}
                  {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG}
                                                  {postrow.displayed.REPORT_IMG}</span></div>
              <div style="clear:both;"></div>
            </div>
        </div>
      </div>
      <!-- BEGIN first_post_br -->
  </div>
  <hr id="first-post-br" />
  <div class="main-content topic">
      <!-- END first_post_br -->
      <!-- END displayed -->
      <!-- BEGIN hidden -->
      <p class="p-hidden">{postrow.hidden.MESSAGE}</p>
      <!-- END hidden -->
      <!-- END postrow -->
  </div>
    <script type="text/javascript" src="http://fmvi-group.googlecode.com/files/FMvi-avatar-like.js"></script>
    <div class="main-foot clearfix">
        <p class="h2">
            <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a>  
            {L_MESSAGE} [{PAGE_NUMBER}]
        </p>
        <p class="options">
            <input type="hidden" name="t" value="{TOPIC_ID}" />

            <!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
            <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />

            <!-- BEGIN viewtopic_bottom -->
            {S_TOPIC_ADMIN}
            <!-- END viewtopic_bottom -->
        </p>
    </div>

    <a name="bottomtitle"></a>

    <div class="paged-foot clearfix">
        <!-- BEGIN topicpagination -->
        <p class="paging">{PAGINATION}</p>
        <!-- END topicpagination -->
        <p class="posting">
            <!-- BEGIN switch_user_authpost -->
            <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>  
            <!-- END switch_user_authpost -->

            <!-- BEGIN switch_user_authreply -->
            <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
            <!-- END switch_user_authreply -->
        </p>
    </div>

</div>

<div class="pun-crumbs">
    <p class="crumbs">
        <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » 
        <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
    </p>
</div>

<!-- BEGIN promot_trafic -->
<div class="main" id="ptrafic_close" style="display:none">
    <div class="main-head clearfix">
        <p class="h2">{PROMOT_TRAFIC_TITLE}</p>
        <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p>
    </div>
</div>
<div class="main" id="ptrafic_open" style="display:''">
    <div class="main-head clearfix">
        <p class="h2">{PROMOT_TRAFIC_TITLE}</p>
        <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p>
    </div>
    <div class="main-content clearfix">
        <!-- BEGIN link -->
        » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br />
        <!-- END link -->
    </div>
</div>
<!-- END promot_trafic -->

<!-- BEGIN switch_forum_rules -->
<div class="main" id="forum_rules">
    <div class="main-head clearfix">
        <p class="h2">{L_FORUM_RULES}</p>
    </div>
    <table class="main-content frm">
        <tr>
            <!-- BEGIN switch_forum_rule_image -->
            <td class="logo">
                <img src="{RULE_IMG_URL}" />
            </td>
            <!-- END switch_forum_rule_image -->
            <td class="rules entry-content">
                {RULE_MSG}
            </td>
        </tr>
    </table>
</div>
<!-- END switch_forum_rules -->

<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->

<div id="pun-info" class="main">
    <div class="main-content">
        <div id="stats">
            <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p>
        </div>
    </div>
</div>

<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->

<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>

http://ketnoi4allvn.forum6.biz

14[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Fri Jul 06, 2012 8:15 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

được roài.hihi
Bi chừ thì bạn zô lại viewtopic_body của bạn vào tìm link sau
Code:
http://fmvi-group.googlecode.com/files/FMvi-avatar-like.js

sau đó thay bằng cái link mà bạn đã tao js bằng code Bim đưa, lắp zô chỗ nớ.
Rứa là ổn lun.hihi

http://streetcrew.forum.st/

15[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Sat Jul 07, 2012 2:24 pm

Kelbin

Kelbin
Thành Viên
Thành Viên

cho hỏi sao nút thích bấm không được ?

http://gnoblesse.tk

16[Code] Avatar Drop cho punBB Empty Re: [Code] Avatar Drop cho punBB Sat Jul 07, 2012 2:48 pm

-CuBimtQ™

-CuBimtQ™
Coder
Coder

vì bi chừ cái fmvi nó tiêu rùi.hehe
chừ nó k ấn zô được nút thích đâu.hehe

http://streetcrew.forum.st/

Sponsored content



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