View Full Version : Mod lịch âm cho VBB
ntc017
15-08-2010, 10:20 PM
Trước mình đã từng sử dụng mod chèn thêm lịch âm vào cho vBB nhưng giờ không tìm thấy ở đâu nữa, Ai biết thì cho mình xin nhé
__________________________________________________ _
Http://lehoan.vn/forum
hau_ooo
15-08-2010, 10:34 PM
Mod này all version . Chắc chạy được VBB4 :MatCuoi (1):
Hiển thị ngày âm lịch trên Calendar
-
Cài đặt:
1. Import the product-bmwLunarCal.xml
2. Upload file functions_calendar.lunar.php vào thư mục includes
3. Bạn cần chỉnh sửa 2 templates bên dưới, tất cả đều nằm trong CALENDAR Templates
-- calendar_monthly_day
-- calendar_monthly_day_other
4. Thêm .lunar ==> Additional CSS Definitions
.lunar{
float: right;
display: inline; /*fixes IE float bug*/
text-align: right;
font-size:7pt; //Change font-size
font-weight:normal;
color:#CCCCCC; //Change color
width:100%;
}
Template 1: calendar_monthly_day
- TÌM
<div class="thead">
<span style="float:$stylevar[right]">
<if condition="$show['daylink']">
<a href="calendar.php?$session[sessionurl]do=getinfo&day=$year-$month-$day&c=$calendarid">$day</a>
<else />
$day
</if>
</span>
$dayname
</div>
- THÊM BÊN DƯỚI
<!-- bmwLunarCal -->
<if condition="$vboptions[bmwLunarCal_status]">
<span class=lunar>$al[0]/$al[1]</span>
</if>
<!-- End - bmwLunarCal -->
Template 2: calendar_monthly_day_other
- TÌM
<div class="thead">
<span style="float:$stylevar[right]">$otherday$day</span>
$otherdayname$dayname
</div>
- THÊM BÊN DƯỚI
<!-- bmwLunarCal -->
<if condition="$vboptions[bmwLunarCal_status]">
<span class=lunar>$al[0]/$al[1]</span>
</if>
<!-- End - bmwLunarCal -->
#================================================= =====
You are done.
Please remember to click install if you have used this.
Support will only be given to those who click install.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.