Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Recruitment application
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #1
Question Recruitment application
I have copied the contact us form and modded it a bit, but when I submit a new "app" it says missing message?

See here (must be logged in):  
http://forums.teamfod.com/newthread.php?fid=10

User: Rateu
Pass: test987

Not sure what I screwed up but I will attach my modded template files.

Contus Newthread

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
62
63
64
65
66
67
68
69
70
71
72
73
74
<html>
<head>
<title>Recruitment Application</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
<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="0" cellpadding="{$theme['tablespace']}" width="100%">
		<tr>
			<td></td>
			<td width="620">
				{$thread_errors}
				{$preview}
				<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder">
					<thead>
						<tr>
							<td colspan="2" class="thead">
								<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickthread']}.gif" id="quickthread_img" class="expander" alt="[-]" title="[-]" /></div>
								<div><strong>Recruit Application - version 2.3</strong></div>
							</td>
						</tr>
					</thead>
					<tbody style="{$collapsed['quickthread_e']}" id="quickthread_e">
						<tr>
							<td width="22%" class="trow1">
								<strong>Application Name</strong>
							</td>
							<td class="trow1">
								<div style="width: 95%">
									<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" />
								</div>
							</td>
						</tr>
						{$extra_threadfields}
						{$captcha}
						<tr>
							<td colspan="2" align="center" class="tfoot">
								<input type="submit" class="button" name="submit" value="Submit" tabindex="4" accesskey="s" />
								<input type="submit" class="button" name="previewpost" value="Preview" tabindex="5" />
							</td>
						</tr>
					</tbody>
				</table>
				<br />
				<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" width="100%">
					<tr>
						<td valign="middle" align="center" class="smalltext">
							Recruitment Application
							<div>
								Powered By <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=288">XThreads</a> - <a href="http://mybbhacks.zingaburga.com">MyBB Hacks</a>
							</div>
						</td>
					</tr>
				</table>
			</td>
			<td></td>
		</tr>
	</table>
	<br />
	<input type="hidden" name="action" value="do_newthread" />
	<input type="hidden" name="posthash" value="{$posthash}" />
	<input type="hidden" name="xthreads_contus_status" value="New" />
	<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>
{$footer}
</body>
</html>


Postbit First

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
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_left smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>
		<tr>
			<td class="trow1 post_content {$unapproved_shade}" style="border-bottom: 2px solid #0F5C8E;" colspan="2">
				<table border="0" width="100%">
					<tr>
						<td valign="top" colspan="3"><strong>{$GLOBALS['threadfields']['contus_status']}</strong></td>
					</tr>
					<tr>
						<td width="75" valign="top">Application Name</td>
						<td width="1" valign="top">:</td>
						<td valign="top">{$post['subject']} {$post['subject_extra']}</td>
					</tr>
					<tr>
						<td width="75" valign="top">Name</td>
						<td width="1" valign="top">:</td>
						<td valign="top">{$GLOBALS['threadfields']['contus_name']}</td>
					</tr>
					<tr>
						<td width="75" valign="top">Age</td>
						<td width="1" valign="top">:</td>
						<td valign="top">{$GLOBALS['threadfields']['contus_age']}</td>
					</tr>
					<tr>
						<td width="75" valign="top">Games Played</td>
						<td width="1" valign="top">:</td>
						<td valign="top">{$GLOBALS['threadfields']['contus_games']}</td>
					</tr>
                                        <tr>
						<td width="75" valign="top">Referred by</td>
						<td width="1" valign="top">:</td>
						<td valign="top">{$GLOBALS['threadfields']['contus_refer']}</td>
					</tr>
					<tr>
						<td valign="top" colspan="3"><br />{$GLOBALS['threadfields']['contus_msg']}</td>
					</tr>
				</table>
				<div class="post_meta" id="post_meta_{$post['pid']}">
					{$post['iplogged']}
				</div>
				<br class="clear" />
				<div class="author_buttons float_left">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
				</div>
				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>
	</tbody>
</table>


If i forgot one, let me know Smile

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
(This post was last modified: 01-06-2012 10:29 PM by Vapor.)
01-06-2012 10:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Recruitment application - Vapor - 01-06-2012 10:21 PM
RE: Recruitment application - RateU - 01-07-2012, 03:35 AM
RE: Recruitment application - Vapor - 01-07-2012, 04:02 AM

 Standard Tools
Forum Jump: