Trang chu moi cua Vietphotoshop
Người đăng: Spirit
Gửi ngày 12 Tháng 4, 2008
In    Gửi mail

Kill banner
ACP>Skinning & Styles >· Board Wrappers>Header & Body
xoá hết trong đó rồi chèn đoạn code này vào nhé


CODE
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" alink="#000000" vlink="#000000">
<%<% BOARD HEADER %>%>
<!---   kill quang cao'--->
<script language='JavaScript' type="text/javascript">
<!--
function buddy_pop() { window.open('index.php?act=buddy&s=','BrowserBuddy','width=250,height=500,resizable=yes,scrollbars=yes'); }
function multi_page_jump( url_bit, total_posts, per_page )
{
pages = 1; cur_st = parseInt(""); cur_page  = 1;
if ( total_posts % per_page == 0 ) { pages = total_posts / per_page; }
else { pages = Math.ceil( total_posts / per_page ); }
msg = "Please enter a page number to jump to between 1 and" + " " + pages;
if ( cur_st > 0 ) { cur_page = cur_st / per_page; cur_page = cur_page -1; }
show_page = 1;
if ( cur_page < pages )  { show_page = cur_page + 1; }
if ( cur_page >= pages ) { show_page = cur_page - 1; }
else { show_page = cur_page + 1; }
userPage = prompt( msg, show_page );
if ( userPage > 0  ) {
if ( userPage < 1 )     {    userPage = 1;  }
if ( userPage > pages ) { userPage = pages; }
if ( userPage == 1 )    {     start = 0;    }
else { start = (userPage - 1) * per_page; }
window.location = url_bit + "&st=" + start;
}
}
//-->
</script>
<!-- IE6/Win TABLE FIX -->
<table  width="100%" cellspacing="6" id="submenu">
<tr>
<td><a href=""></a>&nbsp; <a href="http://s9.invisionfree.com/fanclublovely/index.phpact=site">Portal</a></td>
<td align="right">
{L}<a href="http://s8.invisionfree.com/sonhai/index.php?'>act=site"</a></td>
<td align="right">   
{O}<a href="http://www.freewebs.com/nguyendangquang/chat.html">chat room</a>
{V}<a href="http://s3.invisionfree.com/Invisiondesign/index.php?act=Help">Help</a>
{E}<a href="http://s3.invisionfree.com/Invisiondesign/index.php?act=Members">Members</a>
<!--IBF.CHATLINK-->
</td>
</tr>
</table>
<!--- ket thuc kill quang cao'--->
<% MEMBER BAR %>
<% NAVIGATION %>
<% BOARD %>
<div style="visibility:hidden">



Để cho phép mem sử dụng Flash post bài và Avatars

Login to Admin CP ->System Settings->Security & Privacy->Security (Low)->Allow flash movies in posts and avatars? Chọn Yes ->click Submit Changes

Chèn vào sau thẻ <% BOARD HEADER %>



CODE
<script>/*Guest Welcome box by Gornakle of Invisionfree.
This code cannot be posted on any site without permission from the creator*/

BoardURL="http://.../index.php?"   //Must be your full URL! (start with "http://" and end with "index.php?")
Boardname=""                       //Your Board's name

LoggedOn="Y"                       //Show Welcomebox when Logged in? ("Y" = yes, "N" = no)
Logged_Message=""                  //Message to show when Logged in (HTML enabled)

GuestOn="Y"                    //Show Welcomebox when guest? ("Y" = yes, "N" = no)
Guest_Message=""               //Message to show when guest (HTML enabled)

AvatarURL="http://"    //Must start with "http://"
AvWidth="64"           //Avatar width  (in pixels)
AvHeight="64"          //Avatar height (in pixels)

IconURL="http://"      //Must start with "http://"
IcWidth="8"            //Icon width  (in pixels)
IcHeight="8"           //Icon height (in pixels)
</script>
<script src="http://www.studio1haarmode.nl/gbox.js"></script>


Đăng xuất kiểu VBB

Bạn đã từng xài VBB và rất mê kiểu Log out của nó. Màn hình mở dần thành trắng đen rồi hiện ra cái Dialog Yes + No . Nếu thích, bạn có thể làm ngay trên IF bằng cách chèn đoạn code sau vào đầu footer:


CODE
<script>
// vBulletin 3 Style Logout - Leave Copyright Intact Wherever Used
// Created For Invision Free
// Author: Zero Tolerance © Game Zone | Evolution 2004 [http://gzevolution.net]
link=document.body.getElementsByTagName('a')
for(a=0;a<link.length;a++){if(link[a].href.indexOf('act=Login&CODE=03')!=-1){
link[a].outerHTML=link[a].outerHTML.replace('href','onClick="return LogOut();" href')}}
function LogOut(){ht = document.body
ht.style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"
if (confirm('Ban co chac la ban muon thoat?')){return true;
} else {ht.style.filter="";return false;}}
</script>



« Trang trước | Trang 2 trong 3 | Trang tiếp theo »


Xem bình luận (6)

« Trở về danh mục