06.08.2011, 08:52 
		
	
	
		Hey, ich bin gerade dabei mein Forum ein bisschen zu modifizieren.
Dabei ist jetzt folgendes Problem aufgetreten. Beim ersten Textare wird kein BB-Code-Editor angezeigt.
Der Code ist in einem Template, welches ich dank einem Plugins mit PHP versehren darf.
Lieben Dank im Voraus.
Gruß ♥
	
	
	
	
Dabei ist jetzt folgendes Problem aufgetreten. Beim ersten Textare wird kein BB-Code-Editor angezeigt.
Der Code ist in einem Template, welches ich dank einem Plugins mit PHP versehren darf.
PHP-Code:
<?php if($_GET['op'] == "edit") {
echo '<tr id="comment_form">
    <td colspan="2" style="text-align: left;" class="trow2">
        <form id="newcomment" name="newcomment" action="member.php?action=profile&uid='.$this->target['uid'].'&op=do_edit&mid='.$comment['mid'].'" method="post">
            <div id="replyingto" class="pm_alert" style="display: none;"></div>
            <p>
                <textarea name="editmessage" id="editmessage" rows="10" cols="70" tabindex="3">'.$comment['text'].'</textarea>
            </p>
            <p>
                <input type="hidden" name="reply_to_profile" id="reply_to_profile" value="default" />
                <input type="hidden" name="to_uid" id="to_uid" value="'.$this->target['uid'].'}" />
                <input type="submit" value="'.$lang->profile_comments_edit_button.'" tabindex="4" />
            </p>
            '.build_mycode_inserter().'
        </form>
    </td>
</tr>';
} else {
echo '<tr id="comment_form">
    <td colspan="2" style="text-align: left;" class="trow2">
        <form id="newcomment" name="newcomment" action="member.php?action=profile&uid='.$this->target['uid'].'&op=new" method="post">
            <div id="replyingto" class="pm_alert" style="display: none;"></div>
            <p>
                <textarea name="message" id="message" rows="10" cols="70" tabindex="5"></textarea>
            </p>
            <p>
                <input type="hidden" name="reply_to_profile" id="reply_to_profile" value="default" />
                <input type="hidden" name="to_uid" id="to_uid" value="'.$this->target['uid'].'" />
                <input type="submit" id="sendcomment" value="'.$lang->profile_comments_add_button.'" tabindex="6" />
            </p>
            '.build_mycode_inserter().'
            <script type="text/javascript">
                var editorloaded = {$editor_active};
                var comments_ajax = {$ajax};
                var current_user = '.$mybb->input['uid'].';
                var replying_message =   \'{$lang->profilecomments_replying}\';
                var confirm_delete_message = \'{$lang->profilecomments_confirm_delete}\';
            </script>
        </form>
    </td>
</tr>'; }
 ?>Lieben Dank im Voraus.
Gruß ♥

			![[Bild: banner.png]](https://www.mybb.de/files/images/banner.png)