1. 修改 forumdisplay.php
!empty($forum['allowpost']);
$allowpostattach = !empty($forum['allowpostattach']) || (!$forum['postattachperm'] && $allowpostattach) || ($forum['postattachperm'] && forumperm($forum['postattachperm']));
$attachextensions = $forum['attachextensions'] ? $forum['attachextensions'] : $attachextensions;
$enctype = $allowpostattach ? 'enctype="multipart/form-data"' : '';
$maxattachsize_kb = $maxattachsize / 1000;
$maxprice = isset($extcredits[$creditstrans]) ? $maxprice : 0;
2. 修改 viewthread.php
$allowpostattach = !empty($forum['allowpostattach']) || (!$forum['postattachperm'] && $allowpostattach) || ($forum['postattachperm'] && forumperm($forum['postattachperm']));
$attachextensions = $forum['attachextensions'] ? $forum['attachextensions'] : $attachextensions;
$enctype = $allowpostattach ? 'enctype="multipart/form-data"' : '';
$maxattachsize_kb = $maxattachsize / 1000;
$maxprice = isset($extcredits[$creditstrans]) ? $maxprice : 0;
3. 修改 css 模板
/*----Fast Attach---*/
.fastattach {width:87%; padding: 4px 10px 4px 30px;}
.fastattach td {padding: 3px; border-bottom: 1px solid {COMMONBOXBORDER};}
4. 修改 forumdisplay 模板
action="post.php?action=newthread&fid=$fid&extra=$extra&topicsubmit=yes"
<!--{if $allowpostattach}-->
{template post_fastattach}
<!--{/if}-->
5. 修改 viewthread 模板
action="post.php?action=reply&fid=$fid&tid=$tid&extra=$extra&replysubmit=yes"
<!--{if $allowpostattach}-->
{template post_fastattach}
<!--{/if}-->
6. 下載附件 post_fastattach.rar 解壓後上載至 templates/default 目錄下, 然後到後台 "更新緩存"