jeffyuan 寫:0.0.9d 與 2.0.1這兩種有差很多嗎?
以下是安裝說明擷取
代碼: 選擇全部
## Change History:
## 0.0.9d + mxBB 2.0.1 : ADD/Fixed:
## - bugfixes
## - PM/EMAIL notification done
## - Permissions reviewed and "secured"
## - Comments/ratings may be enabled/disabled
## - Approval level per category
## - ucp/mcp final
##
## 0.0.9d + mxBB 1.0.1-3 : ADD/Fixed:
## - bugfixes
## - need approval/validation on/off
## - validator select: admin/mod
## - PM notify to validator (not finished)
## - ucp: EDIT/DELETE buttons...and added permissions
## - mcp (experimental)
## - comments fix (now delete comments works...not edit)
## - and more
##
建議您安裝新版, 是為了日後遇到麻煩時, 比較容易獲得支援.
--
jeffyuan 寫:
發現新版沒中文化~且安裝新版後出錯連連連後台都進不了
1. 請先確定您下載的版本 (含正體中文化)
2. 解決後台沒有中文化, 請更改語言檔的檔名
由 language/lang_chinese_traditional_taiwan/
lang_pafiledb_admin.php
改成 language/lang_chinese_traditional_taiwan/
lang_admin_pafiledb.php
或者, 更改底下檔案.
#
#-----[ OPEN ]-----
#
admin/index.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_pafiledb.' . $phpEx);
#
#-----[ REPLACE WITH ]-----
#
代碼: 選擇全部
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_pafiledb_admin.' . $phpEx);
3. 猶記進入後台, 左框架頁會出現錯誤訊息.
我不太確定, 您的意思是否如此.
如果是, 以下的修改, 給您參考.
#
#-----[ OPEN ]-----
#
admin/admin_pa_ug_auth.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
function admin_display_cat_auth( $cat_parent = 0, $depth = 0 )
{
global $pafiledb, $phpbb_root_path, $pafiledb_template, $phpEx;
global $cat_auth_fields, $optionlist_mod, $optionlist_acl_adv;
$pre = str_repeat( ' ', $depth );
if ( isset( $pafiledb->subcat_rowset[$cat_parent] ) )
{
foreach( $pafiledb->subcat_rowset[$cat_parent] as $sub_cat_id => $cat_data )
{
$pafiledb_template->assign_block_vars( 'cat_row', array( 'CAT_NAME' => $cat_data['cat_name'],
'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] ) ? false : true,
'PRE' => $pre,
'U_CAT' => append_sid( "admin_pa_catauth.$phpEx?cat_id=$sub_cat_id" ),
'S_MOD_SELECT' => $optionlist_mod[$sub_cat_id] )
);
for( $j = 0; $j < count( $cat_auth_fields ); $j++ )
{
$pafiledb_template->assign_block_vars( 'cat_row.aclvalues', array( 'S_ACL_SELECT' => $optionlist_acl_adv[$sub_cat_id][$j] )
);
}
admin_display_cat_auth( $sub_cat_id, $depth + 1 );
}
return;
}
return;
}
#
#-----[ REPLACE WITH ]-----
#
代碼: 選擇全部
/*function admin_display_cat_auth( $cat_parent = 0, $depth = 0 )
{
global $pafiledb, $phpbb_root_path, $pafiledb_template, $phpEx;
global $cat_auth_fields, $optionlist_mod, $optionlist_acl_adv;
$pre = str_repeat( ' ', $depth );
if ( isset( $pafiledb->subcat_rowset[$cat_parent] ) )
{
foreach( $pafiledb->subcat_rowset[$cat_parent] as $sub_cat_id => $cat_data )
{
$pafiledb_template->assign_block_vars( 'cat_row', array( 'CAT_NAME' => $cat_data['cat_name'],
'IS_HIGHER_CAT' => ( $cat_data['cat_allow_file'] ) ? false : true,
'PRE' => $pre,
'U_CAT' => append_sid( "admin_pa_catauth.$phpEx?cat_id=$sub_cat_id" ),
'S_MOD_SELECT' => $optionlist_mod[$sub_cat_id] )
);
for( $j = 0; $j < count( $cat_auth_fields ); $j++ )
{
$pafiledb_template->assign_block_vars( 'cat_row.aclvalues', array( 'S_ACL_SELECT' => $optionlist_acl_adv[$sub_cat_id][$j] )
);
}
admin_display_cat_auth( $sub_cat_id, $depth + 1 );
}
return;
}
return;
}*/
#
#-----[ SAVE & CLOSE ]-----
#