<div align=center>
<embed
src = "http://www.megaupload.com/filebox/?t=0&c=0&u=101496168.5c17b279bd"type = "application / x-shockwave-flash" width = "232" height = "143" wmode = "transparente"> </ embed><br />
</div>
es una caja para subir archivos a megaupload y me parecio importante postearlo.
e modificado las plantillas newthread y newreply.
codigo plantilla newreply:
<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<form action="newreply.php?tid={$tid}&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->post_new_reply}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>
<td class="trow2"><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 />{$smilieinserter}</td>
<td class="trow2">
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</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>
{$modoptions}
{$subscriptionmethod}
{$captcha}
</table>
{$attachbox}
<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
[color=#FF0000]<div align=center>[/color]
[color=#FF0000]<embed
src = "http://www.megaupload.com/filebox/?t=0&c=0&u=101496168.5c17b279bd"type = "application / x-shockwave-flash" width = "232" height = "143" wmode = "transparente"> </ embed><br />
</div>
<br />[/color]
<div align=center>
<fieldset>
<table FRAME=border bgcolor="##1C1C1C" border="0"><tr><td>
<b>Adjuntar
imagenes </b><img src="http://reg.imageshack.us/img/iss3.png"
align="bottom"></img>
<form action="http://imageshack.us/" method="post" enctype="multipart/form-data" target="_blank">
<input type="hidden" name="MAX_FILE_SIZE" value="1048576">
<input type="hidden" name="aff" value="">
<input type="hidden" name="type" value="blank">
<input type="hidden" name="where" value="iframe">
<input type="file" class="textfield" name="fileupload" size="25">
<input type="submit" value="Upload!"> Espera que acabe el proceso de subida...
</form> <i>Copia
y pega</i> en el post, la segunda opcion <b>Thumbnail for
forums (1)</b>
</td></tr></table>
</fieldset>
</div>
{$forumrules}
{$threadreview}
{$footer}
</body>
</html>
este es el codigo de la plantilla newthread:
<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}&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->post_new_thread}</strong></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->thread_subject}</strong></td>
<td class="trow2"><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>{$smilieinserter}</td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</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="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
{$disablesmilies}</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$pollbox}
{$captcha}
</table>
{$attachbox}
<br />
<div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
[color=#FF0000]<div align=center>
<embed
src = "http://www.megaupload.com/filebox/?t=0&c=0&u=101496168.5c17b279bd"type = "application / x-shockwave-flash" width = "232" height = "143" wmode = "transparente"> </ embed><br />
</div>[/color]
<div align=center>
<fieldset>
<table FRAME=border bgcolor="##1C1C1C" border="0"><tr><td>
<b>Adjuntar
imagenes </b><img src="http://reg.imageshack.us/img/iss3.png"
align="bottom"></img>
<form action="http://imageshack.us/" method="post" enctype="multipart/form-data" target="_blank">
<input type="hidden" name="MAX_FILE_SIZE" value="1048576">
<input type="hidden" name="aff" value="">
<input type="hidden" name="type" value="blank">
<input type="hidden" name="where" value="iframe">
<input type="file" class="textfield" name="fileupload" size="25">
<input type="submit" value="Upload!"> Espera que acabe el proceso de subida...
</form> <i>Copia
y pega</i> en el post, la segunda opcion <b>Thumbnail for
forums (1)</b>
</td></tr></table>
</fieldset>
</div>
{$forumrules}
{$footer}
</body>
</html>
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" width="150">
<tr>
<td class="thead"><span class="smalltext"><strong>Megaupload Bar</strong></span></td>
</tr>
<tr>
<td class="trow1">
----------------------AQUI EL CODIGO DE MEGAUPLOAD-----------------
</table>