Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
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
Tuổi 05-05-2011, 02:08 PM   #2
hoctinhoc
Guest
 
Trả Lời: n/a
Thank a lot
  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 02:49 AM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.