
Hi everyone,
I am in developing my website, and try to use the Simplicity Responsive Theme.
Before clicked attach:
Nothing happened after clicked attach:
Here is the link for the theme: https://community.mybb.com/mods.php?acti...w&pid=1369
Where should I start to look?
Similar discussion found here:
https://community.mybb.com/thread-219524...pid1313134
I found there are 3 post_attachments templates in Simplicity theme xml file:
In the default mybb_theme.xml, there are 11 post_attachements templates:
I am in developing my website, and try to use the Simplicity Responsive Theme.
Before clicked attach:
Nothing happened after clicked attach:
Here is the link for the theme: https://community.mybb.com/mods.php?acti...w&pid=1369
Where should I start to look?
Similar discussion found here:
https://community.mybb.com/thread-219524...pid1313134
I found there are 3 post_attachments templates in Simplicity theme xml file:
<template name="post_attachments" version="1806"><![CDATA[<br />
<template name="post_attachments_add" version="1806"><![CDATA[<input type="submit" class="button" name="newattachment" value="Attach" tabindex="13" />]]></template>
<template name="post_attachments_new" version="1806"><![CDATA[<tr>
In the default mybb_theme.xml, there are 11 post_attachements templates:
<template name="post_attachments" version="1823"><![CDATA[<br />
<template name="post_attachments_add" version="1614"><![CDATA[<input type="submit" class="button" name="newattachment" value="{$lang->add_attachment}" tabindex="13" />]]></template>
<template name="post_attachments_viewlink" version="1816"><![CDATA[<a href="usercp.php?action=attachments">{$lang->view_attachments}</a>]]></template>
<template name="post_attachments_attachment" version="1820"><![CDATA[<tr id="attachment_{$attachment['aid']}">
<template name="post_attachments_attachment_mod_approve" version="1823"><![CDATA[<input type="submit" class="button" name="approveattach_{$attachment['aid']}" value="{$lang->approve_attachment}" onclick="return Post.attachmentAction({$attachment['aid']},'approve');" />]]></template>
<template name="post_attachments_attachment_mod_unapprove" version="1823"><![CDATA[<input type="submit" class="button" name="unapproveattach_{$attachment['aid']}" value="{$lang->unapprove_attachment}" onclick="return Post.attachmentAction({$attachment['aid']},'unapprove');" />]]></template>
<template name="post_attachments_attachment_postinsert" version="1809"><![CDATA[<input type="button" class="button" name="insert" value="{$lang->insert_attachment_post}" onclick="$('#message').sceditor('instance').insertText('[attachment={$attachment['aid']}]'); return false;" />]]></template>
<template name="post_attachments_attachment_remove" version="1823"><![CDATA[<input type="submit" class="button" name="rem_{$attachment['aid']}" value="{$lang->remove_attachment}" onclick="return Post.removeAttachment({$attachment['aid']});" />]]></template>
<template name="post_attachments_attachment_unapproved" version="1823"><![CDATA[<tr id="attachment_{$attachment['aid']}">
<template name="post_attachments_new" version="1818"><![CDATA[<tr>
<template name="post_attachments_update" version="1604"><![CDATA[<input type="submit" class="button" name="updateattachment" value="{$lang->update_attachment}" tabindex="12" />]]></template>