Quote:
Originally Posted by Evercraft
mm im not too sure. It would certainly require an extra template edit.
|
I added this piece of template into calendar_edit template:
Quote:
<fieldset class="fieldset">
<legend>$vbphrase[attach_files]</legend>
<div style="padding:$stylevar[formspacer]px">
<div style="margin-bottom:$stylevar[formspacer]px">
<div>$vbphrase[valid_file_extensions]: $attachtypes[extensions]</div>
</div>
<div style="margin-bottom:$stylevar[formspacer]px" id="attachlist">
<if condition="$show['attachmentlist']">
$attachments
</if>
</div>
<div>
<script type="text/javascript" src="clientscript/vbulletin_attachment.js"></script>
<script type="text/javascript">
<!--
var newpost_attachmentbit = '$newpost_attachmentbit';
vB_Attachments = new vB_Attachment('attachlist', '$editorid');
$attachment_js
document.write('<input type="button" id="manage_attachments_button" class="button" tabindex="1" style="font-weight:normal" value="$vbphrase[manage_attachments]" title="$vbphrase[add_edit_files_attached]" onclick="vB_Attachments.open_window(\'newattachmen t.php?$session[sessionurl]$attachurl&poststarttime=$poststarttime&po sthash=$posthash\', 480, 480, \'$postid\')" />');
//-->
</script>
<noscript>
<a href="newattachment.php?$session[sessionurl]$attachurl&poststarttime=$poststarttime&po sthash=$posthash" target="manageattach" title="$vbphrase[add_edit_files_attached]" tabindex="1"><strong>$vbphrase[manage_attachments]</strong></a>
</noscript>
</div>
</div>
</fieldset>
|
It showed the button to upload, but when I click on the upload button, the forum msg gave me this:
Invalid Post specified. If you followed a valid link, please notify the administrator
Is there anything else I need to do to make this upload option to work?
Best,
CK