Because dbank's Forum attachment is usedProgramSo if you want to remove the attachment upload program that comes with the system, you cannot set it in the background. After studying this, find the following method:
1. Delete the following template \ Default \ Forum \ editor_menu_forum.htm:Code
Switchattachbutton ('<! -- {If $ _ g ['setting'] ['swfupload']! = 0} --> swfupload <! -- {Else} --> upload <! -- {/If} --> ');
Or block it as follows
/*
Switchattachbutton ('<! -- {If $ _ g ['setting'] ['swfupload']! = 0} --> swfupload <! -- {Else} --> upload <! -- {/If} --> ');
*/
2. template \ Default \ Forum \ editor_menu_forum.htm Delete the following code
< Li Class = "Current" ID = "{$ Editorid} _ btn_attachlist" > < A Href = "Javascript :;" Hidefocus = "True" Onclick = "Switchattachbutton ('attachlist ');" > {Lang attachment_list} </ A > </ Li >
<! -- {If $ _ g ['setting'] ['swfupload']! = 1 & $ allowuploadtoday} --> < Li ID = "{$ Editorid} _ btn_upload" > < A Href = "Javascript :;" Hidefocus = "True" Onclick = "Switchattachbutton ('upload ');" > {Lang common_upload} </ A > </ Li > <! -- {/If} -->
<! -- {If $ _ g ['setting'] ['swfupload']! = 0 & $ allowuploadtoday} --> < Li ID = "{$ Editorid} _ btn_swfupload" > < A Href = "Javascript :;" Hidefocus = "True" Onclick = "Switchattachbutton ('swfupload ');" > {Lang batch_upload} </ A > </ Li > <! -- {/If} -->
The latter is added to the <li> tagsStyle= "Display: none"Hide
It seems okay. Check it carefully. You can upload a post and reply quickly.
3. In template \ Default \ Forum \ viewthread_fastpost.htmand forumdisplay_fastpost.htm
<! --{Eval $ seditor = array ('fastpost', array ('bold ', 'color', 'img', 'link', 'quote', 'code ', 'smilies '),! $ _ G ['uid']? 1: 0, $ allowpostattach? '<SPAN class = "pipe Z" >|</span> <span onclick = "fastuload () "Class =" cur1 Z ">{lang e_attach_title} </span> ':'');}-->
Change
<! --{Eval $ seditor = array ('fastpost', array ('bold ', 'color', 'img', 'link', 'quote', 'code ', 'smilies '),! $ _ G ['uid']? 1: 0 ,'');}-->