View Single Post
Tuổi 05-08-2009, 10:47 AM   #1
adminphuong
Administrator
 
Avatar của adminphuong
 
Gia nhập: Jul 2009
Trả Lời: 152
Thêm images trước mỗi Box(Images before Category)
Thêm images trước mỗi Box (Images before Category)





Để thêm hình trước mỗi Box các bạn làm như sau

Bước 1:

vào Forum Home Templates > forumhome_forumbit_level1_post

Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />
thay bằng

Mã:
<if condition="$vboptions[customimg_enabled] == 1">

    <if condition="$forum[customimg] == ''">

        <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 



id="forum_statusicon_$forum[forumid]" />



<else />

        <img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" />

</if>



<else />

    <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 



id="forum_statusicon_$forum[forumid]" />

</if>
lưu vào

tiếp:

vào Forum Home Templates > forumhome_forumbit_level2_post

tìm

Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />

Mã:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />
thay bằng


Mã:
<if condition="$vboptions[customimg_enabled] == 1">

    <if condition="$forum[customimg] == ''">

        <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 



id="forum_statusicon_$forum[forumid]" />



<else />

        <img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" />

</if>



<else />

    <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 



id="forum_statusicon_$forum[forumid]" />

</if>

Bước 2: Import Product: AdminCP- Plugins & Products - Manage Products -> Import

Bước 3: Kích hoạt Category Icon: vào Admincp-> Vblletin Options -> Category Icon -> Chọn Yes để kích hoạt

Bước 4: AdminCP >> Forums & Moderators >> Forum Manager: chọn forum >> Enter the URL to the image you wish to use for this catagory icon: cho cái link hình vào.


Links Download

download

Theo: Vietvbb


Postpy: AdminPhuong
adminphuong vắng mặt   Trả lời ngay kèm theo trích dẫn này