PHP Code:
<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>New Event</strong>{$smilieinserter}</td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>Event Subject</strong></td>
<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
<tr>
<td class="trow2" width="20%"><strong>Event Date</strong></td>
<td class="trow2">Day: {$tfinput['efday']} – Month: {$tfinput['efmonth']} – Year: {$tfinput['efyear']}</td>
</tr>
{$extra_threadfields}{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong></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>
{$forumrules}
{$footer}
</body>
</html>
|
May I know why you put the
{$smilieinserter} here?
(12-26-2010 09:22 AM)kaixer Wrote: [ -> ]
HTML Code
<td class="thead" colspan="2"><strong>New Event</strong>{$smilieinserter}</td>
|
(12-26-2010 10:04 AM)RateU Wrote: [ -> ]May I know why you put the {$smilieinserter} here?
(12-26-2010 09:22 AM)kaixer Wrote: [ -> ]
HTML Code
<td class="thead" colspan="2"><strong>New Event</strong>{$smilieinserter}</td>
|
I bet this from you code.
(12-26-2010 10:07 AM)kaixer Wrote: [ -> ] (12-26-2010 10:04 AM)RateU Wrote: [ -> ]May I know why you put the {$smilieinserter} here?
(12-26-2010 09:22 AM)kaixer Wrote: [ -> ]
HTML Code
<td class="thead" colspan="2"><strong>New Event</strong>{$smilieinserter}</td>
|
I bet this from you code.
Really? How much do you want to bet?
(10-10-2010 06:41 AM)RateU Wrote: [ -> ]
HTML Code
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>
|
haha. my bad. So sorry.
Good job as always. Keep it up!
I always do some mistake too
I'm still learning too
this is great rateu! I was actually just going to see if you could whip something together since I recently saw that you were taking requests to extend xthreads, but it's not needed seeing how you made 1.
is it possible to have the events post to the default mybb calendar? for example:
1- set up a section for events
2- post events using the events forum
3- automatically posts the title of the event in the mybb calendar
My event forum doesn't show now. How do I display it?
If you hide the forum in Edit Forum settings, you need to put the URL manually in your header template.
Or, you can set to No in the Hide Forum settings.