Viet Fan's Club
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.
Viet Fan's Club

-‘๑’- IDOL VIET -‘๑’- › ::[ Fan Club ]:: -‘๑’- Thế Giới Điện Ảnh › Thế Giới Giải Trí
 
PortalPortal  Trang ChínhTrang Chính  Music OnlineMusic Online  Xem Phim Onl/DownXem Phim Onl/Down  Latest imagesLatest images  Tìm kiếmTìm kiếm  Đăng kýĐăng ký  Đăng NhậpĐăng Nhập  

 

 Các câu hỏi thường gặp ở IFB - (có kèm mod)

Go down 
Chuyển đến trang : Previous  1, 2
Tác giảThông điệp
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:08 am

28.Mod "chatroom"

ADMIN CP > SKINNING & STYLES > BOARD WRAPPERS ->HEADER & BODY
Trước
"<% BOARD HEADER %>"

Code:
 <script type='text/javascript'>
<!--
// add link on the portal side of the submenu
// code by ticlo
function addSubmenuLink(url, text, blank) {
var e
e = document.getElementById('submenu')
if (e && e.nodeName == 'TABLE') {
e.rows[0].cells[0].innerHTML += ' · <a href="' + url + '"' + (blank ? ' target="_blank"' : '') + '>' + text + '</a>'
}}
addSubmenuLink('http://members.shaw.ca/globalpersia/chatroom.html',  '<img src="http://www.essene.com/YaBBImages/chat.gif"border="0"/>ChatRoom')
-->
</script>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:10 am

29.Mod "Shop"

Bước 1: Bạn vô login vô Admin CP. Bạn bấm vô "New Category".Tên trong Category "Store", và bạn chỉnh lại thành "Hidden from forum list- can access via url if known".
Bước 2: Làm tên forum mới trong Category: "Main Page" hay "Store Index" cũng được.
Bước 3: Bạn mà làm xong hai forum đó thì bấm vô "Manage Forums". Và bấm vô bức hình
Bước 4: Bạn đổi cái Display method tới "Show Link Only". Và trong rules title, type:"<center>Store Index</center>" or "<center>Main Page</center>"
Bây giờ bạn bỏ Layout 1, để đoạn code in Rules Text (chỉnh lại những màu nào là màu đỏ là được rồi):

Code:
 <table width='[color=red]100%[/color]' border='[color=red]1[/color]' align='top' cellpadding='0' cellspacing='0' bgcolor='[color=red]#000000[/color]'>
<tr>
  <td width='[color=red]200[/color]'><div class='tableborder'>
<div class='maintitle'><center>[color=red]Personal Links[/color]</div>
<div class='tablepad'>
<span class='desc'><div align="[color=red]left[/color]"><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a></span>
<br /> 
</div>
</div></div>
<div class='tableborder'>
<div class='maintitle'><center>[color=red]Shop Categories[/color]</div>
<div class='tablepad'>
<span class='desc'><div align="[color=red]left[/color]"><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a></span><br /></div></div></div>
<div class='tableborder'>
<div class='maintitle'>[color=red]RPG Shops[/color]</div>
<div class='tablepad'>
<span class='desc'><div align="[color=red]left[/color]"><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a></span>
<br /> 
</div>
</div></div><div class='tableborder'>
<div class='maintitle'>[color=red]Restaurants[/color]</div>
<div class='tablepad'>
<span class='desc'><div align="[color=red]left[/color]"><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a></span></span>
<br /> 
</div>
</div></div><div class='tableborder'>
<div class='maintitle'>[color=red]Misc. Links[/color]</div>
<div class='tablepad'>
<span class='desc'><div align="[color=red]left[/color]"><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a></span>
</div>
</div></div><div class='tableborder'>
<div class='maintitle'>[color=red]Homes[/color]</div>
<div class='tablepad'>
<span class='desc'><div align="[color=red]left[/color]"><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a></span>
</div>
</div></div><div class='tableborder'>
<div class='maintitle'>[color=red]Staff[/color]</div>
<div class='tablepad'>
<span class='desc'><div align="[color=red]left[/color]"><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a><br><a href="[color=red]URL HERE[/color]">[color=red]LINK NAME HERE[/color]</a></span>
</div>
</div></div>
</td><td>
<div id="skippy" style="width:[color=red]560[/color]px; height:[color=red]600[/color]px; border: 1px solid [color=red]#666666[/color]; overflow:auto;scrollbar-arrow-color: [color=red]#666666[/color]; scrollbar-darkshadow-color: [color=red]#000000[/color]; scrollbar-track-color: [color=red]#000000[/color]; scrollbar-face-color: [color=red]#000000[/color]; scrollbar-shadow-color: [color=red]#000000[/color]; scrollbar-highlight-color: [color=red]#FFFFF[/color]; scrollbar-3dlight-color: [color=red]#000000[/color];">
<font color="[color=red]FFFFFF[/color]">[color=red]INFORMATION HERE![/color]</td></table>

Bước 5: Nhắc lại từ buớc 1-4 mỗi trang bạn phải bạn làm hình dáng như thế nào thì các bạn có thể chỉnh lại.

Code:
 <a href="http://invisionfree.com/forums/support/index.php?showtopic=66779">IF Store Hack</a> by <a href="http://s10.invisionfree.com/Internet_website/">Remus Lupin</a>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:12 am

30. Mod Âm Nhạc

DEMO http://giangho.f2g.net/musicbox
Đầu tiên, các bạn download file Ở ĐÂY.
Okie, check lại xem nhé, trong file vừa unzip có các file sau
-index.html (nơi mà music box của bạn sẽ chạy)
-site: nguyên các khung nhạc của bạn
-style
-logo.swf (database, hay còn gọi là list các bài hát)

Okie, bây giờ bắt tay vào tìm hiểu add bài hát và Album thế nào nhé
Các bạn mở file logo.swf lên (nhớ là mở bằng Notepad hoặc các trình duyệt hỗ trợ khác cũng được)
Khi mở lên bạn sẽ thấy 1 đống như thế này Laughing
Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Untitledcứ bình tĩnh xem đã nào :K

Thữ phân tích 1 đoạn xem sao nhé:



Code:
 addA('Bến vắng -Cẩm Ly');
addS("http://203.162.130.166/VnMedia/av_148.wmv");addT("Tình khúc dở dang");
addS("http://203.162.130.166/VnMedia/av_92.wmv");addT("Bến vắng");
addS("http://203.162.130.166/VnMedia/av_89.wmv");addT("Bí ẩn vầng trăng");
addS("http://203.162.130.166/VnMedia/av_87.wmv");addT("Biển trắng");
addS("http://203.162.130.166/VnMedia/av_150.wmv");addT("Bức tranh muôn màu");
addS("http://203.162.130.166/VnMedia/av_100.wmv");addT("Bước chân tình yêu");
addS("http://203.162.130.166/VnMedia/av_124.wmv");addT("Chiếc nhẫn ngày xưan");
addS("http://203.162.130.166/VnMedia/av_153.wmv");addT("Chim trắng mồ côi");
addS("http://203.162.130.166/VnMedia/av_113.wmv");addT("Chuyện tình mùa đông");
addS("http://203.162.130.166/VnMedia/av_131.wmv");addT("Còn mãi tìm nhau");
addS("http://203.162.130.166/VnMedia/av_145.wmv");addT("Cô tấm ngày nay");

Rồi, theo đọan code này thì ta có được

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Untitled2

Hehehe rõ rồi, ta rút được công thức thế này:

Code:
 addA('Tên Album 1');
addS("Link nhạc 1");addT("Tên bài hát 1");
addS("Link nhạc 2");addT("Tên bài hát 2");
addS("Link nhạc 3");addT("Tên bài hát 3");
addS("Link nhạc 4");addT("Tên bài hát 4");
 
addA('Tên Album 2');
addS("Link nhạc 1");addT("Tên bài hát 1");
addS("Link nhạc 2");addT("Tên bài hát 2");
addS("Link nhạc 3");addT("Tên bài hát 3");
addS("Link nhạc 4");addT("Tên bài hát 4");

Wá đơn giản và dễ hiểu phãi ko nèo. Very Happy
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:13 am

31. Làm thế nào khi tôi đưa chuột đến đâu thì ở đó đổi màu ?

Với đoạn mã bên dưới cho phép khi trỏ chuột của bạn lướt trên tiêu đề khung của 1 forum con nào đó thì nó sẽ đổi màu.

Admin Cp > Skinning & Styles > Board Wrappers > Footer

Code:
 <script>
var statusMessage = 'Dien dan www.all4elva.com';
var tCell= document.getElementsByTagName('TD');
for (i=0;i<tCell.length;i++){
if (tCell[i].className=="row4"){
if (tCell[i].innerHTML.match("showforum=")){
tCell[i].onmouseover=function(){this.style.backgroundColor="E6E6FA";this.style.cursor='hand';window.status=this.getElementsByTagName('a')[0].innerHTML;}
tCell[i].onmouseout=function(){this.style.backgroundColor="";}
tCell[i].onclick = function(){location = this.getElementsByTagName('a')[0].href;}
}}}
var tCell2= document.getElementsByTagName('TD');
for (i=0;i<tCell.length;i++){
if (tCell2[i].className=="row4"){
if (tCell2[i].innerHTML.match("showtopic=")){
tCell2[i].onmouseover=function(){this.style.backgroundColor="E6E6FA";this.style.cursor='hand';}
tCell2[i].onmouseout=function(){this.style.backgroundColor=""}
tCell2[i].onclick = function(){location = this.getElementsByTagName('a')[0].href;}
}}}
</script>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:15 am

32. Làm thế nào để có màu cho Group ?
after the <% BOARD %>:
past sau thẻ:<% BOARD %>

Code:
 <script>//Member Title and Group Color Changer - By Markup
group=["Admin","Members"];
style=["filter:glow(color=red,strength=3);height:1px","filter:glow(color=blue,strength=3);height:1px"];
span=document.body.getElementsByTagName("SPAN");
for(i=0;i<span.length;i++)if(span[i].className=="postdetails")
{
if(span[i].innerHTML.match(/<IMG/i))
{
br=span[i].innerHTML.match(/<BR>/i).toString();
sBar=span[i].innerHTML.split(br+br);
sBar[1]=sBar[1].split(br);
for(a=2;a<sBar.length;a++)sBar[2]+=sBar[a];
sBar[2]=sBar[2].split("Group: ");
grp=sBar[2][1].split("Posts: ");
grp[0]=grp[0].split(br)[0];
for(a=0;a<group.length;a++)if(grp[0]==group[a])span[i].innerHTML=sBar[0]+'<BR><BR><SPAN STYLE="'+style[a]+'">'+sBar[1][0]+'</SPAN><BR>'+sBar[1][1]+sBar[2][0]+'<BR><BR>Group: <SPAN STYLE="'+style[a]+'">'+grp[0]+'</SPAN><BR>Posts: '+grp[1];
}
}
</script>

Change Member Title Color Only

Code:
 <script>//Member Title Color Changer - By Markup
group=["Admin","Members"];
style=["filter:glow(color=red,strength=3);height:1px","filter:glow(color=blue,strength=3);height:1px"];
span=document.body.getElementsByTagName("SPAN");
for(i=0;i<span.length;i++)if(span[i].className=="postdetails")
{
if(span[i].innerHTML.match(/<IMG/i))
{
br=span[i].innerHTML.match(/<BR>/i).toString();
sBar=span[i].innerHTML.split(br+br);
sBar[1]=sBar[1].split(br);
for(a=2;a<sBar.length;a++)sBar[2]+=sBar[a];
sBar[2]=sBar[2].split("Group: ");
grp=sBar[2][1].split("Posts: ");
grp[0]=grp[0].split(br)[0];
for(a=0;a<group.length;a++)if(grp[0]==group[a])span[i].innerHTML=sBar[0]+'<BR><BR><SPAN STYLE="'+style[a]+'">'+sBar[1][0]+'</SPAN><BR>'+sBar[1][1]+sBar[2][0]+'<BR><BR>Group: '+grp[0]+'<BR>Posts: '+grp[1];
}
}
</script>

Change Group Color Only

Code:
 <script>//Group Color Changer - By Markup
group=["Admin","Members"];
style=["filter:glow(color=red,strength=3);height:1px","filter:glow(color=blue,strength=3);height:1px"];
span=document.body.getElementsByTagName("SPAN");
for(i=0;i<span.length;i++)if(span[i].className=="postdetails")
{
if(span[i].innerHTML.match(/<IMG/i))
{
br=span[i].innerHTML.match(/<BR>/i).toString();
sBar=span[i].innerHTML.split(br+br);
sBar[1]=sBar[1].split(br);
for(a=2;a<sBar.length;a++)sBar[2]+=sBar[a];
sBar[2]=sBar[2].split("Group: ");
grp=sBar[2][1].split("Posts: ");
grp[0]=grp[0].split(br)[0];
for(a=0;a<group.length;a++)if(grp[0]==group[a])span[i].innerHTML=sBar[0]+"<BR><BR>"+sBar[1][0]+"<BR>"+sBar[1][1]+sBar[2][0]+"<BR><BR>Group: <SPAN STYLE='"+style[a]+"'>"+grp[0]+"</SPAN><BR>Posts: "+grp[1];
}
}
</script>

néu như forum của bạn có tạo thêm group như mod hay smod thì nhớ thêm:

Code:
 group=["Admin","Members"];

là okies hen chúc các mem thành công
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:15 am

33. Tôi muốn có 1 bảng chào mừng ?
Admin Cp > Skinning & Styles > Board Wrappers > Header & Body > <% BOARD HEADER %>

Code:
 <script>
/*Guest Welcome box by Gornakle of Invisionfree.
Redistributed for Vn communities by all4elva.com */

//Địa chỉ của forum bạn, bắt đầu bằng http://  và kết thúc tại index.php?
BoardURL="http://www.all4elva.com/index.php?" 
//Thay bằng tên diễn đàn của bạn
Boardname="All4elva.com"
//Hiện bàng thông báo sau khi đã đăng nhập ("Y" = yes, "N" = no)
LoggedOn="Y"
//Nội dung thông báo hiện ra sau khi đã đăng nhập (HTML phải có hiệu lực)
Logged_Message=""
//Hiện bảng chào mừng Guest? ("Y" = yes, "N" = no)
GuestOn="Y"
//Nội dung thông báo hiện ra đối với Guest (HTML phải có hiệu lực))
Guest_Message="Chào mừng bạn đã ghé thăm All4elva.com"
//Hình đại diện trong khung, phải bắt đầu với "http://"
AvatarURL=""   
AvWidth="100"          // Chiều rộng hình đại hiện
AvHeight="55"          //Chiều dài hình đại diện

IconURL="địa chỉ Icon nhỏ ở trong tiêu đề bảng thông báo"
// Phải bắt đầu với "http://"
IcWidth="8"            //Chiều rộng Icon
IcHeight="8"          //Chiều dài Icon
</script>
<script src="http://www.studio1haarmode.nl/gbox.js"></script>
hoặc
Code:
 if (GuestOn=="Y")
if(userlinks.innerHTML.match(/Guest/)){document.write('<center><div class="maintitle" cellSpacing="1" cellPadding="4" style="WIDTH: 90%; HEIGHT: 20px" align="left"><img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" src="' + IconURL + '" border="0" width="' + IcWidth + '" height="' + IcHeight + '"> Welcome to ' + Boardname + '!</div><table style="font-size: 11px; font-family: Verdana, Tahoma, Arial, sans-serif" cellSpacing="1" cellPadding="4" width="90%" border="0" height="69"><tr style="font-size: 11px; font-family: Verdana, Tahoma, Arial, sans-serif"><td class="row2" width="10%" height="60" rowspan="2"><center><p><img src="' + AvatarURL + '" border="0" width="' + AvWidth + '" height="' + AvHeight + '"></p></center></td><td class="row2" width="37%" height="19"><p align="center"> <a href="' + BoardURL + '" style="text-decoration: underline;"> Home</a> | <a style="text-decoration: underline;" href="' + BoardURL + 'act=Reg&CODE=00"> Đăng ký</a> | <a href="' + BoardURL + 'act=Login&CODE=00">Login </a> | <a href="' + BoardURL + 'act=Search&f=">Search</a> | <a href="' + BoardURL + 'act=Members">Members</a> | <a href="' + BoardURL + 'act=Lịch">Lịch</a></td><td class="row2" width="10%" height="60" rowspan="2"><table style="font-size: 11px; font-family: Verdana, Tahoma, Arial, sans-serif" cellSpacing="1" cellPadding="4" width="100%" border="0"><form style="DISPLAY: inline" name="LOGIN" action="' + BoardURL + 'act=Login&amp;CODE=01&amp;CookieDate=1" method="post"><tr style="FONT-SIZE: 11px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif"><td class="row4"><b>Username:</b></td><td class="row4"><input style="FONT-SIZE: 10px" name="UserName" size="20"></td></tr><tr style="FONT-SIZE: 11px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif"><td class="row4"><b>Please choose a Password:</b></td><td class="row4"><input style="FONT-SIZE: 10px" type="Please choose a Password" value name="Please choose a Password" size="20"></td></tr><tr style="FONT-SIZE: 11px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif"><td class="row4" align="middle" colSpan="2"><input type="submit" class="forminput" value="Login"></td></tr></form></table></td></tr><tr style="font-size: 11px; font-family: Verdana, Tahoma, Arial, sans-serif"><td class="row2" width="37%" height="41"><p align="center">' + Guest_Message + '</td></p></tr></table></center>');
}
if (LoggedOn=="Y")
if(userlinks.innerHTML.match(/Logged/)){document.write('<center><div class="maintitle" style="WIDTH: 90%; HEIGHT: 20px" align="left"><img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: middle; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" src="' + IconURL + '" border="0" width="' + IcWidth + '" height="' + IcHeight + '"> Welcome back</div> <table style="font-size: 11px; font-family: Verdana, Tahoma, Arial, sans-serif" cellSpacing="1" cellPadding="4" width="90%" border="0" height="90"><tr style="font-size: 11px; font-family: Verdana, Tahoma, Arial, sans-serif"> <td class="row2" width="10%" height="81" rowspan="2"><center><p><img src="' + AvatarURL + '" border="0" width="' + AvWidth + '" height="' + AvHeight + '"></p></center></td><td class="row2" width="37%" height="19"><p align="center"> <a href="' + BoardURL + '" style="text-decoration: underline;"> Home</a> |&nbsp;<a href="' + BoardURL + 'act=Login&CODE=03">Logout</a> | <a href="' + BoardURL + 'act=Search&f=">Search</a> | <a href="' + BoardURL + 'act=Members">Members</a> | <a href="' + BoardURL + 'act=Lịch">Lịch</a></td></tr><tr style="font-size: 11px; font-family: Verdana, Tahoma, Arial, sans-serif"> <td class="row2" width="37%" height="62"><p align="center">' + Logged_Message + '</td></p></tr></table></center>');
}
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:17 am

33.Tôi muốn có 1 thông báo cho thành viên trong lúc post bài ?
Chèn vào footer

Code:
 <script type='text/javascript'>
/*
PM Abuse
Created by Stefan at iF Skin Zone
Redistributed by TeCongGB http://nhatkynet.uni.cc( Làm cho hiển thị ở khung pót bài mới )
*/
if (location.href.match(/act=Post/)||location.href.match(/act=Msg/)) {
e = document.getElementsByTagName('TD')
for (n = 0; n < e.length; n++) {
if (e[n].className == 'pformstrip' && e[n].innerHTML == 'Enter your Post') {
e[n].innerHTML = 'Enter your Message <b><span style="color:red;">(All advertisers will be BANNED.)</span></b>'
}}}
</script>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:17 am

34.Tôi muốn đổi màu thanh cuộn browser ?
Java hoặc cuối cùng của CSS luôn Very Happy

Code:
 <style type="text/css">
<!--
// Redistributed for Vn communities by all4elva.com
body { font-size: 8pt; color: #000000; font-family: verdana, arial, helvetica;
 scrollbar-face-color: #1E90FF;
 scrollbar-shadow-color: #6495ED;
 scrollbar-highlight-color: #87CEFA;
 scrollbar-3dlight-color: #6495ED;
 scrollbar-darkshadow-color: #99CCFF;
 scrollbar-track-color: #99CCFF;
 scrollbar-arrow-color: #191970;}
-->
</style>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:18 am

Chèn thêm mục ở phần member,help....

Code:
 <script>
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://67.15.181.134/5309/49/emo/burn_joss_stick.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=6"><font color="blue">Viết Uớc Nguyện</font></a>'
aLink[1]='<img src="http://67.15.181.134/5309/49/emo/big_smile.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=38"><font color="blue">Truyền Hình Online</font></a>'
aLink[2]='<img src="http://67.15.181.134/5309/49/emo/adore.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=1"><font color="blue">AVata</font></a>'
aLink[3]='<img src="http://67.15.181.134/5309/49/emo/boss.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=8"><font color="blue">Bói Vui</font></a>'
aLink[4]='<img src="http://67.15.181.134/5309/49/emo/dribble.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=12"><font color="blue">Funny Flash</font></a>'
aLink[5]='<img src="http://67.15.181.134/5309/49/emo/misdoubt.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=11"><font color="blue">Anime Gallery</font></a>'
aLink[6]='<img src="http://67.15.181.134/5309/49/emo/too_sad.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=13"><font color="blue">Đọc Truyện</font></a>'
aLink[7]='<img src="http://67.15.181.134/5309/49/emo/byebye.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=33"><font color="blue">Chat Room</font></a>'
aLink[8]='<img src="http://67.15.181.134/5309/49/emo/sexy_girl.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="http://s13.invisionfree.com/nhatkyonline/index.php?act=SR&f=20"><font color="blue">Game Online</font></a>'
var uCell = document.getElementsByTagName('TD')
for (i=0;i<uCell.length;i++){
if (uCell[i].align=="right" && uCell[i].innerHTML.match("act=calendar") && uCell[i].innerHTML.match("act=Help")){
var addLink=""
for (j=0;j<aLink.length;j++){
addLink+=aLink[j]+"  &nbsp; &nbsp;&nbsp;"
}

uCell[i].innerHTML=addLink+uCell[i].innerHTML
}}
</script>

Demo ==> http://s13.invisionfree.com/nhatkyonline/index.php?
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:20 am

Thêm Ký Tự Mặt Cười Vào Bảng Trả lời nhanh

Cho vào footer

Code:
 <script>
<!--
/* -----------------------------------
|Mặt cười trong Quick Reply by es. 2005   
|http://s9.invisionfree.com/ifusion 
|May not be edited without permission
|version 2.02a         
|Redistributed for TeCongGB communities by nhatkynet.uni.cc
------------------------------------*/
//Màu đỏ là mã của emoticon, màu xanh là link đến hình ảnh tương ứng.

emsign = []
emsign[1]=[":D","http://67.15.181.134/5309/49/emo/oo.gif"]
emsign[2]=[":40:","http://67.15.181.134/5309/49/emo/40.gif"]
emsign[3]=[":42:","http://67.15.181.134/5309/49/emo/42.gif"]
emsign[4]=[":72:","http://67.15.181.134/5309/49/emo/72.gif"]
emsign[5]=[":59:","http://67.15.181.134/5309/49/emo/59.gif"]
emsign[6]=[":49:","http://67.15.181.134/5309/49/emo/49.gif"]
emsign[7]=[":cuoilon:","http://67.15.181.134/5309/49/emo/ttt.gif"]
emsign[8]=[":6:","http://67.15.181.134/5309/49/emo/6.gif"]
emsign[9]=[":3:","http://67.15.181.134/5309/49/emo/3.gif"]
//Trong trường hợp bạn không muốn hiển thị tất cả 12 icons
emsign[10]=["","http://proboards8.com/images/blank.gif"]
emsign[11]=["","http://proboards8.com/images/blank.gif"]
emsign[12]=["","http://proboards8.com/images/blank.gif"]


//Vị trí của bảng emoticon left (trái) hoặc right (phải)
position = "left"

document.write('<script src="http://69.93.183.37/2306/165/upload/p3015807.ibf"></script>')

//-->
</script>

Demo ==> http://s13.invisionfree.com/nhatkyonline/index.php?
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:22 am

Chuyển Đổi Skin

footer

Code:
 <center>
<script language="JavaScript">
/*
// Ultimate Skin Chooser script by Ross designed
// specifcally for InvisionFree, idea by Buzz
// edited by countducky
// credit goes to ross and buzz and countducky
// E-mail is rossman005@hotmail.com for ross and kd933@hotmail.com for countducky
// Redistributed for TeCongGB communities by nhatkynet.uni.cc
*/

var scheme = getCookie('template1');
if (scheme == 'creamygreen') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/creamy_green.txt">');
} else if (scheme == 'BoHeGaHa') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/bo_he_ga_ha.txt">');
} else if (scheme == 'IF Default') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/invision_blue.txt">');
} else if (scheme == 'SMGs Silver') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/silver_skin.txt">');
} else if (scheme == 'RJs Green/Black') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/green_black.txt">');
} else if (scheme == 'Blue Matrix') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/blue_matrix.txt">');
} else if (scheme == 'Dead or Alive Xtreme Volleyball') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/doa_volleyball.txt">');
} else if (scheme == 'Red and Black Remix') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/red_black_remix.txt">');
} else if (scheme == 'RJs Silver-Blue') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/silver_blue.txt">');
} else if (scheme == 'Orange Wave') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/orange_wave.txt">');
} else if (scheme == 'Green Alias') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/green_alias.txt">');
} else if (scheme == 'Blue Alias') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/blue_alias.txt">');
} else if (scheme == 'Purple Phenomenon') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/purple_phenomenon.txt">');
} else if (scheme == 'Green Matrix') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/green_matrix.txt">');
} else if (scheme == 'Blue Island') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://members.lycos.nl/filehost/htmlpages/blue_island.txt">');
}
if (scheme == 'Irobot') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.angelfire.com/film2/countducky/I_robot_skin.txt">');
} else if (scheme == 'blacktech') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.angelfire.com/film2/countducky/black_tech_skin.txt">');
} else if (scheme == 'havoc') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://www.angelfire.com/film2/countducky/havoc_skin.txt">');
}
function changeskin(change) {
var scheme = change;
var name = 'template1';
var pathname = location.pathname;
var myDomain = pathname.substring(0,pathname.lastIndexOf('/')) +'/';
var ExpDate = new Date ();
ExpDate.setTime(ExpDate.getTime() + (180 * 24 * 3600 * 1000));
setCookie(name,scheme,ExpDate,myDomain);
}
function getCookie(name){
var cname = name + "=";
var dc = documentcookie;
if (dc.length > 0) {
begin = dc.indexOf(cname);
if (begin != -1) {
begin += cname.length;
end = dc.indexOf(";", begin);
if (end == -1) end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return null;
}

function setCookie(name, value, expires, path, domain, secure) {
documentcookie = name + "=" + escape(value) +
((expires == null) ? "" : "; expires=" + expires.toGMTString()) +
((path == null) ? "" : "; path=" + path) +
((domain == null) ? "" : "; domain=" + domain) +
((secure == null) ? "" : "; secure");
}
</script>
<form></center>
<select onChange="changeskin(this.options[this.selectedIndex].value); window.location.reload();">
<option>Please Select Your Skin
<option value="Creamy Green"> Creamy Green
<option value="BoHeGaHa"> BoHeGaHa
<option value="IF Default"> Invision Blue
<option value="SMGs Silver"> SMG's Silver
<option value="RJs Green/Black"> RJ's Green/Black
<option value="Blue Matrix"> Blue Matrix
<option value="Dead or Alive Xtreme Volleyball"> DoAx Volleyball
<option value="Red and Black Remix"> Red and Black Remix
<option value="RJs Silver-Blue"> RJs Silver-Blue
<option value="Orange Wave"> Orange Wave
<option value="Green Alias"> Green Alias
<option value="Blue Alias"> Blue Alias
<option value="Purple Phenomenon"> Purple Phenomenon
<option value="Green Matrix"> Green Matrix
<option value="Blue Island"> Blue Island
<option value="Irobot"> Irobot
<option value="blacktech"> blacktech
<option value="havoc"> havoc
</select>
</form></center>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:23 am

Lấy Thông tin Máy Tính của Bạn

Code:
 <script>
var dwidth = "width='100%'"
document.write("<div class='tableborder' "+dwidth+">")
document.write("<div class='maintitle' "+dwidth+">Thông Tin Trên Máy Của Bạn Khi Truy Cập Vào Diễn Đàn Nhật Ký Net</div>")
document.write("<div class='row4' "+dwidth+">")
document.write("<b><br>+ Bạn đang dùng trình duyệt :  "+navigator.appName+"<br /><br>+ Độ phân giải màn hình của bạn là:  "+screen.width+" by "+screen.height+" (width x height)<br /><br>+ Chế độ màu màn hình của bạn là: "+window.screen.colorDepth+" bit<br /><br>+ Bạn có  "+navigator.plugins.length+" Plugins")
document.write("</div></b><div class='darkrow2' "+dwidth+"><br /></div></div>")
</script>
<br>

Chèn vào phía dưới <% NAVIGATION %>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:24 am

Giả Bộ Có Nhiều Người Online, Phiên Bản 2

* Thành viên giả xuất hiện trong danh sách Active users
* Gạch dưới tên nick được loại bỏ
* Câu Most user online thay đổi
* Số lượng khách xuất hiện ngẫu nhiên
* Thành viên giả hỗ trợ Profiles ( liên kết với một profile nào đó đã đăng ký từ trước)

Admin Cp > Skinning & Styles > Board Wrappers > Footer

Code:
 <script>
/*
Fake Members Script
Created by Timeless_uk
www.undergroundbattles.co.uk

*/

<!--
var mem=[];

// mem[mem.length]=["Tên thành viên giả","Địa chỉ profile giả"]

mem[mem.length]=["Test","http://s6.invisionfree.com/HIPHOPBATTLEZ/index.php?act=Profile&MID=53"]
mem[mem.length]=["Trist","http://s6.invisionfree.com/HIPHOPBATTLEZ/index.php?act=Profile&MID=10"]
mem[mem.length]=["Karma","http://s6.invisionfree.com/HIPHOPBATTLEZ/index.php?act=Profile&MID=52"]
mem[mem.length]=["Token","http://s6.invisionfree.com/HIPHOPBATTLEZ/index.php?act=Profile&MID=4"]
mem[mem.length]=["Joka",""]
mem[mem.length]=["Sleepless",""]
mem[mem.length]=["Forbz",""]
mem[mem.length]=["Still",""]
mem[mem.length]=["Illunatic",""]
mem[mem.length]=["Face",""]
mem[mem.length]=["Lyric",""]
mem[mem.length]=["Stank",""]
mem[mem.length]=["Intel Tek",""]
mem[mem.length]=["Credz",""]
mem[mem.length]=["Fairy",""]
mem[mem.length]=["Koppa",""]
mem[mem.length]=["Rav",""]
mem[mem.length]=["Xchange",""]
mem[mem.length]=["graphic",""]
mem[mem.length]=["skinless",""]
mem[mem.length]=["cross",""]
mem[mem.length]=["lightz",""]
mem[mem.length]=["Visionize",""]
mem[mem.length]=["forumbeater",""]
mem[mem.length]=["crazy",""]
mem[mem.length]=["christie",""]

var fdiv=document.getElementsByTagName("div")
for(a=0;a<fdiv.length;a++) {
FakeStaff='';
if(fdiv[a].className=="maintitle" && fdiv[a].innerHTML.match("Board Statistics")) {
var UsersOnline=fdiv[parseInt(a)+1]
for(c=0;c<mem.length;c++) {
UsersOnline.innerHTML+=', <a href="'+mem[c][1]+'" style="text-decoration:none;">'+mem[c][0]+'</a>'
}}}
var ftd=document.getElementsByTagName("td")
for(a=0;a<ftd.length;a++) {
if(ftd[a].className=="pformstrip" && ftd[a].innerHTML.match("active in the past")) {
var td=ftd[parseInt(a)+2]
var beforeMemNum=td.innerHTML.split("guests, <B>")[0]+"guests, <b>"
var afterMemNum='</b> members,'+td.innerHTML.split("</B> members,")[1]
var MemNum=parseInt(td.innerHTML.split("guests, <B>")[1].split("</B> members,")[0])+parseInt(mem.length)
var nMemCount=beforeMemNum+MemNum+afterMemNum
td.innerHTML=nMemCount
}}
//-->
</script>

<script>
/*
Change Most Users Online
Created by Timeless_uk
www.undergroundbattles.co.uk

*/

var iMostOnline = "260"

var iTD = document.getElementsByTagName('TD')
for(i=0;iTD.length;i++){
if(iTD[i].className=="row4" && iTD[i].align=="left" && iTD[i].innerHTML.match(/online was (<b>.*<\/b>) on/i) != null)
iTD[i].innerHTML = iTD[i].innerHTML.replace( RegExp.$2 , "<b>" + iMostOnline + "</b>")
}
</script>

<script type="text/javascript">
<!--
/*
CREATED BY TIMELESS_UK OF
WWW.UNDERGROUNDBATTLES.CO.UK
Redistributed for Vn communities by all4elva.com
*/

//Bỏ dòng most users online? y = yes, n = no
var remMostOn = "y";

//Số lượng guest tối đa
var maxNum = 100;

var randNum = Math.floor(Math.random() * maxNum);

var re = /<br>Most users ever.+/i
var iCell = document.getElementsByTagName("td");

for(c=0;c<iCell.length;c++){
  if(iCell[c].className == "row4" && iCell[c].width == "95%" && iCell[c].innerHTML.match(/<b>(\d+)<\/b> guest(s)?, /i)){
      iCell[c].innerHTML = iCell[c].innerHTML.replace(RegExp.$2, randNum);
  }
  if(iCell[c].className == "row4" && iCell[c].width == "95%" && iCell[c].innerHTML.match(re) && remMostOn == "y"){
      iCell[c].innerHTML = iCell[c].innerHTML.replace(re, "");
  }
}

//-->
</script>

<script language=javascript>
<!--
function change(item,item2) {
var range = document.body.createTextRange();
range.collapse(true);
if (location.href.indexOf("action=") != -1 ) {
return false;
} else {
while (range.findText(item)) {
range.text=item2;
range.collapse(false);
}
}
}

change("user(s) active","users are active")
change("1 users are active","40 users is active")
change("2 users are active","40 users is active")
change("3 users are active","40 users is active")
change("4 users are active","40 users is active")
change("5 users are active","40 users is active")
change("6 users are active","40 users is active")
change("7 users are active","40 users is active")
change("8 users are active","40 users is active")
change("9 users are active","40 users is active")
change("10 users are active","40 users is active")

// -->
</script>

<script type='text/javascript' language='JavaScript'>
<!--
var n, l;
for (n = 0; n < document.links.length; n++){
l = document.links[n];
if (l.href.indexOf("showuser=") != -1){
    l.style.textDecoration = 'none';
}
};
// -->
</script>

Nhớ thay các thông số
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:26 am

Nút che và hiện chữ ký

Admin Cp > Skinning & Styles > Board Wrappers > Footer

Code:
 <script>// dSig 2.3 by blakeo_x
// Redistributed for TeCongGB communities by Nhatkynet.uni.cc
hidebutton = "[Hide Sig]"
showbutton = "[Show Sig]"
autohide = false
</script>
<script src="http://www.geocities.com/stalk38125/IFcodes/dSig.js"></script>

[Hide Sig] và
[Show Sig] sửa thành bất kỳ chữ nào tùy ý bạn
false thể hiện chế độ tự động tắt chữ ký = vô hiệu lực. true ngược lại.

Phòng trường hợp file http://www.geocities.com/stalk38125/IFcodes/dSig.js bị hư

Code:
 /*
dSig v2.3
For use with Invision Power Boards
Created and hosted by blakeo_x (stalk38125)
Redistributed for TeCongGB communities by nhatkynet.uni.cc
------------------------
blakeoxx@netscape.net
*/

var tempcode = new Array()
var memdata = ""
var cookieval = ""
var t = ""
var autohide
if (autohide == undefined) autohide = false

showtype = showbutton.indexOf("[IMG]")
hidetype = showbutton.indexOf("[IMG]")
if (showtype == 0) showbutton = "<IMG src=" + showbutton.substring(5, showbutton.length - 1) + "alt='Show this Chữ ký'>"

loc = window.location.toString()
topicid = loc.indexOf("showtopic=")
endid = loc.indexOf("&")
testvar = topicid
if (endid > -1) topicid = loc.slice(topicid + 10, endid)
else if (endid == -1) topicid = loc.slice(topicid + 10)

function init()
{
if (testvar == -1) return false
var div = document.getElementsByTagName('div')
if (div != null)
{
for(i=0; i<div.length; i++)
{
if (div[i].className == 'Chữ ký')
{
var newTag = document.createElement('P')
var hyplink = document.createElement('A')
hyplink.setAttribute('href', 'javascript:hidesig\(' + i + ', 0\)')
var newTagContent = document.createTextNode(hidebutton)
var divContent = div[i].childNodes[0]
div[i].insertBefore(newTag, divContent)
newTag.appendChild(hyplink)
if (hidetype == 0)
{
var newTagContent = document.createElement('IMG')
picsrc = hidebutton.substring(5, hidebutton.length - 1)
newTagContent.setAttribute('src', picsrc)
}
else hyplink.appendChild(newTagContent)

if(autohide == true) hidesig(i, 1);
}
}
}
recallmem()
}

if (loc.indexOf("showtopic=") > -1) window.onload=init

function hidesig(divref,mode)
{
var div = document.getElementsByTagName('div')
tempcode[divref] = div[divref].innerHTML
div[divref].innerHTML = "<P><A href='javascript:showsig\(" + divref + ", 0\)'>" + showbutton + "<\/A><\/P>"
if (mode == 0) writecookie(divref,0)
}

function showsig(divref,mode)
{
var div = document.getElementsByTagName('div')
div[divref].innerHTML = tempcode[divref]
if (mode == 0) writecookie(divref,1)
}

function recallmem()
{
readcookie()
if (memdata == "") return false
topics = memdata.split("&")
curtopic = ""
for (x=1; x<topics.length; x++)
{
finder = topics[x].toString().indexOf(topicid + "#")
if (finder == 0) curtopic = x
}
if (curtopic == "") return false
sigs = topics[curtopic].split("#")
for (y=1; y<sigs.length; y++)
{
substart = 0
subend = sigs[y].toString().indexOf("@")
data1 = sigs[y].toString().substring(substart, subend)
data2 = sigs[y].toString().substring(subend + 1, sigs[y].toString().length - 1)
if (data2 == 0) hidesig(data1, 1)
if (data2 == 1) showsig(data1, 1)
}
}

function readcookie()
{
var allcookies = documentcookie
if (allcookies == "") return false
var pos = allcookies.indexOf("dsig=")
if (pos == -1) return false
start = pos + 1
var end = allcookies.indexOf(";", start) + 1
if (end == -1) end = allcookies.length
var value = allcookies.substring(start, end)

value = unescape(value)
if (value == "") return false
start = value.lastIndexOf("sig=")
if (start > -1)
{
value = value.substring(start, value.length - 1)
}
memdata = value
}

function writecookie(arg1,change)
{
readcookie()
var exp = new Date()
exp.setFullYear(exp.getFullYear() + 1)

nextstat = "&" + topicid + "#" + arg1 + "@" + change
if (memdata != "" && memdata.indexOf("&" + topicid) > -1)
{
data1 = memdata.indexOf("&" + topicid) + topicid.length
data2 = memdata.indexOf("&", data1)
if (data2 == -1) data2 = memdata.length - 1
data3 = new RegExp("#" + arg1 + "@", "g")
substart = ""
while ((result = data3.exec(memdata)) != null)
{
if (result.index < data1 && result.index > data2) substart = result.index
}
if (substart != "")
{
subend = substart + data3.toString().length - 3
t = memdata.substring(0, substart) + "#" + arg1 + "@" + change + memdata.substring(subend, memdata.length - 1)
}
else
{
substart = data1
subend = memdata.indexOf("#", substart)
t = memdata.substring(0, substart) + "#" + arg1 + "@" + change + memdata.substring(subend, memdata.length - 1)
}
}
else
{
t = memdata + nextstat
}
documentcookie = "dsig=" + escape(t) + "; expires=" + exp.toGMTString()
}
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:28 am

Messages đặc biệt của member

Admin Cp > Skinning & Styles > Board Wrappers > Footer

Code:
 <script>
/*
Thông báo trên bài viết của members
Created by iFusion
Redistributed for TeCongGB communities by nhatkynet.uni.cc
*/
function textUser(id,txt){
var iTR = document.getElementsByTagName('TR')
for(i=0;i<iTR.length;i++){
if(iTR[i].cells.length==2 && iTR[i].cells[0].getElementsByTagName('SPAN').length > 0){
var iSpan = iTR[i].cells[0].getElementsByTagName('SPAN')[0]
if(iSpan.className == 'normalname' && iSpan.getElementsByTagName('A')[0].href.match("showuser=" + id + "$") != null){
iTR[i+1].cells[1].innerHTML="<div style='border: 1px solid #31404e;padding: 2px; '>" + txt + "</div><BR />" + iTR[i+1].cells[1].innerHTML
} } }}

if(location.href.match(/showtopic=\d/i) != null){
textUser( "1[" , "<b>To elva:</b> i miss u, girl!" );

}
</script>

-Thay số 1 bằng số ID của 1 thành viên nhất định
-Dòng màu Tím là chữ bạn điền vào tùy ý
-Copy nhiều lần
Code:
 textUser( "1" , "<b>To elva:</b> i miss u, girl!" );

để gán nhiều messages cho từng members khác nhau
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:30 am

Các lọai ngôn ngữ cho forum

Hỗ trợ 13 lọai ngôn ngữ English (English),Chinese Simplified (简单的汉语),Chinese Traditional (繁體中文),Dutch (Nederlands),French (Français),German (Deutsch),Greek (Ελληνικά),Italian (Italiano),Japanese (日本語),Korean (한국어),Portuguese (Portuguese),Russian (Русско),Spanish.

Admin Cp > Skinning & Styles > Board Wrappers > Footer

Code:
 <script>

// Page translations 2.0
// Copyright of Paper, chiên and the UCO.
// Redistributed for TeCongGB communities by Nhatkynet.uni.cc
var boardURL="Địa chỉ forum của bạn";

function translate(language) {
if (language=="Auto") {
auto();
} else {
if (language=="English") {
document.location.href=boardURL;
} else { document.location.href="http://babelfish.altavista.com/babelfish/trurl_pagecontent?url="+boardURL+"&lp="+language;
}
}
}


function auto() {
if (navigator.appName == 'Netscape') {
var browserLang = navigator.language;
} else {
var browserLang = navigator.browserLanguage;
}

if (browserLang.indexOf("zh") > -1) {
translate("en_zh");
} else {
if (browserLang.indexOf("nl") > -1) {
translate("en_nl");
} else {
if (browserLang.indexOf("fr") > -1) {
translate("en_fr");
} else {
if (browserLang.indexOf("de") > -1) {
translate("en_de");
} else {
if (browserLang.indexOf("el") > -1) {
translate("en_el");
} else {
if (browserLang.indexOf("it") > -1) {
translate("en_it");
} else {
if (browserLang.indexOf("ja") > -1) {
translate("en_ja");
} else {
if (browserLang.indexOf("ko") > -1) {
translate("en_ko");
} else {
if (browserLang.indexOf("pt") > -1) {
translate("en_pt");
} else {
if (browserLang.indexOf("ru") > -1) {
translate("en_ru");
} else {
if (browserLang.indexOf("es") > -1) {
translate("en_es");
} else {
translate("English");
}}}}}}}}}}}
}

</script>

Đặt code sau vào chỗ mà bạn muốn hộp danh sách ngôn ngữ xuất hiện

Code:
 <form name="languages">
<select name="menu" onChange="translate(document.languages.menu.option s[document.languages.menu.selectedIndex].value);">
<option value="English">Select Language</option>
<option value="Auto">Automatic detection</option>
<option value="English">English (English)</option>
<option value="en_zh">Chinese Simplified (简单的汉语)</option>
<option value="en_zt">Chinese Traditional (繁體中文)</option>
<option value="en_nl">Dutch (Nederlands)</option>
<option value="en_fr">French (Français)</option>
<option value="en_de">German (Deutsch)</option>
<option value="en_el">Greek (Ελληνικά)</option>
<option value="en_it">Italian (Italiano)</option>
<option value="en_ja">Japanese (日本語)</option>
<option value="en_ko">Korean (한국어)</option>
<option value="en_pt">Portuguese (Portuguese)</option>
<option value="en_ru">Russian (Русско)</option>
<option value="en_es">Spanish (Español)</option>
</select></form>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:30 am

Tự Động Nhập Bài viết

Nếu member gửi hai,ba bài hoặc nhiều hơn liên tiếp nhau trong 1 topic thì chúng sẽ được tự động kết hợp thành 1 bài post.
-Ưu điểm của mã này là giúp cho topic được gọn gàng và tránh tình trạng câu bài không cần thiết của thành viên

Admin Cp > Skinning & Styles > Board Wrappers > Đầu Footer

Code:
 <script language="javascript">
//Kết hợp Double Postings thành 1 bài
//Redistributed for Vn communities by all4elva.com
if(window.location.href.match('showtopic=')) {var authorname = new Array();var track = 0;var x = document.getElementsByTagName('div');for(i=0;i<x.length;i++) {if(x[i].className == 'postcolor') {x[i].id = 'post' + track;authorname[track] = x[i].parentNode.parentNode.parentNode.parentNode.rows[0].cells[0].firstChild.firstChild.innerHTML;if(track > 1) {if(authorname[track] == authorname[(Math.floor(track) - 1)]) {document.getElementById('post' + (Math.floor(track) - 1)).innerHTML += '<br /><br />' + x[i].innerHTML;document.getElementById('post' + (Math.floor(track) - 1)).id = x[i].id;x[i].id = '';x[i].parentNode.parentNode.parentNode.parentNode.style.display = 'none';}}track = Math.floor(track) + 1;}}}</script>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:31 am

Thống kê Tổng Số Chủ Đề

footer

Code:
 <script>
var iTable = document.getElementsByTagName('TABLE')
var iThreads = 0
for(i=0;i<iTable.length;i++){
if(iTable[i].cellPadding=="4" && iTable[i].cellSpacing=="1" && iTable[i].rows[0].cells.length > 2 && iTable[i].rows[0].cells[2].innerHTML=="Topics"){
for(j=1;j<iTable[i].rows.length;j++){
if(iTable[i].rows[j].cells.length > 2 && iTable[i].rows[j].cells[2].innerHTML != "-")  iThreads += Math.floor(iTable[i].rows[j].cells[2].innerHTML)
}}}

var iTD= document.getElementsByTagName('TD')
for(i=0;i<iTD.length;i++){
if(iTD[i].className=="row4" && iTD[i].align=="left" && iTD[i].innerHTML.match(/made a total of <b>(.*)<\/b> post/i)){
iTD[i].innerHTML = iTD[i].innerHTML.replace(/posts/i,"posts<BR />We have: <b>" + iThreads + "</b> unique topics")
}}
</script>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 11:32 am

Làm 1 trang chủ hoàn thiện !

Code:
 <form name=loveform>
<p align="center">
<input value="Tên của bạn" name="name1" type="text" size="20" onfocus="this.value=''"> </p>
<p align="center">
<input value="Tên người yêu bạn" name="name2" type="text" size="20" onfocus="this.value=''"></p>
<p align="center">
<input value="" name="output" type="text" size="6">
<br>
<br>
<input value="Kết quả" name="calculate" type="button" value="calculate" onclick="calc()">
</p>
</form>
<script LANGUAGE="JavaScript">
<!-- Begin
function calc() {
first = document.loveform.name1.value.toUpperCase();
firstlength = document.loveform.name1.value.length;
second = document.loveform.name2.value.toUpperCase();
secondlength = document.loveform.name2.value.length;
var LoveCount=0;
for (Count=0; Count < firstlength; Count++) {
letter1=first.substring(Count,Count+1);
if (letter1=='L') LoveCount+=2;
if (letter1=='O') LoveCount+=2;
if (letter1=='V') LoveCount+=2;
if (letter1=='E') LoveCount+=2;
if (letter1=='Y') LoveCount+=3;
if (letter1=='O') LoveCount+=1;
if (letter1=='U') LoveCount+=3;
}
for (Count=0; Count < secondlength; Count++) {
letter2=second.substring(Count,Count+1);
if (letter2=='L') LoveCount+=2;
if (letter2=='O') LoveCount+=2;
if (letter2=='V') LoveCount+=2;
if (letter2=='E') LoveCount+=2;
if (letter2=='Y') LoveCount+=3;
if (letter2=='O') LoveCount+=1;
if (letter2=='U') LoveCount+=3;
}
amount=0;
if (LoveCount> 0) amount= 5-((firstlength+secondlength)/2)
if (LoveCount> 2) amount= 10-((firstlength+secondlength)/2)
if (LoveCount> 4) amount= 20-((firstlength+secondlength)/2)
if (LoveCount> 6) amount= 30-((firstlength+secondlength)/2)
if (LoveCount> 8) amount= 40-((firstlength+secondlength)/2)
if (LoveCount>10) amount= 50-((firstlength+secondlength)/2)
if (LoveCount>12) amount= 60-((firstlength+secondlength)/2)
if (LoveCount>14) amount= 70-((firstlength+secondlength)/2)
if (LoveCount>16) amount= 80-((firstlength+secondlength)/2)
if (LoveCount>18) amount= 90-((firstlength+secondlength)/2)
if (LoveCount>20) amount=100-((firstlength+secondlength)/2)
if (LoveCount>22) amount=100%-((firstlength+secondlength)/2)
if (firstlength==0 || secondlength==0) amount= "Err";
if (amount < 0) amount= 0;
if (amount >99) amount=99;
document.loveform.output.value=amount+"%";
}
// End -->
</script>
</form>
</DIV>
</DIV>
<br />
<DIV class="maintitle">.:© Số Lịch ©:.</div>
          </DIV>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,

0" height="160" width="160">
<param name="movie" value="http://i28.photobucket.com/albums/c239/phongluudatinh_wow/anhdepchonloc/clock1.swf">
<param name="quality" value="high">

<embed src="http://i28.photobucket.com/albums/c239/phongluudatinh_wow/anhdepchonloc/clock1.swf" quality="high" loop="0"

pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"

height="120" width="120"></object>
</center>

          <DIV class="tablepad">
<script src="http://j.domaindlx.com/ckt303/lich.js"></script>
</center></form>
          </DIV>
        </DIV>


<br>
<DIV class=tableborder>
<DIV class=maintitle>Tin nhanh
</div>
</DIV>
<DIV class=tablepad><center>
<MARQUEE behavior='scroll' direction='up' height='220' scrollamount='1' scrolldelay='70' width='100%' onmouseover='this.stop()' onmouseout='this.start()'> <p align="justify">
<br>
<script language="JavaScript" src="http://210.245.0.148/Library/News.js"></script>
<script language="Javascript">
for(var i=0;i <39;i++)
{
document.write(' <br><br><img src="style_images/1/tinnhanh.gif" border="0" alt="" /> ');
document.write(RefNews[i]);
}
</script></p>
<br><br>
</MARQUEE>
<br><br>

</center></form>
</DIV>
</DIV>


</td><td class="row2" valign="top"><!--coded by HolySavior at www.ifsupport.net //--><table align="right" width="30%" class="row2" valign="top"><tr><td><div class="tableborder">
<div class="maintitle">Link hữu ích</div>
<div class="tablepad">
<br />&middot; <a href="http://nhatkynet.uni.cc">Nhat Ky Net Forum</a>

<br />&middot; <a href="http://echip.com.vn">EChip</a>
<br />&middot; <a href="http://cuasotinhoc.com">Cửa Sổ Tin Học</a>
<br />&middot; <a href="http;//vnno.net">Thôi Dẹp</a>

</div>
</div><br>

<script>
// Top X Stats v2.0 - Leave Copyright Intact Wherever Used
// Author: Zero Tolerance © Game Zone | Evolution 2004 [http://gzevolution.net]
// Edit Statistics To Show (Recommended 5)
statsToShow=5
</script>
<script>
topStats="<div class='tableborder'>"
topStats+="<div class=maintitle><b>Top Posters</b></div>"
topStats+="<table width='100%' border='0' cellspacing='0' cellpadding='0'>"
topStats+="<tr>"
topStats+="<td class='row2' width='50%'>"
topStats+=" <table width='100%' id='topPost'>"
topStats+=" <tr>"
topStats+=" <td class='titlemedium' width='80%'><b>Thành viên</b></td>"
topStats+=" <td class='titlemedium' align='right' width='20%'><b>Bài viết</b></td>"
topStats+=" </tr>"
topStats+=" </table>"
topStats+="</td>"


function loadStats(){
// Make Iframe [1] - Top Posters
url=location.href.split('/')[4];url=location.href.replace(url,'')
url+="?&act=Members&photoonly=&name=&name_box=all&max_results=50"
url+="&filter=ALL&sort_order=desc&sort_key=posts&st=0"
document.write('<iframe name="topPosters" src="'+url+'" style="display:none" onLoad="doLoadTopPosters();"></iframe>')
}

function doLoadTopPosters(){
count=0
Doc=topPosters.document
div=Doc.getElementsByTagName('div')
for(d=0;d<div.length;d++){
if(div[d].className=="maintitle" && div[d].innerHTML=="Member List"){
TheTable=div[d].parentNode.getElementsByTagName('table')[0]
for(r=0;r<TheTable.rows.length;r++){
if(count==statsToShow){}else{
if(TheTable.rows[r].cells[0].className=="row4"){
Row = document.getElementById('topPost').insertRow(-1)
Row.insertCell(-1).innerHTML = TheTable.rows[r].cells[0].innerHTML
Call = Row.insertCell(-1)
Call.innerHTML = TheTable.rows[r].cells[4].innerHTML
Call.align = 'right'
count++
}
}
}
}
}
}


if(location.href.match(/(w+)=(w+)/)){
if(RegExp.$2=="act" && RegExp.$2=="idx"){document.write(topStats)
loadStats()
}
} else {
document.write(topStats);
loadStats()
}</script></div></table>
<DIV class=maintitle>Hình ảnh ngẫu nhiên</div>
</DIV>
<DIV class=tablepad>
<script LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
theImages[0] = 'http://img.photobucket.com/albums/v161/khinguoidanongkhoc/6504730f.gif'
theImages[1] = 'http://www.loicuagio.info/Anhgif/0/43_files/p2_014.gif'
theImages[2] = 'http://img96.exs.cx/img96/123/173.gif'
theImages[3] = 'http://giotnuoc.com/friend4ever/uploads/giotnuoc.jpg'
theImages[4] = 'http://209.85.48.10/3677/40/upload/av-1.jpg'
theImages[5] = 'http://209.85.48.10/2902/19/upload/av-2931.jpg'
theImages[6] = 'http://j.1asphost.com/tnnd/trangchu_files/hinhdep.gif'
theImages[7] = 'http://stat.caishow.com/mmsimg/comm/7650/fq2.gif'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

// End -->
</script>

</HEAD>
<center>
<script LANGUAGE="JavaScript">
<!-- Begin
showImage();
// End -->
</script></center></form>
</DIV>
</DIV>
</div>
</div>
<br /><div class="tableborder">
<div class="maintitle"> ShoutBox </div>
<div class="tablepad">
<br /><iframe frameborder="0" width="100%" height="150" src="http://cbox.ws/box/?boxid=707528&amp;boxtag=2880&amp;sec=main" marginheight="2" marginwidth="2" scrolling="yes" allowtransparency="yes" name="cboxmain" style="border: #DBE2ED 1px solid;" id="cboxmain"></iframe><br>
<iframe frameborder="0" width="100%" height="65" src="http://cbox.ws/box/?boxid=707528&amp;boxtag=2880&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: #DBE2ED 1px solid; border-top: 0px;" id="cboxform"></iframe>
</div>
<br />
<div class="tableborder">
<div class="maintitle"> Tỉ giá - Thời tiết </div>
<div class="tablepad">
</br>
<center>

<script language=javascript>PageHost = '';function AddHeader(Name, Header, Buttons, Symbol, AddChildTable){document.writeln('<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#DB9E08" width="100%"><tr><td height="10" colspan="2" bgcolor="#F7C21B"><b><center>', Header ,'</center></b></td></tr>');return true;}function AddFooter(){document.writeln('</table>');}</script>
<script language=JavaScript

src="http://vnexpress.net/Service/Weather.js"></SCRIPT><br>
<script language=JavaScript

src="http://vnexpress.net/Service/Gold.js"></SCRIPT><br>
<script language=JavaScript

src="http://vnexpress.net/Service/Forex.js"></SCRIPT><br>


</center>
</div>
</div>
<br />
<div class="tableborder">
<div class="maintitle"> Từ điển </div>
<div class="tablepad">
<br />
<center>
<form name="vdict" method="get" action="http://vdict.com/gateway.php" target="_blank">
<input name="word" id="word" size="15" maxlength="100" type="text"><br />
<select name="dictionary">
<option value="1" selected>Anh - Việt</option>
<option value="2">Anh - Anh</option>
<option value="3">Việt - Anh</option>
<option value="4">Việt - Việt</option>
</select> <input name="submit" value="Go" type="submit"></form>
</center>
</div>
</div>
<br />
<!--ADD ANOTHER BOX HERE //-->

</td></tr></table><table valign="top"><tr>
<div class="tableborder"><div class="maintitle" align="center">Tho Hoc Tro</div>
<div class="row1" align="center"></br><iframe valign="top" src="http://vnvista.com/othersites/poems.php" style="overflow:auto;height:200px" width="68%" frameborder="0">
Warning: Thơ học trò không thực hiện được.

</iframe><br/></div><div class="darkrow2"> </div></div></br><!--Add Another Main Box //--></br>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 3:33 pm

Mod Post nhạc trong forum

Để thực hiện những bước sau đây , bạn cần có chút kiến thức sơ sơ về HTML . Lưu ý : Đang post bài , đề nghị mọi người không thắc mắc vội .
Đầu tiên là phần nhạc : bạn có thể post nhạc nếu bạn cho phép dùng HTML trong forum đó . Tuy nhiên , vẫn có cách khác mà ko cần bật HTML mà vẫn nghe được nhạc . Cách làm đó như sau , rất đơn giản bạn chèn một CODE vào trong FOOTER ( các bạn nên rút gọn lại để đỡ tốn diện tích ) , CODE này ko anh hưởng tới tốc độ của FORUM nên bạn hãy yên tâm .
Đặc điểm :
+ Hỗ trợ : mọi file nhạc,youtube,googlevideo,flash ...
+ Tự động bảo mật nếu link không đúng.
+ Có thể đăng kèm lời bài hát mà không bị mất.
+ In the future ^^.
Các bạn chèn đoạn CODE sau vào FOOTER ( nên đặt lên đầu tiên )

Code:
<script>
//Code Music Tag For All File
//Creatd By ChonCon
// From [nghindamxanh.kiss.to]


function set_Media(LINK){

//Neu File Nhac la Flash
liveFlash ='<object id=Player classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" class=Flash >'
liveFlash+='<param name=movie value="'+LINK+'">'
liveFlash+='<param name=quality value=High >'
liveFlash+='<param name=loop value=-1 >'
liveFlash+='<param name=_cx value=13361 >'
liveFlash+='<param name=_cy value=2725 >'
liveFlash+='<param name=Src value="'+LINK+'">'
liveFlash+='<param name=WMode value=Window >'
liveFlash+='<param name=Play value=-1 >'
liveFlash+='<param name=Menu value=-1 >'
liveFlash+='<param name=Scale value=ShowAll >'
liveFlash+='<param name=DeviceFont value=0 >'
liveFlash+='<param name=EmbedMovie value=0 >'
liveFlash+='<param name=AllowScriptAccess value=always>'
liveFlash+='<embed id=Player src="'+LINK+'" loop=true quality=high type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" class=Flash ></embed>'
liveFlash+='</object>'

//Neu File Nhac Khong Flash
liveMusic ='<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id=Player class=Music >'
liveMusic +='<param name=URL value="'+LINK+'" >'
liveMusic +='<param name=ShowStatusBar value=-1 >'
liveMusic +='<param name=TransparentatStart value=false >'
liveMusic +='<param name=volume value=100 >'
liveMusic +='<param name=AutoStart value=True >'
liveMusic +='<param name=BufferingTime value=15 >'
liveMusic +='<param name=PreviewMode value=0 >'
liveMusic +='<param name=enableContextMenu value=false >'
liveMusic +='<param name=playCount value=100 >'
liveMusic +='<embed id=Player type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" src="'+LINK+'" ShowControls=1 ShowDisplay=0 ShowStatusBar=1 loop=-1 class=Music ></embed>'
liveMusic +='</object>'


if((LINK.indexOf('<')!=-1&&LINK.indexOf('>')!=-1)||LINK.indexOf('://')==-1){ return "<font color=red><b>Lỗi bảo mật ,link nhạc không hợp lệ,hãy liên hệ admin để biết thêm chi tiết</b></font>"}

if(LINK.indexOf(".swf")!=-1||LINK.indexOf('http://www.youtube.com/v/')!=-1){ return liveFlash }else{ return liveMusic }

}


var D= document.getElementsByTagName('DIV')

for(i=0;D.length;i++)
if(D[i].className =='postcolor'&&D[i].innerHTML.match(/\[nhac](.*)\[\/nhac]/i) !=null)
{
file_music=RegExp.$2
x=D[i].innerHTML
down="<br><b><u><a href="+file_music+" target=_blank onclick='alert(\"Click chuot phai va chon Save target ...\")' >Download</a></u></b>"

D[i].innerHTML=x.replace("[nhac]"+RegExp.$2+"[/nhac]","<center>"+set_Media(file_music)+down+"</center>")
}

</script>

Bây giờ các bạn có thể post nhạc với CODE sau :

Code:
[nhac]Link[/nhac]

Lưu ý: Ko thay đổi bất cứ cái gì trong CODE . Thanks
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 3:35 pm

Tiếp theo là bảng top 3 ( 10 người gửi bài nhiều nhất , 10 người mới đăng kí , 10 bài viết cuối của forum )
Demo : Xem ở đây http://z11.invisionfree.com/9hbg/index.php?act=site
Thêm vào header&body (dưới board header)

Code:
 <SCRIPT language=JavaScript>


var max=10
var url_site=window.location.href.split('?')[0] + "?act=site"
var d=new Date()
var month =d.getMonth()+ 1
var datePost= month + "-" + d.getDate()

var iNew

if( window.XMLHttpRequest ) {

iNew = new XMLHttpRequest();
iNew.onreadystatechange = function(){
getNews();
}

iNew.open("GET",url_site,true);
iNew.send(null);
} else if( window.ActiveXObject ){

iNew = new ActiveXObject("Microsoft.XMLHTTP");
iNew.onreadystatechange = function(){
getNews();
}

iNew.open("GET",url_site,true);
iNew.send(null);
}


function getNews(){
if(iNew.readyState == 4&&iNew.status == 200 ){
var List=iNew.responseText
var showPost ="<table width=100% class=row1 align=center><tr><td width=53% class=row1><FIELDSET><b>Bài Viết</b></td><td width=40% class=row1><FIELDSET><b>Người Viết</b></td><td width=7% class=row1><FIELDSET><b>Đọc</b></td></tr>"

for(i=0; i<max; i++)
 if(List.match("div class='row2' style='padding:3px'><strong>(.*)style='text-decoration:none;font-size:10px'>(.*)<\/a><\/strong><\/div>\n<div class='desc' style='padding:3px'>\n(.*)\n.*<br />Read:(.*)&nbsp; Comments")){
var nLink =RegExp.$2
var nThread = RegExp.$2 
var nAuthor = RegExp.$3
var nRead =RegExp.$4

if(nAuthor.split(';')[1].match(datePost)){
var da="[<font color=red>Mới</font>]"}else{var da="[<font color=pink>Cũ</font>]"}

showPost +="<tr><td>" + nLink + ">" + da + nThread + "</a></td><td>" + nAuthor.split('&')[0]
+ "</td><td>" + nRead+ "</td></tr>"
List=List.split(nThread)[1]

}


document.getElementById("kenchoubg-kiss-to").innerHTML= showPost + "</table>"
      }
}


</SCRIPT>
<FIELDSET>
<table width=100% class=rơ1>
<tr>
<td width='30%'><div class=maintitle>TOP 10 thành viên tích cực</DIV></td>
<td width='30%'><div class=maintitle>TOP 10 thành viên mới</DIV></td>
<td width='40%'><div class=maintitle>10 bài viết gần đây nhất</DIV></td></tr>
<tr>
<td id=kenchoubg-kiss-to2>Đang tải...</td>
<td id=kenchoubg-kiss-to1>Đang tải...</td>
<td id=kenchoubg-kiss-to>Đang tải...</td>
</tr>
</table>
</FIELDSET>

Tiếp theo là bỏ vào FOOTER :

Code:
 <script>


var maxName=11
var URL='http://'+location.hostname + location.pathname

var Top
function TopForum(decs,id)
{

url=URL+decs
if (window.XMLHttpRequest || window.ActiveXObject){
Top= (window.XMLHttpRequest) ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP")
Top.onreadystatechange=sendTop
Top.open("GET",url,true)
Top.send('<META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8">')
}

function sendTop(){
if(Top.readyState == 4)if(Top.status == 200)
{
txt=Top.responseText
Ar=txt.split("<!-- Ent"+"ry for  -->")

tab='<TR><TD width=50%><b><FIELDSET>Thành viên</FIELDSET></b></TD><TD width=40%><b><FIELDSET>Ngày đến</FIELDSET></b></TD><TD width=10%><b><FIELDSET>Gửi</FIELDSET></b></TD></TR>'
for(i=1;i< Ar.length&&i<maxName;i++)if(Ar[i].match("<td class='row4'><strong>(.*)</strong></td>\n.*\n.*\n.*td class='row4' align=.*width=.*>(.*)</td>\n.*td class='row4' align=.* width=.*>(.*)</td>"))
{

tab +="<TR><TD>"+RegExp.$2+"</TD><TD>"+RegExp.$2+"</TD><TD align='right'>"+RegExp.$3+"</TD></TR>"

}

tab="<TABLE width=100%>"+tab+"</TABLE>"

document.getElementById(id).innerHTML=tab

TopForum("?act=Members&max_results=10&sort_key=posts&sort_order=desc","kenchoubg-kiss-to2")

}}}

TopForum("?act=Members&max_results=10&sort_key=joined&sort_order=desc","kenchoubg-kiss-to1")


</script>

Lưu ý : Không sửa bất kì cái gì trong CODE
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 3:35 pm

Đưa smile ra fast reply

Chèn vô FOOTER

Code:
<script>
<!--

emsign = []
emsign[1]=[":ngoaymui:","http://209.85.12.227/6922/88/emo/ngoaymui.gif"]
emsign[2]=[":hungchiu:","http://209.85.12.227/6922/88/emo/hungchiu.gif"]
emsign[3]=[":xucdong:","http://209.85.12.227/6922/88/emo/xucdong.gif"]
emsign[4]=[":pretty:","http://209.85.12.227/6922/88/emo/29.gif"]
emsign[5]=[":daica:","http://209.85.12.227/6922/88/emo/daica.gif"]
emsign[6]=[":andon:","http://209.85.12.227/6922/88/emo/andon.gif"]
emsign[7]=[":dexom:","http://209.85.12.227/6922/88/emo/dexom.gif"]
emsign[8]=[":xixon:","http://209.85.12.227/6922/88/emo/xixon.gif"]
emsign[9]=[":cry:","http://209.85.12.227/6922/88/emo/khoc.gif"]
emsign[10]=[":silly:","http://209.85.12.227/6922/88/emo/hoamat.gif"]
emsign[11]=[":loves:","http://209.85.12.227/6922/88/emo/love.gif"]
emsign[12]=[":hihi:","http://209.85.12.227/6922/88/emo/xixons.gif"]

position = "right"

document.write('<script src="http://209.85.48.9/2306/165/upload/p3015807.ibf"></script>')

//-->
</script>

Lưu ý : Các bạn nên thay lại thành smile của các bạn để phù hợp với diễn đàn
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
XiTeenNhoX
Admin
Admin
XiTeenNhoX


Nữ Tổng số bài gửi : 3768
Đến từ : Idol Viet Fan Club
Công việc/ Sở thích : Tự sướng hehe
Thần tượng của bạn : All ^_^
Registration date : 24/02/2008

Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10Sun Mar 09, 2008 3:36 pm

Info Profile nằm ngang

Đặc điểm:
+Chuyển thông tin profile nằm ngang như VBB ,không có lỗi refresh load lâu .
+Tự động no-avatar
+Đóng khung avatar
Demo : nó giống của GameVN nên khỏi demo
Bỏ vào javascript:

Code:
<style>
.advatar
{
width:115px;
height:135px;
background: #FFF url(http://209.85.62.25/6430/127/emo/avatar_post_2007.gif) no-repeat center center;
padding: 26px 1px 0px 0px;
}

.advatar img
{
width:99px;
height:99px;
}
</style>

<script>


function sua_xoa_post(obj)
{

info=obj.rows[1].cells[0].getElementsByTagName("SPAN")[0].innerHTML;
name=obj.rows[0].cells[0].innerHTML
avatar="<img src='http://209.85.62.25/6430/127/emo/no_avatar.gif' >"

infoRight="Unregistered";
infoLeft=name;

if(info.indexOf("Group:")!=-1){

infoRight="Group:"+info.split("Group:")[1];
infoLeft+=info.split("Group:")[0];
}

if(obj.rows[1].cells[0].getElementsByTagName("SPAN")[0].firstChild.tagName=="IMG")
{
avatar=obj.rows[1].cells[0].getElementsByTagName("SPAN")[0].firstChild.outerHTML
infoLeft=infoLeft.replace(avatar,"")
}
sty=obj.rows[1].cells[0].className;
name=obj.rows[0].cells[0].innerHTML;
ip=obj.rows[2].cells[0].innerHTML;
obj.rows[0].deleteCell(0);
obj.rows[1].deleteCell(0);
obj.rows[2].deleteCell(0);

aTD=obj.insertRow(1).insertCell(0);
aTD.className=sty;

aTD.innerHTML="<table width='100%' ><tr><td valign='top' width='40%' ><span style='float:left' ><div class=advatar ><center>"+avatar+"</center></div></span><br>"+infoLeft+"</td><td valign='top' ></td><td valign='top' width='25%'><br><center>..::Info Profile::..</center>"+infoRight+"<br>"+ip+"</td></tr></table>";

}

function post_nam_ngang()
{
entry=document.getElementById('linepost').parentNode.parentNode.parentNode.parentNode.parentNode;
sua_xoa_post(entry);
document.getElementById('linepost').id="";
}
</script>

Sau đó vào IMAGES => Goto Top cho thêm vào:

Code:
 <span style='display:none' id=linepost></span>
<script type='text/javascript' > post_nam_ngang(); </script>
Về Đầu Trang Go down
https://idolvietfc.forumvi.com
Sponsored content





Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Empty
Bài gửiTiêu đề: Re: Các câu hỏi thường gặp ở IFB - (có kèm mod)   Các câu hỏi thường gặp ở IFB - (có kèm mod) - Page 2 Icon_c10

Về Đầu Trang Go down
 
Các câu hỏi thường gặp ở IFB - (có kèm mod)
Về Đầu Trang 
Trang 2 trong tổng số 2 trangChuyển đến trang : Previous  1, 2

Permissions in this forum:Bạn không có quyền trả lời bài viết
Viet Fan's Club :: -‘๑’- Thế giới Vi Tính -‘๑’- :: Thiết kế web và forum-
Chuyển đến