1 頁 (共 1 頁)

[問題] 全域公告global_announcement_1[1].2.8em 求救

發表於 : 2005-01-27 03:21
究極冒號
現在我安裝「全域公告global_announcement_1[1].2.8em」出現了問題,希望有高手可以幫幫我呢~謝謝。

我已安裝的mod:
Topic Cost Modification;論壇銀行;整合式top5和cash mod。

我用的風格是:Macinscott2

我用的phpBB版本是2.0.11

圖檔

而我現在的includes/auth.php 內的55~65行內容是以下:

代碼: 選擇全部

switch( $type )
{
case AUTH_ALL:
$a_sql = 'a.auth_view, a.auth_read, a.auth_post, a.auth_reply, a.auth_edit, a.auth_delete, a.auth_sticky, a.auth_announce, a.auth_vote, a.auth_pollcreate, a.auth_globalannounce';
$auth_fields = array('auth_view', 'auth_read', 'auth_post', 'auth_reply', 'auth_edit', 'auth_delete', 'auth_sticky', 'auth_announce', 'auth_vote', 'auth_pollcreate', 'auth_globalannounce');
break;

case AUTH_VIEW:
$a_sql = 'a.auth_view';
$auth_fields = array('auth_view');
break;
而安裝內說要修改的是以下:

代碼: 選擇全部

#-----[ OPEN ]------------------------------------------------ 
# 
includes/auth.php
 
# 
#-----[ FIND ]------------------------------------------------ 
# 
case AUTH_ALL:
$a_sql = '

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
';

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, a.auth_globalannounce

# 
#-----[ FIND ]------------------------------------------------ 
# 
$auth_fields = array(

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
);

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------------- 
# 
, 'auth_globalannounce'

# 
#-----[ FIND ]------------------------------------------------ 
# 
default:
break;

# 
#-----[ BEFORE, ADD ]----------------------------------------- 
# 

// Start add - Global announcement MOD
case AUTH_GLOBALANNOUNCE: 
$a_sql = 'a.auth_globalannounce'; 
$auth_fields = array('auth_globalannounce'); 
break; 
// End add - Global announcement MOD

#
當我現在執行「global_announcement_db_update.php」時,便會出現上圖中的錯誤訊息,不能成功安裝(後台沒有選項出現)。

請問有高手懂我現在錯在哪嗎?

發表於 : 2005-01-27 03:32
究極冒號
剛剛發現,原來是能正常運作的,只是沒有後台管理?(是沒有的嗎?我看見有些ADMIN檔要修改,還以為有…)

請問上圖中那些問題是沒有問題或不是大問題嗎?如果不是大問題或其實沒問題便算了…先謝各位,謝謝。