MyBB Community Forums

Full Version: Attachment Upload Facility Disappeared
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am confused, I am sure the Upload Attachment facility was working on my forum last night.

All the codes seem to be in the right places within the templates and all permissions seem to be fine. The upload attachments facility for replies and creating new threads seemingly just disappeared.

Any ideas?
Open your theme's NewThread Templates > newthread > and see if the following variable is present
{$attachbox}

Same for newreply template.
(2013-12-21, 03:10 PM)Yaldaram Wrote: [ -> ]Open your theme's NewThread Templates > newthread > and see if the following variable is present
{$attachbox}

It is there. In all the locations I placed it. NewThread, NewReply

<td class="trow2">
<textarea id="message" name="message" rows="20" cols="76" tabindex="2" >{$message}</textarea>
<div align="left"><b>Smilie inserter below.</b></div>
<div align="left"><b>{$attachbox}</b></div>
<div align="left"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<div style="height:350px;width:620px;overflow:scroll;">{$smilieinserter}</div>

Same for newreply template.

The only thing I can think of that I might have done is revert to an older threadlist, however I did fix it to be what it was prior to an error.

Would there be a chunk of code be missing from the threadlist template?

(2013-12-21, 03:16 PM)Article Chase Wrote: [ -> ]
(2013-12-21, 03:10 PM)Yaldaram Wrote: [ -> ]Open your theme's NewThread Templates > newthread > and see if the following variable is present
{$attachbox}

It is there. In all the locations I placed it. NewThread, NewReply

<td class="trow2">
<textarea id="message" name="message" rows="20" cols="76" tabindex="2" >{$message}</textarea>
<div align="left"><b>Smilie inserter below.</b></div>
<div align="left"><b>{$attachbox}</b></div>
<div align="left"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<div style="height:350px;width:620px;overflow:scroll;">{$smilieinserter}</div>

Same for newreply template.

The only thing I can think of that I might have done is revert to an older forumdisplay, however I did fix it to be what it was prior to an error.

Would there be a chunk of code be missing from the forumdisplay template?

Sorted this out.

What happen is very strange.

When I changed the template the permissions had changed for the actual forum. So i had to go into the user permissions for the forum via the Forum Management in the ACP.

Very Odd... anyway thanks for the help.