2011-10-12, 01:05 PM
I want a create new thread form on my portal that posts to a single forum. This is my code so far.
It returns
How can I do this?
<div id="quick_post_open" style="display:none">
<form method="post" action="newthread.php?fid=13&processed=1" name="quick_reply_form" id="quick_reply_form">
<input type="hidden" name="my_post_key" value="" />
<input type="hidden" name="removeattachment" value="">
<input type="hidden" name="fid" value="{$fid}">
<input type="hidden" name="posthash" value="{$posthash}">
<input type="hidden" name="action" value="do_newthread">
<table border="0" cellspacing="{$theme[\'borderwidth\']}" cellpadding="{$theme[\'tablespace\']}" class="tborder">
<tr>
<td class="thead" colspan="2"><b>Quick Thread:</b>
</td>
</tr>
<tr>
<td class="trow2" width="20%">Subject:</td>
<td class="trow2">
<input class="textbox" type="text" name="subject" size="52" maxlength="85" value="" tabindex="1" />
</td>
</tr>
<tr>
<td class="trow2" valign="top">
<br/>
</td>
<td class="trow2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="2">
<textarea name="message" rows="8" cols="70" tabindex="3"></textarea>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<input type="submit" value="Post" />
</form>
It returns
Quote:Authorisation code mismatch. Are you accessing this function correctly? Please go back and try again.I assume this is because I haven't provided any security codes.
How can I do this?