Luyenkim.Net!

...where your idea grows!

 
  • Decrease font size
  • Default font size
  • Increase font size
Trang chủ arrow Forum arrow Mạng Luyenkim.NET arrow Tin từ các diễn đàn về Vật liệu
Luyện kim
Các modification mới đối với FB 1.0.4 cho chimco.net (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Các modification mới đối với FB 1.0.4 cho chimco.net
#2525
support
(Moderator)
Nhóm hỗ trợ
Moderator
Posts: 697
graph
User Offline Click here to see the profile of this user
Gender: Male Luyenkim.NET luyenkimnet Location: Hà Nội Birthdate: 1977-04-07
Các modification mới đối với FB 1.0.4 cho chimco.net 4 Months, 2 Weeks ago Karma: 4  
Các điều chỉnh mới:
  • Upload bộ emotion icons mới - http://www.cuasotinhoc.vn/lofiversion/index.php/t115281.html
  • Fix hiển thị thống kê - frontend và backend
  • Fix hiển thị ảnh PNG - theo hướng dẫn http://www.twinhelix.com/css/iepngfix/
  • Multi domain cho Joomla 1.0.15.
  • Bổ sung tính năng MOD có thể move bài và xóa bài hàng loạt (sửa com_fireboard/template/default/flat.php)
  • Đã fixed hiển thị thống kê.
    Lưu ý: thời gian lưu vào CSDL đã là thời gian server + độ lệch thời gian (Offset time - )

    $shift_time = $fbConfig['board_ofset']*60*60;
    $yesterday = time()+ $shift_time - (1 * 24 * 60 * 60);

  • Lưu ý khi move bài vẫn còn để lại link ở frontpage.
    Khi admin đổi username của 1 tài khoản nào đó, FB cũng phải đổi (update) info thành viên này.
    Câu lệnh update 1 trường:
    update table set field = 'this is the string';
  • Đã bổ sung link xem IP đối với admin ở phần thống kê.
  • Dự kiến sẽ bổ sung phần thống kê sinh nhật thành viên trong tháng, tuần và trong ngày.
  • Sửa 1 lỗi tại:

    Tìm trong administrator/com_fireboard/sources/fb_db_iterator.class.php dòng 72
    Thay
    Code:

    // free resource
    if(is_resource())

    Bằng
    Code:

    // free resource
    if(is_resource($this->db))


  • Cập nhật và sửa lỗi ngày gửi trong tin nhắn MissUS:
    sửa file components/com_missus/include/messages.class.php
    Code:

    Sửa hàm addMainMissus
    bổ sung
    global $mosConfig_offset;
    $shift_time = $mosConfig_offset*60*60;
    thay hàm
    date("Y-m-d H:i:s")
    bằng hàm date("Y-m-d H:i:s",time()+$shift_time)
    thay 03 lần
  • Tiếp tục nâng cấp chức năng tìm kiếm: 2008-07-30 khá hoàn chỉnh
    Thay đổi:
    components\com_fireboard\sources\fb_search.class.php
    và plugin/advancedsearch
    2008-08-08: Đã fix để có thể tìm kiếm các sub forum, với độ sâu tối đa là 10
  • Bổ sung tính năng nhận biết link của youtube và chuyển nó sang định dạng Movie:
    http://www.bestofjoomla.com/compone...c,view/id,54747/catid,68/
  • Fixed Hidden text với số POST chỉ có tác dụng với member và mất tác dụ̣ng đối với MOD và Admin
  • Đã fix com_missus láy từ luyenkim.net

    Fixed image margin - căn lề ảnh là 2 6px.


Demo:
www.xahoihoctap.net
www.chimco.net
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#2555
gmail
(User)
Gold Boarder
Posts: 276
graphgraph
User Offline Click here to see the profile of this user
Birthdate: 1971-01-01
Re: Các modification mới đối với FB 1.0.4 cho chimco.net 4 Months, 1 Week ago Karma: 1  
Xem các version mới nhất http://joomlacode.org/gf/project/fireboard/frs/ .

Fixed latestx.php hiển thị danh sách bài viết đúng thứ tự thời gian - sửa từ FB 1.0.5

Code:

// get all the threads with posts in the specified timeframe
$database->setQuery(
"SELECT
a.thread,
a.subject,
b.lastpost
FROM
#__fb_messages AS a
JOIN ( SELECT thread, MAX(time) AS lastpost
FROM #__fb_messages
WHERE time >'$querytime' AND hold=0 AND moved=0 AND catid IN ($ResultSet)
GROUP BY 1) AS b ON b.thread = a.thread
WHERE
a.parent=0
AND a.moved=0
AND a.hold=0
GROUP BY a.thread
ORDER BY b.lastpost DESC LIMIT 100");


Đã modìy để các emôtin icon cũng sẽ hiển thị code của nó - để tăng readable và effective search engine. Sửa smile.class.php
Code:

if ($emoticons != 1)
{
reset($message_emoticons);
while (list($emo_txt, $emo_src) = each($message_emoticons)) {
$fb_message_txt = str_replace($emo_txt, '<img src="' . $emo_src . '"
alt="'.$emo_txt.'" title="'.$emo_txt.'" style="vertical-align: middle;border:0px;" />', $fb_message_txt);
}
}
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop