Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
how to disable Fileupload function in comment aera.
This discussion is related to the fileupload addon.
i only allow users upload in "start a new discussion", but not in the comment aera.
anyone can tell me how? thanks.
anyone can tell me how? thanks.
0
Best Answer
-
ericcarl New
If you're comfortable editing the CSS for your Vanilla theme, you should be able to hide the "Attach a File" link by adding the following CSS rule:#Form_Comment .AttachFileLink { display: none; }
That CSS rule will keep the "Attach a File" link visible in the Discussion form but hidden in the Comment form. It's not the most elegant solution but should do in a pinch.1
Answers
Vanilla Forums COO [GitHub, Twitter, About.me]
#Form_Comment .AttachFileLink { display: none; }
That CSS rule will keep the "Attach a File" link visible in the Discussion form but hidden in the Comment form. It's not the most elegant solution but should do in a pinch.