1 頁 (共 1 頁)

[問題]attachment v2.3.7

發表於 : 2003-05-17 23:21
nengs
問題外掛:attachment v237
參考連結:無
使用版本:phpBB 2.0.4)
網站位置:http://5ccn99.no-ip.info
狀況描述:
已經裝好了此外掛,但是卻不能發表、回覆文章(因為畫面是白的)~~~~~~救救我吧~~~~菜鳥\r
P.S
已裝過 HP/MP/EXP
主題類型
樂透
限制觀看會員列表及群組頁

發表於 : 2003-05-17 23:41
william91
你改錯php檔案了

發表於 : 2003-05-17 23:44
nengs
#-----[ OPEN ]---------------------------------------------\r
#
posting.php

#
#-----[ FIND ]---------------------------------------------
# around line 427
$attach_sig = ( $submit || $refresh ) ? ( ( !empty($HTTP_POST_VARS['attach_sig']) ) ? TRUE : 0 ) : ( ( $userdata['user_id'] == ANONYMOUS ) ? 0 : $userdata['user_attachsig'] );

#
#-----[ AFTER, ADD ]---------------------------------------
#
execute_posting_attachment_handling();

#
#-----[ FIND ]---------------------------------------------
# around line 584
user_notification($mode, $post_data, $post_info['topic_title'], $forum_id, $topic_id, $post_id, $notify_user);
}

#
#-----[ AFTER, ADD ]---------------------------------------
# (the Line have to be added AFTER the closing brace)
$attachment_mod['posting']->insert_attachment($post_id);
#
#-----[ FIND ]---------------------------------------------
# around line 713
'preview' => 'posting_preview.tpl')
);

#
#-----[ AFTER, ADD ]---------------------------------------
# (the Line have to be added AFTER the ');' )
$attachment_mod['posting']->preview_attachments();

紅色部分是我原本程式裡沒有的
藍色部分刪掉就又可以了
這樣會造成此 mod 不穩嗎?

發表於 : 2003-05-17 23:52
nengs
目前我是將藍色部分刪掉,還沒有發現任何問題~~~有勞各位大大摟