how to remove attachments upload in forum?

how do I remove the attachments upload option when people post a new topic in the forum?

Quote · 1 Oct 2013

I would suggest to try to replace the contents of modules/boonex/forum/layout/base/xsl/attachments.xsl file with the following:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
    <xsl:template name="attachments">
        <xsl:param name="files" />

    </xsl:template>
</xsl:stylesheet> 

 
Rules → http://www.boonex.com/terms
Quote · 2 Oct 2013

Thank you.

Quote · 4 Oct 2013

 

I would suggest to try to replace the contents of modules/boonex/forum/layout/base/xsl/attachments.xsl file with the following:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
    <xsl:template name="attachments">
        <xsl:param name="files" />

    </xsl:template>
</xsl:stylesheet> 

 

 

I might be wrong but I believe it would be better to comment out the following section

            <xsl:call-template name="attachments">
                <xsl:with-param name="files" select="attachments" />
            </xsl:call-template>

in

edit_post.xsl

new_topic.xsl

post_reply.xsl

 

This way the attachment template is not rendered, which saves time and server resources.

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 4 Oct 2013
 
 
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.