MyBB Community Forums

Full Version: the message is missing. please enter a message.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,
recently I have modified in my theme the newreply, editpost and newthread template... But now I have an error, only when I use Opera browser and create a newthread, newreply or try to modified a message I have this error "the message is missing. please enter a message."... But if I use firefox or google chrome I haven't problem, can one help me ?

Bye Smile
Most probably your editor might be looking like this: http://i33.tinypic.com/90djtl.png ?

If so then use the following guide to fix this issue;

http://community.mybb.com/thread-75337.html
This is my page http://oi46.tinypic.com/2nl5x79.jpg the editor it's Ok, I have test also with the default editor...
Can you post the template here please? Also do you have any additional plugins?
Yes, I not use any additional plugin ...

This is the newreply template

<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="1" cellpadding="{$theme['tablespace']}" class="tborder6">
<tr>
<td class="thead" colspan="3"><strong>{$lang->post_new_reply}</strong></td>
</tr>
<tr>
<td class="trow30" width="70%" valign="middle"><span style="font-size:15px;"><b>Titolo discussione :</b></span><span style="float:right"> {$prefixselect}<input type="text" class="textbox4" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></span></td>
<td class="trow30" width="30%" align="left" rowspan="3" valign="top">{$pollbox}<hr style="background: #C7C7C7; width:100%; float:center;">
<span class="largetext">Opzioni :</span>
<hr style="background: #FBFBFB; width:1%; float:center;">
<span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /></label><b> Firma :</b> includi la tua firma
{$disablesmilies}</span>{$modoptions}
<hr style="background: #C7C7C7; width:100%; float:center;">
<span class="largetext">Sottoscrizione :</span><br />
<span class="smalltext">Seleziona il tipo di notifica email e di iscrizione per questa discussione :</span><hr style="background: #FBFBFB; width:1%; float:center;">
{$subscriptionmethod}
<hr style="background: #C7C7C7; width:100%; float:center;">
<span class="smalltext">• Per inserire uno spoiler scrivere :<br><i>[spoiler]messaggio[/spoiler]</i>
<hr style="background: #FBFBFB; width:1%; float:center;">
• Per taggare un utente scrivere :<br><i>@[nomeutente]</i>
</span><br><br><br>
<div style="text-align:center"><input type="submit" class="buttonxl" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" /><hr style="background: #FBFBFB; width:1%; float:center;">
<input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
</td>
</tr>
<tr>
<td class="trow30" width="70%" valign="middle">{$posticons}{$dpwarning}</td>
</tr>
<tr>
<td class="trow30" width="70%" valign="top"><textarea name="message" id="message" rows="19" cols="94" tabindex="2">{$message}</textarea>{$smilieinserter}
{$codebuttons}
{$multiquote_external}
{$captcha}</td>
</tr>
</table><br>
<div class="utentionline2">Non fare doppi post, modifica il messaggio precedente. Evita l'uso eccessivo di emoticon.<span style="float:right">Leggi il <a href="http://bordergame.it/showthread.php?tid=454">regolamento</a></span></div>
{$attachbox}
{$forumrules}
{$threadreview}
{$footer}
</body>
</html>
OK, just delete everything in that template and put this:

<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="1" cellpadding="{$theme['tablespace']}" class="tborder6">
<tr>
<td class="thead" colspan="3"><strong>{$lang->post_new_reply}</strong></td>
</tr>
<tr>
<td class="trow30" width="70%" valign="middle"><span style="font-size:15px;"><b>Titolo discussione :</b></span><span style="float:right"> {$prefixselect}<input type="text" class="textbox4" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></span></td>
<td class="trow30" width="30%" align="left" rowspan="3" valign="top">{$pollbox}<hr style="background: #C7C7C7; width:100%; float:center;">
<span class="largetext">Opzioni :</span>
<hr style="background: #FBFBFB; width:1%; float:center;">
<span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /></label><b> Firma :</b> includi la tua firma
{$disablesmilies}</span>{$modoptions}
<hr style="background: #C7C7C7; width:100%; float:center;">
<span class="largetext">Sottoscrizione :</span><br />
<span class="smalltext">Seleziona il tipo di notifica email e di iscrizione per questa discussione :</span><hr style="background: #FBFBFB; width:1%; float:center;">
{$subscriptionmethod}
<hr style="background: #C7C7C7; width:100%; float:center;">
<span class="smalltext">• Per inserire uno spoiler scrivere :<br><i>[spoiler]messaggio[/spoiler]</i>
<hr style="background: #FBFBFB; width:1%; float:center;">
• Per taggare un utente scrivere :<br><i>@[nomeutente]</i>
</span><br><br><br>
<div style="text-align:center"><input type="submit" class="buttonxl" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" /><hr style="background: #FBFBFB; width:1%; float:center;">
<input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</td>
</tr>
<tr>
<td class="trow30" width="70%" valign="middle">{$posticons}{$dpwarning}</td>
</tr>
<tr>
<td class="trow30" width="70%" valign="top"><textarea name="message" id="message" rows="19" cols="94" tabindex="2">{$message}</textarea>{$smilieinserter}
{$codebuttons}
{$multiquote_external}
{$captcha}</td>
</tr>
</table><br>
<div class="utentionline2">Non fare doppi post, modifica il messaggio precedente. Evita l'uso eccessivo di emoticon.<span style="float:right">Leggi il <a href="http://bordergame.it/showthread.php?tid=454">regolamento</a></span></div>
{$attachbox}
</form>
{$forumrules}
{$threadreview}
{$footer}
</body>
</html> 
Thanks Smile now work Smile

What you have changed ? Because so I can change the newthread and edit post template Big Grin
Oh, sorry I didn't know you had posted. Post the templates here and I will fix it for you, as it's kinda hard to explain and it will vary between posts.
Thanks Smile this is the edit post template :

<html>
 <head>
 <title>{$mybb->settings['bbname']} - {$lang->edit_post}</title>
 {$headerinclude}
 <script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
 </head>
 <body>
 {$header}
 {$preview}
 {$thread_errors}
 {$attacherror}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->delete_post}</strong></td>
</tr>
<tr>
<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /> <strong>{$lang->delete_q}</strong></td>
<td class="trow1" width="100%">{$lang->delete_1}<br /><span class="smalltext">{$lang->delete_2}</span></td>
<td class="trow1"><input type="submit" class="button" name="submit" value="{$lang->delete_now}" tabindex="10" /></td>
</tr>
</table>
<input type="hidden" name="action" value="deletepost" />
<input type="hidden" name="pid" value="{$pid}" />
</form>
<br />
<form action="editpost.php?pid={$pid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
 <table border="0" cellspacing="1" cellpadding="{$theme['tablespace']}" class="tborder6">
 <tr>
 <td class="thead" colspan="3"><strong>Modifica messaggio</strong></td>
 </tr>
 <tr>
 <td class="trow30" width="70%" valign="middle"><span style="font-size:15px;"><b>Titolo discussione :</b></span><span style="float:right"> {$prefixselect}<input type="text" class="textbox4" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></span></td>
 <td class="trow30" width="30%" align="left" rowspan="3" valign="top">{$pollbox}<hr style="background: #C7C7C7; width:100%; float:center;">
 <span class="largetext">Opzioni :</span>
 <hr style="background: #FBFBFB; width:1%; float:center;">
 <span class="smalltext">
 <label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /></label><b> Firma :</b> includi la tua firma
 {$disablesmilies}</span>{$modoptions}
 <hr style="background: #C7C7C7; width:100%; float:center;">
 <span class="largetext">Sottoscrizione :</span><br />
 <span class="smalltext">Seleziona il tipo di notifica email e di iscrizione per questa discussione :</span><hr style="background: #FBFBFB; width:1%; float:center;">
 {$subscriptionmethod}
 <hr style="background: #C7C7C7; width:100%; float:center;">
 <span class="smalltext">• Per inserire uno spoiler scrivere :<br><i>[spoiler]messaggio[/spoiler]</i>
 <hr style="background: #FBFBFB; width:1%; float:center;">
 • Per taggare un utente scrivere :<br><i>@[nomeutente]</i>
 </span><br><br><br>
 <div style="text-align:center"><input type="submit" class="buttonxl" name="submit" value="{$lang->update_post}" tabindex="3" accesskey="s" /><hr style="background: #FBFBFB; width:1%; float:center;"><input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" /></div>
<input type="hidden" name="action" value="do_editpost" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
</form>
 </td>
 </tr>
 <tr>
 <td class="trow30" width="70%" valign="middle">{$posticons}{$dpwarning}</td>
 </tr>
 <tr>
 <td class="trow30" width="70%" valign="top"><textarea name="message" id="message" rows="19" cols="94" tabindex="2">{$message}</textarea>{$smilieinserter}
 {$codebuttons}
 {$multiquote_external}
 {$captcha}</td>
 </tr>
 </table><br>
<div class="utentionline2">Evita l'uso eccessivo di emoticon.<span style="float:right">Leggi il <a href="http://bordergame.it/showthread.php?tid=454">regolamento</a></span></div>
{$attachbox}
 </form>
 {$forumrules}
 {$threadreview}
 {$footer}
 </body>
 </html>
There you go.
<html>
 <head>
 <title>{$mybb->settings['bbname']} - {$lang->edit_post}</title>
 {$headerinclude}
 <script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
 </head>
 <body>
 {$header}
 {$preview}
 {$thread_errors}
 {$attacherror}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="3"><strong>{$lang->delete_post}</strong></td>
</tr>
<tr>
<td class="trow1" style="white-space: nowrap"><input type="checkbox" class="checkbox" name="delete" value="1" tabindex="9" /> <strong>{$lang->delete_q}</strong></td>
<td class="trow1" width="100%">{$lang->delete_1}<br /><span class="smalltext">{$lang->delete_2}</span></td>
<td class="trow1"><input type="submit" class="button" name="submit" value="{$lang->delete_now}" tabindex="10" /></td>
</tr>
</table>
<input type="hidden" name="action" value="deletepost" />
<input type="hidden" name="pid" value="{$pid}" />
</form>
<br />
<form action="editpost.php?pid={$pid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
 <table border="0" cellspacing="1" cellpadding="{$theme['tablespace']}" class="tborder6">
 <tr>
 <td class="thead" colspan="3"><strong>Modifica messaggio</strong></td>
 </tr>
 <tr>
 <td class="trow30" width="70%" valign="middle"><span style="font-size:15px;"><b>Titolo discussione :</b></span><span style="float:right"> {$prefixselect}<input type="text" class="textbox4" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></span></td>
 <td class="trow30" width="30%" align="left" rowspan="3" valign="top">{$pollbox}<hr style="background: #C7C7C7; width:100%; float:center;">
 <span class="largetext">Opzioni :</span>
 <hr style="background: #FBFBFB; width:1%; float:center;">
 <span class="smalltext">
 <label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /></label><b> Firma :</b> includi la tua firma
 {$disablesmilies}</span>{$modoptions}
 <hr style="background: #C7C7C7; width:100%; float:center;">
 <span class="largetext">Sottoscrizione :</span><br />
 <span class="smalltext">Seleziona il tipo di notifica email e di iscrizione per questa discussione :</span><hr style="background: #FBFBFB; width:1%; float:center;">
 {$subscriptionmethod}
 <hr style="background: #C7C7C7; width:100%; float:center;">
 <span class="smalltext">• Per inserire uno spoiler scrivere :<br><i>[spoiler]messaggio[/spoiler]</i>
 <hr style="background: #FBFBFB; width:1%; float:center;">
 • Per taggare un utente scrivere :<br><i>@[nomeutente]</i>
 </span><br><br><br>
 <div style="text-align:center"><input type="submit" class="buttonxl" name="submit" value="{$lang->update_post}" tabindex="3" accesskey="s" /><hr style="background: #FBFBFB; width:1%; float:center;"><input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" /></div>
<input type="hidden" name="action" value="do_editpost" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
 </td>
 </tr>
 <tr>
 <td class="trow30" width="70%" valign="middle">{$posticons}{$dpwarning}</td>
 </tr>
 <tr>
 <td class="trow30" width="70%" valign="top"><textarea name="message" id="message" rows="19" cols="94" tabindex="2">{$message}</textarea>{$smilieinserter}
 {$codebuttons}
 {$multiquote_external}
 {$captcha}</td>
 </tr>
 </table><br>
<div class="utentionline2">Evita l'uso eccessivo di emoticon.<span style="float:right">Leggi il <a href="http://bordergame.it/showthread.php?tid=454">regolamento</a></span></div>
{$attachbox}
 </form>
 {$forumrules}
 {$threadreview}
 {$footer}
 </body>
 </html> 
Pages: 1 2