The lines in blue were copied from
newreply.tmpl and added to [:"blue"]
editpost.tmpl[/] (and to editpost_nopoll.tmpl). With these extra lines, the drop down box "Make post" and the four options [using UBBCode/using HTML/using HTML and UBBCode/without using HTML/UBBCode], which are available for new posts, are now available when editing a post. This allows html to be inserted, when a post is edited, even if it's not in the original post.
<tr class="lighttable">
<td>
{$ubbt_lang['SUBJECT_TEXT']}
<br />
<input type="text" name="Subject" value="$Subject" maxlength="{$config['subjectlength']}" class="formboxes" size="60" />
$iconselect
[:"blue"]$markupselect
Edit post<br /><select name="convert" class="formboxes"><option value="markup" selected="selected">using UBBCode</option><option value="html">using HTML</option><option value="both">using HTML and UBBCode</option><option value="none">without UBBCode/HTML</option></select><br /><br />[/]
{$ubbt_lang['POST_TEXT']}
<br />
<textarea cols="$TextCols" rows="$TextRows" name="Body" class="formboxes" onkeyup="storeCaret(this);" onclick="storeCaret(this);">$Body</textarea>
$instant_ubbcode
<br />
This works when I edit a post and choose "using HTML and UBB code" from the drop down box, but fails when a mod uses it, or a member uses it (mods and members can see the drop-down box on the edit screen, but it doesn't "take", the post is still in ubb mode). What have I done wrong - do I need to add something else to editpost.tmpl, so that the drop-down box "takes" for mods and members?
Our board is
www.funtrivia.com/forums running v6.5b4
with thanks, from downhere!
gt