Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Events Forum
kaixer Offline
Junior Member
**
Posts: 41
Joined: Mar 2010
Post: #11
RE: Events Forum

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<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}&amp;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']} &ndash;  Month: {$tfinput['efmonth']} &ndash;  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>



Attached File(s) Thumbnail(s)
   
12-26-2010 09:22 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #12
RE: Events Forum
May I know why you put the {$smilieinserter} here?

(12-26-2010 09:22 AM)kaixer Wrote:  

HTML Code
16
<td class="thead" colspan="2"><strong>New Event</strong>{$smilieinserter}</td>


12-26-2010 10:04 AM
Find all posts by this user Quote this message in a reply
kaixer Offline
Junior Member
**
Posts: 41
Joined: Mar 2010
Post: #13
RE: Events Forum
(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
16
<td class="thead" colspan="2"><strong>New Event</strong>{$smilieinserter}</td>


I bet this from you code. Biggrin
12-26-2010 10:07 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #14
RE: Events Forum
(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
16
<td class="thead" colspan="2"><strong>New Event</strong>{$smilieinserter}</td>


I bet this from you code. Biggrin

Really? How much do you want to bet?

(10-10-2010 06:41 AM)RateU Wrote:  

HTML Code
29
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>


12-26-2010 10:25 AM
Find all posts by this user Quote this message in a reply
kaixer Offline
Junior Member
**
Posts: 41
Joined: Mar 2010
Post: #15
RE: Events Forum
haha. my bad.  So sorry.

Good job as always. Keep it up! Biggrin
12-26-2010 10:34 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #16
RE: Events Forum
I always do some mistake too Biggrin
I'm still learning too Biggrin

12-26-2010 10:45 AM
Find all posts by this user Quote this message in a reply
kaixer Offline
Junior Member
**
Posts: 41
Joined: Mar 2010
Post: #17
RE: Events Forum
(12-26-2010 10:45 AM)RateU Wrote:  I always do some mistake too Biggrin
I'm still learning too Biggrin

Do you take job for custom made application? I like to hire you. Biggrin
(This post was last modified: 12-26-2010 10:49 AM by kaixer.)
12-26-2010 10:46 AM
Find all posts by this user Quote this message in a reply
Shemo Offline
Member
***
Posts: 184
Joined: Jan 2008
Post: #18
RE: Events Forum
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
01-02-2011 09:50 AM
Find all posts by this user Quote this message in a reply
Tridion Offline
Junior Member
**
Posts: 4
Joined: Feb 2011
Post: #19
RE: Events Forum
My event forum doesn't show now. How do I display it?
02-16-2011 11:00 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #20
RE: Events Forum
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.

(This post was last modified: 02-17-2011 01:57 AM by RateU.)
02-17-2011 01:56 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: