MyBB Community Forums

Full Version: two User CP in One,plz help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
yes .....
Here is the default usercp_notepad template for MyBB 1.6:
<br />
<form action="usercp.php" method="post">
<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"><strong>{$lang->personal_notepad}</strong></td>
</tr>
<tr>
<td align="center" class="trow1" width="100%">
<textarea name="notepad" cols="1" rows="10" class="usercp_notepad">{$mybb->user['notepad']}</textarea>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_notepad" />
<input type="submit" class="button" name="submit" value="{$lang->update_notepad}" />
</div>
</form>

You can compare it to yours.

If you are not sure, you can copy the usercp_notepad template first elsewhere for your backup, then revert the usercp_notepad template to original (Click Options -> Revert to Original, if you have this choice).
thank you very muchhhhhhhh
that worked
i just replace your code with mine and seems works normal
thank you Smile
Glad you can solve the problem Smile
Pages: 1 2