問題外掛:attachment v237
參考連結:無
使用版本:phpBB 2.0.4)
網站位置:http://5ccn99.no-ip.info
狀況描述:
已經裝好了此外掛,但是卻不能發表、回覆文章(因為畫面是白的)~~~~~~救救我吧~~~~菜鳥\r
P.S
已裝過 HP/MP/EXP
主題類型
樂透
限制觀看會員列表及群組頁
[問題]attachment v2.3.7
版主: 版主管理群
#-----[ 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 不穩嗎?
#
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 不穩嗎?

