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 |
anyone can tell me? thank you... |
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 |
not really, i can do it.. |
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"> · </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.
|
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"> · </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.
|
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. |
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. |
Not hard for me but I mean for those newcomers who test the demo. |
they have to start learning somewhere  |
Hmm well you made your point :D |