SafeShared Upload cho SCEditor
Đi dạo bên V-Z thấy cái Upload hay hay nên đưa vào FM cho những forum làm Game hay gì liên quan đến Upload thì lấy mà dùng!
Demo
[You must be registered and logged in to see this image.]
Upload File bằng Safe Upload
Upload File bằng Safe Upload
Chức năng
Ưu điểm:- Upload được file lớn (4Gb).
- Lưu trữ vĩnh viễn nếu nhiều người dùng.
- Có thể xem file đã upload mà không cần đăng nhập.
- Tốc độ upload và download nhanh.
Nhược điểm:
- Sau 90 ngày mà ít người download sẽ bị xóa file.
- File sau khi upload sẽ bị chuyển về file tự giải nén (.exe) và gắn thêm phần mềm quảng cáo.
Hướng dẫn
ACP >> Modules >> HTML & JAVASCRIPT >> Javascript codes management >> [You must be registered and logged in to see this image.] Create a new javascript
- Title * : SCEditor SafeShared Upload
- Placement : In all the pages (Nếu muốn ở tất cả các trang) - In the topics (Nếu muốn ở khung trả lời nhanh)
- Javascript Code * :
- Code:
$(document).on('ready', function() {
$(".sceditor-container").append('<div class="sceditor-dropdown sceditor-newtab" style="display:none;margin-top: 27px;"><iframe src="http://safeshared.com/3wupload" style="padding-bottom:5px;" frameborder="1" height="150px" scrolling="no" width="300px"></iframe></div>');
$('<a class="sceditor-button bbcode-upload" title="Upload lên SafeShared"><div style="background-image:url(http://i.imgur.com/vU0Y04s.png)">Upload</div></a>').insertAfter('.sceditor-button-fahide').click(function() {
$(".sceditor-newtab").css({
"left": $(this).position().left,
"top": $(this).position().top
});
$(".sceditor-newtab").toggle();
});
});