++ Nice_IT ++
03-01-2010, 08:24 PM
Đúng 0h ngày 01/03/2010, NukeViet 2.0 RC3 đă chính thức ra mắt trên hệ thống Google code.
Download NukeViet 2.0 RC3 tại đây:
Bản không noForum: [Only registered and activated users can see links]
File thay đổi: [Only registered and activated users can see links]
Toàn bộ: [Only registered and activated users can see links]
Phát hành 0h ngày 01/03/2010
NHỮNG THAY ĐỔI CỦA NUKEVIET 2.0 RC3 SO VỚI NUKEVIET 2.0 RC2
Thay đổi các file:
-----------------
\upload\admin\case\case.stories.php
\upload\admin\language\lang-english.php
\upload\admin\language\lang-vietnamese.php
\upload\admin\modules\authors.php
\upload\admin\modules\newsletter.php
\upload\admin\modules\setban.php
\upload\admin\modules\stories.php
\upload\admin\modules\users.php
\upload\admin\admin.php
\upload\blocks\block-Languages.php
\upload\blocks\block-Menu1_default.php
\upload\blocks\block-MiniChat.php
\upload\blocks\block-Online.php
\upload\blocks\block-RandomVoting.php
\upload\includes\functions\blocks.php
\upload\includes\functions\functions.php
\upload\includes\functions\mainfile.php
\upload\includes\functions\news.php
\upload\install\dumper.php
\upload\install\dumper2.php
\upload\install\install.php
\upload\language\lang-vietnamese.php
\upload\modules\Addnews\index.php
\upload\modules\Contact\index.php
\upload\modules\Files\index.php
\upload\modules\News\friend.php
\upload\modules\News\index.php
\upload\modules\Newsletter\index.php
\upload\modules\Your_Account\index.php
\upload\themes\nv_green\blocks\block-Menu2.php
\upload\themes\nv_green\blocks\block-Menu3.php
\upload\themes\nv_orange\blocks\block-Menu3.php
\upload\themes\nv_silver\blocks\block-Menu2.php
\upload\themes\nv_silver\blocks\block-Menu3.php
\upload\themes\nv_silver\theme.php
\upload\footer.php
\upload\header.php
\upload\modules.php
===========================
Những thay đổi về tính năng:
===========================
Fix lỗi của bản RC2:
===================
1. File: install\install.php
Sửa để cài đặt được trên server windows PHP 5.2.11
$[Only registered and activated users can see links] -> $_GET
$[Only registered and activated users can see links] -> $_POST
$[Only registered and activated users can see links] -> $_SERVER
$[Only registered and activated users can see links] -> $_ENV
Nếu Safe Mode mở th́ chỉ cảnh báo
2. Sửa hàm kiểm tra email trên PHP và Javascript
[Only registered and activated users can see links]
[Only registered and activated users can see links]
admin\admin.php, 2
admin\modules\authors.php, 2
admin\modules\newsletter.php, 1
admin\modules\users.php, 1
ins_tall\install.php, 1
modules\News\friend.php, 2
modules\News\index.php, 1
modules\Newsletter\index.php, 1
modules\Your_Account\index.php, 2
modules\Contact\index.php, 1
3. Sửa lỗi Your_Account
1) Xóa file includes\data\ulist.php
2) Xóa file includes\functions\users.php
3) Xóa tất cả các ḍng
ulist();
trong các file sau:
admin\modules\users.php
modules\Your_Account\index.php
Các module không có khác (music, …) cần kiểm tra xem có sửa dụng biến $udt, ulist.php không
- Đă sửa lại Module File để lấy thông tin từ data
- Đă sửa lại File admin\modules\users.php
- Block block-Online.php
4. Sửa lỗi XSS: trong file includes/functions/functions.php
t́m đến ḍng :
if ( $strip == "nohtml" ) $AllowableHTML = array( '' );
Thay bằng:
if ( $strip == "nohtml" ) {
$AllowableHTML = array( '' );
$str = strip_tags( $str );
}
5. Fix lỗi phân trang khi tra cứu bài viết trong News NV2RC
trong file modules\News\index.php:
T́m ḍng sau ( trong hàm archive())
$base_url = "modules.php?name=$module_name&op=viewtop&topicid=$topicid";
Sửa thành:
$base_url = "modules.php?name=$module_name&op=archive&day=$day&month=$month&year=$year&catid=$catid&pozit=$pozit";
6. Sửa module ConfigureBan.
Copy file admin\modules\setban.php đè vào file cũ
Xóa file includes\data\config_Setban.php
Tạo file includes\data\config_banip.php (Nội dung = rỗng và CHMOD cho file này có quyền được ghi)
T́m function nv_is_ban trong file: includes\functions\functions.php bằng function sau:
function nv_is_ban( $client_ip = "" )
{
global $datafold;
if ( empty($client_ip) ) $client_ip = nv_getClientIP();
$return = false;
if ( file_exists(INCLUDE_PATH . $datafold . "/config_banip.php")){
[Only registered and activated users can see links]
if (in_array($client_ip, $array_ip_ban) )
{
$return = true;
}
}
return $return;
}
7. Sửa Block không cho chèn kư tự "|" vào nội dung
===============
Những điểm mới:
===============
1. Cho phép quản lư Module Tin tức trong Admin Control Panel thuận tiện hơn:
+ Sửa lại Function ManagerCategory, OrderCat, Commentok, EditCategory, newadminhome
+ Tạo thêm func MoveCat
====================
Những người tham gia
====================
Báo lỗi: vv0lll
Sửa lỗi: vuthao, conmatdo, xman
Kiểm tra: laser
===============
HƯỚNG DẪN NÂNG CẤP NUKEVIET 2.0 RC2 LÊN NUKEVIET 2.0 RC3
==============================================
Hướng dẫn sử dụng changepack_rc2-rc3
===================================
- Để nâng cấp bộ cài NukeViet 2.0 RC2 lên NukeViet 2.0 RC3 chỉ cần Giải nén và ghi đè những file trong changepack_rc1-rc2 vào thư mục '/upload/' trong bộ cài NukeViet 2.0 RC2
- Để nâng cấp site của bạn từ phiên bản NukeViet 2.0 RC2 lên NukeViet 2.0 RC3 chỉ cần giải nén changepack_rc1-rc2.rar và ghi đè những file trong thư mục 'upload' vào thư mục gốc của Website sử dụng hệ thống NukeViet 2.0 RC2. Sau đó xóa thư mục 'install' khỏi website của bạn.
Chú ư:
- changepack_rc2-rc3 này sử dụng chung cho cả bản có Forums và không có Forums của NukeViet 2.0 RC2.
(Download bộ cài gốc của NukeViet 2.0 RC2 tại đây: [Only registered and activated users can see links])
Hướng dẫn cài đặt mới NukeViet 2.0 RC3
Tải mă nguồn NukeViet về:
• nv2rc3noforum.rar : NukeViet 2.0 RC3 không có Forum
Cài bằng 1 trong 2 cách sau:
1. Cài đặt tự động
1. Giải nén file mă nguồn ta được 4 thư mục: sql, install, changelog và upload.
2. Tải toàn bộ các files và thư mục bên trong thư mục upload lên thư mục public_html trên hosting.
3. CHMOD 777 cho các thư mục sau:
a. tmp;
b. uploads (và các thư mục con bên trong nó);
c. data (nằm trong thư mục includes).
4. Tiến hành cài đặt bằng việc truy cập địa chỉ [Only registered and activated users can see links]
2. Cài đặt thủ công
1. Giải nén file mă nguồn ta được 4 thư mục: sql, install, changelog và upload.
2. Copy toàn bộ các files và thư mục bên trong thư mục install vào trong thư mục upload.
3. Tải toàn bộ các files và thư mục bên trong thư mục upload lên thư mục public_html trên hosting.
4. CHMOD 777 cho các thư mục sau:
a. tmp;
b. uploads (và các thư mục con bên trong nó);
c. data (nằm trong thư mục includes).
5. Tạo 1 cơ sở dữ liệu trống và import file nv2rc3_01_03_2010.sql (trong thư mục sql) vào cơ sở dữ liệu mới được tạo này. Lưu ư: khi import các bạn chọn Character set of the file là latin1.
6. Edit các thông số $dbhost, $dbname, $dbuname, $dbpass trong file mainfile.php cho phù hợp với thông số cơ sở dữ liệu của bạn. Lưu ư, nếu bạn chỉ có 1 tài khoản đăng nhập CSDL th́ bạn nhập 3 lần giống nhau cho thông số $dbuname và $dbpass.
7. Truy cập [Only registered and activated users can see links] để kiểm tra việc cài đặt đă thành công hay chưa.
[Only registered and activated users can see links]
a. Vào mục Người quản trị để thay đổi email và mật khẩu của admin mặc định.
b. Vào mục Thành viên để thay đổi email và mật khẩu của thành viên mặc định.
c. Vào mục Liên hệ để thay địa chỉ email tài khoản liên hệ mặc định.
d. Vào mục Cấu h́nh, để cấu h́nh lại URL của site, Nơi lưu cookie cho đúng.
Chú ư: [Only registered and activated users can see links] là địa chỉ trang web của bạn. Nếu bạn cài trên máy tính cá nhân th́ địa chỉ này là [Only registered and activated users can see links]
Download NukeViet 2.0 RC3 tại đây:
Bản không noForum: [Only registered and activated users can see links]
File thay đổi: [Only registered and activated users can see links]
Toàn bộ: [Only registered and activated users can see links]
Phát hành 0h ngày 01/03/2010
NHỮNG THAY ĐỔI CỦA NUKEVIET 2.0 RC3 SO VỚI NUKEVIET 2.0 RC2
Thay đổi các file:
-----------------
\upload\admin\case\case.stories.php
\upload\admin\language\lang-english.php
\upload\admin\language\lang-vietnamese.php
\upload\admin\modules\authors.php
\upload\admin\modules\newsletter.php
\upload\admin\modules\setban.php
\upload\admin\modules\stories.php
\upload\admin\modules\users.php
\upload\admin\admin.php
\upload\blocks\block-Languages.php
\upload\blocks\block-Menu1_default.php
\upload\blocks\block-MiniChat.php
\upload\blocks\block-Online.php
\upload\blocks\block-RandomVoting.php
\upload\includes\functions\blocks.php
\upload\includes\functions\functions.php
\upload\includes\functions\mainfile.php
\upload\includes\functions\news.php
\upload\install\dumper.php
\upload\install\dumper2.php
\upload\install\install.php
\upload\language\lang-vietnamese.php
\upload\modules\Addnews\index.php
\upload\modules\Contact\index.php
\upload\modules\Files\index.php
\upload\modules\News\friend.php
\upload\modules\News\index.php
\upload\modules\Newsletter\index.php
\upload\modules\Your_Account\index.php
\upload\themes\nv_green\blocks\block-Menu2.php
\upload\themes\nv_green\blocks\block-Menu3.php
\upload\themes\nv_orange\blocks\block-Menu3.php
\upload\themes\nv_silver\blocks\block-Menu2.php
\upload\themes\nv_silver\blocks\block-Menu3.php
\upload\themes\nv_silver\theme.php
\upload\footer.php
\upload\header.php
\upload\modules.php
===========================
Những thay đổi về tính năng:
===========================
Fix lỗi của bản RC2:
===================
1. File: install\install.php
Sửa để cài đặt được trên server windows PHP 5.2.11
$[Only registered and activated users can see links] -> $_GET
$[Only registered and activated users can see links] -> $_POST
$[Only registered and activated users can see links] -> $_SERVER
$[Only registered and activated users can see links] -> $_ENV
Nếu Safe Mode mở th́ chỉ cảnh báo
2. Sửa hàm kiểm tra email trên PHP và Javascript
[Only registered and activated users can see links]
[Only registered and activated users can see links]
admin\admin.php, 2
admin\modules\authors.php, 2
admin\modules\newsletter.php, 1
admin\modules\users.php, 1
ins_tall\install.php, 1
modules\News\friend.php, 2
modules\News\index.php, 1
modules\Newsletter\index.php, 1
modules\Your_Account\index.php, 2
modules\Contact\index.php, 1
3. Sửa lỗi Your_Account
1) Xóa file includes\data\ulist.php
2) Xóa file includes\functions\users.php
3) Xóa tất cả các ḍng
ulist();
trong các file sau:
admin\modules\users.php
modules\Your_Account\index.php
Các module không có khác (music, …) cần kiểm tra xem có sửa dụng biến $udt, ulist.php không
- Đă sửa lại Module File để lấy thông tin từ data
- Đă sửa lại File admin\modules\users.php
- Block block-Online.php
4. Sửa lỗi XSS: trong file includes/functions/functions.php
t́m đến ḍng :
if ( $strip == "nohtml" ) $AllowableHTML = array( '' );
Thay bằng:
if ( $strip == "nohtml" ) {
$AllowableHTML = array( '' );
$str = strip_tags( $str );
}
5. Fix lỗi phân trang khi tra cứu bài viết trong News NV2RC
trong file modules\News\index.php:
T́m ḍng sau ( trong hàm archive())
$base_url = "modules.php?name=$module_name&op=viewtop&topicid=$topicid";
Sửa thành:
$base_url = "modules.php?name=$module_name&op=archive&day=$day&month=$month&year=$year&catid=$catid&pozit=$pozit";
6. Sửa module ConfigureBan.
Copy file admin\modules\setban.php đè vào file cũ
Xóa file includes\data\config_Setban.php
Tạo file includes\data\config_banip.php (Nội dung = rỗng và CHMOD cho file này có quyền được ghi)
T́m function nv_is_ban trong file: includes\functions\functions.php bằng function sau:
function nv_is_ban( $client_ip = "" )
{
global $datafold;
if ( empty($client_ip) ) $client_ip = nv_getClientIP();
$return = false;
if ( file_exists(INCLUDE_PATH . $datafold . "/config_banip.php")){
[Only registered and activated users can see links]
if (in_array($client_ip, $array_ip_ban) )
{
$return = true;
}
}
return $return;
}
7. Sửa Block không cho chèn kư tự "|" vào nội dung
===============
Những điểm mới:
===============
1. Cho phép quản lư Module Tin tức trong Admin Control Panel thuận tiện hơn:
+ Sửa lại Function ManagerCategory, OrderCat, Commentok, EditCategory, newadminhome
+ Tạo thêm func MoveCat
====================
Những người tham gia
====================
Báo lỗi: vv0lll
Sửa lỗi: vuthao, conmatdo, xman
Kiểm tra: laser
===============
HƯỚNG DẪN NÂNG CẤP NUKEVIET 2.0 RC2 LÊN NUKEVIET 2.0 RC3
==============================================
Hướng dẫn sử dụng changepack_rc2-rc3
===================================
- Để nâng cấp bộ cài NukeViet 2.0 RC2 lên NukeViet 2.0 RC3 chỉ cần Giải nén và ghi đè những file trong changepack_rc1-rc2 vào thư mục '/upload/' trong bộ cài NukeViet 2.0 RC2
- Để nâng cấp site của bạn từ phiên bản NukeViet 2.0 RC2 lên NukeViet 2.0 RC3 chỉ cần giải nén changepack_rc1-rc2.rar và ghi đè những file trong thư mục 'upload' vào thư mục gốc của Website sử dụng hệ thống NukeViet 2.0 RC2. Sau đó xóa thư mục 'install' khỏi website của bạn.
Chú ư:
- changepack_rc2-rc3 này sử dụng chung cho cả bản có Forums và không có Forums của NukeViet 2.0 RC2.
(Download bộ cài gốc của NukeViet 2.0 RC2 tại đây: [Only registered and activated users can see links])
Hướng dẫn cài đặt mới NukeViet 2.0 RC3
Tải mă nguồn NukeViet về:
• nv2rc3noforum.rar : NukeViet 2.0 RC3 không có Forum
Cài bằng 1 trong 2 cách sau:
1. Cài đặt tự động
1. Giải nén file mă nguồn ta được 4 thư mục: sql, install, changelog và upload.
2. Tải toàn bộ các files và thư mục bên trong thư mục upload lên thư mục public_html trên hosting.
3. CHMOD 777 cho các thư mục sau:
a. tmp;
b. uploads (và các thư mục con bên trong nó);
c. data (nằm trong thư mục includes).
4. Tiến hành cài đặt bằng việc truy cập địa chỉ [Only registered and activated users can see links]
2. Cài đặt thủ công
1. Giải nén file mă nguồn ta được 4 thư mục: sql, install, changelog và upload.
2. Copy toàn bộ các files và thư mục bên trong thư mục install vào trong thư mục upload.
3. Tải toàn bộ các files và thư mục bên trong thư mục upload lên thư mục public_html trên hosting.
4. CHMOD 777 cho các thư mục sau:
a. tmp;
b. uploads (và các thư mục con bên trong nó);
c. data (nằm trong thư mục includes).
5. Tạo 1 cơ sở dữ liệu trống và import file nv2rc3_01_03_2010.sql (trong thư mục sql) vào cơ sở dữ liệu mới được tạo này. Lưu ư: khi import các bạn chọn Character set of the file là latin1.
6. Edit các thông số $dbhost, $dbname, $dbuname, $dbpass trong file mainfile.php cho phù hợp với thông số cơ sở dữ liệu của bạn. Lưu ư, nếu bạn chỉ có 1 tài khoản đăng nhập CSDL th́ bạn nhập 3 lần giống nhau cho thông số $dbuname và $dbpass.
7. Truy cập [Only registered and activated users can see links] để kiểm tra việc cài đặt đă thành công hay chưa.
[Only registered and activated users can see links]
a. Vào mục Người quản trị để thay đổi email và mật khẩu của admin mặc định.
b. Vào mục Thành viên để thay đổi email và mật khẩu của thành viên mặc định.
c. Vào mục Liên hệ để thay địa chỉ email tài khoản liên hệ mặc định.
d. Vào mục Cấu h́nh, để cấu h́nh lại URL của site, Nơi lưu cookie cho đúng.
Chú ư: [Only registered and activated users can see links] là địa chỉ trang web của bạn. Nếu bạn cài trên máy tính cá nhân th́ địa chỉ này là [Only registered and activated users can see links]