Attachments forum

Could someone tell me if i can remove the option to add Attachments to forum by members?

 

many thanks

 

mark

Quote · 28 Apr 2011

Hello open this files:

modules\boonex\forum\layout\base_en\xsl\attachments.xsl

modules\boonex\forum\layout\base\xsl\attachments.xsl

and remove this code line:

<div class="forum_default_margin_top">
[L[Attachments:]]
<xsl:if test="$files">
<xsl:for-each select="$files/file">
<br /><input type="checkbox" name="existing_file[]" value="{@hash}" id="{@hash}" checked="checked"/><label for="{@hash}"><xsl:value-of select="." /></label>
</xsl:for-each>
</xsl:if>
<div class="forum_file_attachment"><input type="file" name="attachments[]" /></div>
<a href="javascript:void(0);" onclick="jQuery('.forum_file_attachment:last').after(jQuery('.forum_file_attachment:first').clone())">[L[Attach one more file]]</a>
</div>

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 29 Apr 2011

A very big thank you - a bit tricky as the opened all on one line in my editor - but sorted, very please. regards mark

Quote · 29 Apr 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.