mohamedbenjelloun / MyProfile

Enhances the default MyBB profile system with a very complete one.
MIT License
13 stars 6 forks source link

Comment Textarea Won't Show #56

Closed nollidnosnhoj closed 9 years ago

nollidnosnhoj commented 9 years ago

http://imgur.com/GmCvKw2.png

For some reason, whenever I put the comments form in a tabbed content div, it seems to not show the comment text area.

Here is the html for myprofile_comments_form

<form action="misc.php" method="post" name="comments-form" id="comments-form">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="comments-add" />
<input type="hidden" name="memberuid" value="{$memprofile['uid']}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->mp_profile_comments_add_comment}</strong></td>
</tr>
{$status}
<tr>
<td class="trow2">
<textarea id="message" name="message" rows="10" cols="70" tabindex="2"></textarea>
{$codebuttons}
</td>
</tr>
<tr>
<td class="trow2">
<input id="submit_comment" type="submit" class="button" name="submit" value="{$lang->mp_profile_comments_add_comment}" tabindex="3" />
<span id="spinner_span"></span>
</td>
</tr>
{$modoptions}
</table>
</form>
nollidnosnhoj commented 9 years ago

I found the problem. I placed the {$myprofile_headerinclude} from the top to where all the javascripts are.