Thay avatar ngay lập tức từ hình ảnh trong bài viết.
Thông báo khi thay avatar thành công và khi xảy ra lỗi.
Giới hạn số lần thay đổi avatar nhanh.
Bước 1: ACP - QLTT - Messages and e-mails - Announcements - General announcements options
- Activate announcements : Có
- Announcements display : All pages
- Scrolling : Go left
Announcements
- Name : FMvi.vn - Thay avatar
- Content * :
- Code:
<span style="display:none" id="userID">{USERLINK}</span>
Bước 2: ACP - Display - Pictures and Colors - Colors - CSS Stylesheet
- Code:
/* Thay avatar - www.fmvi.vn */
.alert .close{position:relative;top:-2px;right:-21px;float:right;font-size:13px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:0.2;filter:alpha(opacity=20)}
.alert .close:hover{color:#000;text-decoration:none;opacity:0.4;filter:alpha(opacity=40);cursor:pointer}
.alert{display:none;top:5px;position:fixed;left:5px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853;padding:8px 35px 8px 14px}
.alert-success{background-color:#dff0d8;color:#468847;border-color:#d6e9c6}
.alert-error{background-color:#f2dede;color:#b94a48;border-color:#eed3d7}
.fmvichange{display:inline-block!important;position:relative;margin:0!important;padding:0!important}
.fmvichange:hover .changeatvar{display:block!important}
.changeatvar{margin:0!important;cursor:pointer;background:url(http://i47.servimg.com/u/f47/17/47/88/95/profil11.png) no-repeat scroll 5px center #DDD;border:1px solid #777;color:#484A48;display:none!important;font-weight:700;left:0;position:absolute;text-shadow:1px 1px 1px #FFF;top:0;width:90px;z-index:999;padding:2px 5px 5px 23px!important}
Bước 3: ACP - Modules - HTML & JAVASCRIPT - Javascript codes management - Create a new javascript:
Hướng dẫn cho skin FMvi ver.2:
- Title * : FMvi.vn - Thay avatar nhanh tại nọi mơi
- Placement : In the topics
- Javascript Code * : Download http://fmvi-group.googlecode.com/files/change-avatar-url-fmvi.js
punBB
- Code:
numA = 7;
verA = ".entry-content";
verB = ".frm-set:first img:first";
verC = ".user";
verD = "#main-content .message a";
// download file script, lấy code và đặt dưới dòng này
phpBB3
- Code:
numA = 7;
verA = ".postbody";
verB = ".panel:eq(1) img:first";
verC = ".postprofile";
verD = ".panel a";
// download file script, lấy code và đặt dưới dòng này
phpBB2
- Code:
numA = 7;
verA = ".postbody";
verB = "#register .forumline img:first";
verC = ".postdetails.poster-profile";
verD = ".forumline .gen a";
// download file script, lấy code và đặt dưới dòng này
Invision
- Code:
numA = 7;
verA = ".post-entry";
verB = "#ucp .box-content img:first";
verC = ".postprofile-details.postdetails";
verD = ".msg a";
// download file script, lấy code và đặt dưới dòng này
Custom - Dành cho những forum đã thay đổi Templates
- Code:
numA = Giới hạn số lần thay avatar;
verA = Khung nội dung bài viết;
verB = Khung trang thay avatar;
verC = Khung thông tin người viết bài;
verD = Khung trang thông báo;
// download file script, lấy code và đặt dưới dòng này
Thay số 7 bằng số lần giới hạn thay avatar nhanh