Hallo Waldo,
habe das auch noch mal gescheckt, siehe bitte Screenchoot.
[
attachment=7816]
das große OOOO... kennzeichnet den Nachtrag, leider ohne "charcount".
mfG raba
Ok, dann wäre der Inhalt vom editpost Template vllt. aufschlussreich.
Hallo waldo,
uno momento
mfG raba
Hallo waldo,
ist das was Du meinst "postbit_edit" siehe
Code:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" /></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("edit_post_{$post['pid']}");
}
// -->
</script>
mfG raba
Edit by Jockl: Code Tags eingefügt
Leider nein
Ich meinte "editpost" unter "Beitrag bearbeiten Templates" (ganz oben in der Liste)
Hallo waldo,
sorry - bitteschön
Code:
<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}
{$post_errors}
{$attacherror}
<form action="editpost.php" method="post" name="editpost">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<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}&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="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_post}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2"><strong>{$lang->subject}</strong></td>
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}:</strong><br /><div style="text-align: center;">{$smilieinserter}</div></td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="3">{$message}</textarea>
{$codebuttons}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}</span>
</td>
</tr>
{$subscriptionmethod}
{$pollbox}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->update_post}" tabindex="3" accesskey="s" /> <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>
{$footer}
</body>
</html>
mfG raba
Edit by Jockl: Code-Tags eingefügt
Ja, da könnte schon die Ursache sein.
Füge bitte direkt
unter:
Code:
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
diesen Code ein:
Zitat:<script type="text/javascript" src="jscripts/charcount.js"></script>
<script type="text/javascript">
<!--
var maxchars = "{$maxchars}";
var minchars = "{$minchars}";
var alert_one = "{$lang->char_alert_one}";
var alert_two = "{$lang->char_alert_two}";
var max_msg = "{$lang->char_count}";
var minmsg1 = "{$lang->char_minmsg_one}";
var minmsg2 = "{$lang->char_minmsg_two}";
-->
</script>
und direkt
über der Zeile:
Zitat:<textarea name="message" id="message" rows="20" cols="70" tabindex="3">{$message}</textarea>
diesen Code ein:
Code:
<div class="smalltext"><span style="font-weight:bold;" class="countstart"></span> <span class="counttarget"></span></div>
Freut mich, wenn ich helfen konnte.
Dann sage ich jetzt
Gute Nacht.
Hallo waldo,
schlaf gut!
mfg raba
Kann man das Plugin vielleicht so bearbeiten, dass es "nur" die Zeichen zählt und nicht die noch verbleibenden Zeichen runter zählt?