Trước Tiên Moon đề nghị cần 4 box sau:
1.Box ý kiến
2.Box Thư Viện code(cái này do Admin & Mod quản lý chung)
3.Box Avatar chuyên update cho Mem
4.Box Tâm sự (tránh tình trạng viết trùng lấp bài viết)
Đây code mình viết cho Admin và mod tham khảo cái này mình viết ra vì tính chất xây dựng cảm ơn các bạn đã xem và hãy để lại ý kiến vì code này mình mất 7 ngày mới viết xong.)
*Mội Chi tiết Liên hệ về Phòng Hành chánh trực sở trung ương Thư Viện code số:CTV.Mod_GM@yahoo.com
Code:
Hướng dẫn chung:
+/Vào ACP/ Custom BBCode / Add New BB Code
+/Thêm thông tin vào các mục tương ứng
1>BBcode chèn nhạc (video) từ Zing mp3, nhaccuatui, file flash
Tiêu đề (title): Media
BB Code Tag Name: FLASH
Thay thế (Replacement):
<center>
<object width="400" height="300">
<param name="movie" value="{param}">
<embed src="{param}" width="400" height="300" type="application/x-shockwave-flash"></embed>
</center>
Có thể căn trái ,phải ,giữa, và chỉnh độ rộng ,chiều cao tùy ý
Description: bỏ qua
Use {option}: No
Button Image:
[You must be registered and logged in to see this link.] Remove Tag If Empty:yes
Disable BB Code Within This BB Code:yes
Disable Smilies Within This BB Code: yes
Disable Word Wrapping Within This BB Code: yes
Disable Automatic Link Parsing Within This BB Code: yes
Cách dùng:
Copy toàn bộ phần code Copy vào diễn đàn ở các trang nhaccuatui hay zing...
Sau đó paste vào khung soạn thảo --> OK!!!
hoặc chèn vào thẻ:
HTML Code:
2>BBCode Spoiler(Ẩn - Hiện nội dung bài viết)
Khi một bài viết quá dài ta có thể sử dụng chức năng này để ẩn,hiện nội dung cả bài viết hoặc một đoạn trong bài viết chỉ qua một nút bấm đơn giản
Chủ đề: Spoiler
Tag: Spoiler
Replacement:
<div style="margin:0px 0px 0px 0px">
<div class="smallfont" style="margin-bottom:0px">
<input type="button" value="Hiện" style="width:75px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName(' div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Ẩn'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Hiện'; }">
</div>
<div style="margin: 0px; padding: 0px; border: 0px inset;">
<div style="display: none;">
{param}
</div>
</div>
Example:
Use {option}: No
Button Image (Optional):
HTML Code:
[You must be registered and logged in to see this link.] 3>BBcode Youtube
Đôi khi thẻ Video có sẵn bị lỗi, bạn có thể dùng Code này để post Video từ Youtube
Tiêu đề: youtube
BB Code Tag Name: youtube
Replacement:
<script language="JavaScript" type="text/javascript">
var link="{param}";
pos=link.indexOf("
[You must be registered and logged in to see this link.]if(pos>=0) {
linkid=link.substr(31,11);
document.write ("<center><a href='"+link+"' target='_blank'>"+link+"</a><br><br>");
document.write ("<object width=600 height=400><param name='movie' value='https://www.youtube.com/v/"+linkid+"'></param><embed src='https://www.youtube.com/v/"+linkid+"' type='application/x-shockwave-flash' width='600' height='400'></embed></object>");
document.write ("</center>");
}
else {
document.write ("File not found!");
}
</script>
Example:
[V-Z]
Use {option} No
Button Image:
HTML Code:
[You must be registered and logged in to see this link.] Remove Tag If Empty Yes
Disable BB Code Within This BB Code No
Disable Smilies Within This BB Code No
Disable Word Wrapping Within This BB Code No
Disable Automatic Link Parsing Within This BB Code Yes
4> BBcode chữ chạy
Tiêu đề: Chữ chạy
BB Code Tag Name: MARQUEE
Replacement:
<marquee scrollamount="3">{param}</marquee>
Example: chữ chạy
Use {option} No
Button Image (Optional)
HTML Code:
[You must be registered and logged in to see this link.] Remove Tag If Empty Yes
Disable BB Code Within This BB Code No
Disable Smilies Within This BB Code NoDisable Word Wrapping Within This BB Code No
Disable Automatic Link Parsing Within This BB Code No
5> BBcode chữ nhấp nháy
Tiêu đề: Blink
BB Code Tag Name: blink
Replacement:
<blink>{param}</blink>
Example: [blink]Chữ nhấp nháy[*/blink]
(Bỏ dấu * đi nhé)
Use {option} No
Button Image (Optional)
HTML Code:
[You must be registered and logged in to see this link.] Remove Tag If Empty Yes
Disable BB Code Within This BB Code
No
Disable Smilies Within This BB Code No
Disable Word Wrapping Within This BB Code No
Disable Automatic Link Parsing Within This BB Code No
Đang cập nhật
......
......
......
Thư viện ảnh
1>Huy chương:
Bộ huy chương hoàng gia
[You must be registered and logged in to see this link.]2> Cấp bậc (Rank)
Tổng hợp rank (Liên tục sửa đổi và bổ xung )
[You must be registered and logged in to see this link.]3>Biểu tượng vui (Smile)
Yahoo:
[You must be registered and logged in to see this link.]Cici:
[You must be registered and logged in to see this link.]Onion:
[You must be registered and logged in to see this link.]Yoyo: ( Taichinh2a.com đang dùng )
[You must be registered and logged in to see this link.]CrazyRabbit:
[You must be registered and logged in to see this link.]Cute Smiles:
[You must be registered and logged in to see this link.]