Forum attachments - can I disable them?

Having a tough time finding the option to disable forum attachments if it exists, can anyone confirm?

 

I know you can define membership levels to dis-allow members from downloading forum attachments, but I don't want that. I need to prohibit members from performing uploads.

Skype: shawn.nelson
Quote · 18 Feb 2011

anyone can tell me? thank you...

Quote · 11 Dec 2012

Off the top of my head if you want to remove it all together that is something that would need to be done in the code. 

We can go in there for you and remove it completely if this is what you are wanting.

 

~Simion~ http://1Faze.com ~ Custom Dolphin Development. ~ Dolphin Consultation
Quote · 11 Dec 2012

not really, i can do it..

Quote · 11 Dec 2012

 

Having a tough time finding the option to disable forum attachments if it exists, can anyone confirm?

 

I know you can define membership levels to dis-allow members from downloading forum attachments, but I don't want that. I need to prohibit members from performing uploads.

modulesboonexforumlayoutbasexsl  attachments.xsl

<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" />

        <div class="bx-def-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" onchange="if (!this.checked) f.removeImageFromPost('tinyEditor_{../../post_id}', '{@hash}')" /><label for="{@hash}"><xsl:value-of select="." /></label>
                    <xsl:if test="1 = @image">
                        <span class="bullet"> &#183; </span><a href="javascript:void(0);" onclick="f.insertImageToPost('tinyEditor_{../../post_id}', '{@hash}')">[L[insert to post]]</a>
                    </xsl:if>
                </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>

    </xsl:template>

</xsl:stylesheet>


delete all that then recompile language.

Quote · 11 Dec 2012

 Many Thanks :)

 

Having a tough time finding the option to disable forum attachments if it exists, can anyone confirm?

 

I know you can define membership levels to dis-allow members from downloading forum attachments, but I don't want that. I need to prohibit members from performing uploads.

modulesboonexforumlayoutbasexsl  attachments.xsl

<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" />

        <div class="bx-def-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" onchange="if (!this.checked) f.removeImageFromPost('tinyEditor_{../../post_id}', '{@hash}')" /><label for="{@hash}"><xsl:value-of select="." /></label>
                    <xsl:if test="1 = @image">
                        <span class="bullet"> &#183; </span><a href="javascript:void(0);" onclick="f.insertImageToPost('tinyEditor_{../../post_id}', '{@hash}')">[L[insert to post]]</a>
                    </xsl:if>
                </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>

    </xsl:template>

</xsl:stylesheet>


delete all that then recompile language.

 

Quote · 11 Dec 2012

Ok I truly think boonex should add such a basic task in the admin panel. Some people really have no idea of coding at all.

Quote · 11 Dec 2012

Not much coding required , read instructions find file open the file, find the code and make the changes --> save.
If that's a lot then you'll have a hard time doing anything with dolphin.

Quote · 11 Dec 2012

Not hard for me but I mean for those newcomers who test the demo.

Quote · 11 Dec 2012

they have to start learning somewhere Tongue Out

Quote · 11 Dec 2012

Hmm well you made your point :D

Quote · 11 Dec 2012
 
 
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.