Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Code Requests
  • Completed Requests
  • [Completed] [ZB] Application (Forum) Form
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
[Completed] [ZB] Application (Forum) Form; Need help with the script!
Tweet Topic Started: Sep 28 2009, 07:59 AM (660 Views)
RedBldSandman Oct 28 2009, 01:46 PM Post #11
Member Avatar
ZIPPY!

Posts:
482
Group:
Coding Staff
Member
#2,122
Joined:
Jan 25, 2009
The code I gave you in my last post should work for guests.
Posted Image
"To iterate is human, to recurse divine."

Offline Profile Goto Top
 
stargazer Oct 28 2009, 02:14 PM Post #12


Posts:
219
Group:
Dedicated
Member
#2,299
Joined:
Feb 11, 2009
Coding language
HTML/CSS
Ok, I did test the code you provided, but its not working again for guest. The form is sent but when I then log in I do not see it in the forum.
Offline Profile Goto Top
 
stargazer Oct 28 2009, 02:15 PM Post #13


Posts:
219
Group:
Dedicated
Member
#2,299
Joined:
Feb 11, 2009
Coding language
HTML/CSS
RedBldSandman
Oct 28 2009, 01:46 PM
The code I gave you in my last post should work for guests.
Have you tried it on your forum? Because I can't make it work. And I just copied the code in the code box into a new page and tested it.
Offline Profile Goto Top
 
RedBldSandman Oct 28 2009, 03:02 PM Post #14
Member Avatar
ZIPPY!

Posts:
482
Group:
Coding Staff
Member
#2,122
Joined:
Jan 25, 2009
Ah, I forgot that Guests go through a slightly different process when starting new topics xD Try this one, it should work :D Just remember to change the Forum number to the right one!
Code:
 
<style type="text/css">
.app_block {
background-color:#505050;
color:#E0E0E0;
font-style:bold;
font-size:10pt;
}
.app_label {
width:40%;
background-color:#333333;
color:#E0E0E0;
text-align:right;
vertical-align:middle;
}
.app_info {
width:60%;
background-color:#333333;
text-align:left;
color:#E0E0E0;
}
.app_info select {
margin:0;
}
.app_info select,.app_info input,.app_info textarea {
background-color:#F2F2F2;
color:#333333;
}
</style>
<div class="category">
<table class="cat_head">
<tr>
<td>
<h2>
<div style="text-align:center;">Become a crewman aboard USS Interceptor!</div>
</h2>
</td>
</tr>
</table>
</div>
<table style="width:100%;" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="text-align:center;background-color:#333333;color:#E0E0E0;">
Your application form is one of the most important items you will write within this group. Your application determines how the Game Masters rate your character. A poor application will likely see a PM from the Staff with suggestions and tips on how to improve your application, whereas a good application will be approved at once and you will have bigger shot of getting a higher rank assigned to your character.
<br /><br />
If you haven't done so already we urge you to check out the Interceptor's Documentation (Rules/Posting Guidelines) which can be found via the starbase icon at the top.
<br /><br />
<em>Warning, we strongly recommend that you save a copy of this application locally before submitting! After approved application you must post your bio on the forum again.</em>
<br /><br />
<h2>
Please fill out the fields below:
</h2>
</td>
</tr>
</table>

<table style="width:100%;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="2" class="app_block">
Player Information
</td>
</tr>

<tr>
<td class="app_label">
<label>Real Name:</label>
</td>
<td class="app_info">
<input size="37" name="app_name" id="app_name" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Real Age:</label>
</td>
<td class="app_info">
<input size="37" name="app_age" id="app_age" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Email Address:</label>
</td>
<td class="app_info">
<input size="37" name="app_email" id="app_email" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Instant Messengers:</label><br />
If you wish to disclose any instant messenger contact information, please do so in this box.<br />
Be sure to identify which 'name' belongs to which program.
</td>
<td class="app_info">
<textarea name="app_im" id="app_im" rows="5"></textarea>
</td>
</tr>

<tr>
<td class="app_label">
<label>Do you agree to follow all <br />USS Interceptor Rules and Guidelines:</label>
</td>
<td class="app_info">
<input name="app_rules" id="app_rules_y" value="Yes" type="radio" /> <label>Yes</label><br />
<input name="app_rules" id="app_rules_n" value="No" type="radio" /> <label>No</label>
</td>
</tr>

<tr>
<td class="app_label">
<label>Role Playing Experience:</label><br />
Please list previous RPG (and similar) experiences. <br />
Include the organization and when you served there for each entry. <br />
No experience? No problem! <br />
</td>
<td class="app_info">
<textarea name="app_exp" id="app_exp" rows="4"></textarea>
</td>
</tr>

<tr>
<td colspan="2" class="app_block">
Simm Information
</td>
</tr>

<tr>
<td class="app_label">
<label>First Choice Simm:</label>
</td>
<td class="app_info">
<select name="app_ship">
<option value="Interceptor">Interceptor</option>
</select>
</td>
</tr>

<tr>
<td class="app_label">
<label>First Choice Position:</label><br />
<a href="http://s1.zetaboards.com/Interceptor/topic/2293268/" target="_blank">Need help finding a position?</a>
</td>
<td class="app_info">

<select name="app_position_1" id="app_position_1" size="1">
<option value="Any" selected="selected">Any</option>
<option value="Executive Officer">Executive Officer</option>
<option value="Chief Flight Control Officer (Helmsman)">Chief Flight Control Officer</option>
<option value="Assistant Chief Flight Control Officer (Helmsman)">Assistant Chief Flight Control Officer</option>
<option value="Flight Control Officer (Helmsman)">Flight Control Officer (Helmsman)</option>

<option value="Chief Operations Officer">Chief Operations Officer</option>
<option value="Assistant Chief Operations Officer">Assistant Chief Operations Officer</option>
<option value="Operations Officer">Operations Officer</option>

<option value="Chief Tactical/Security Officer">Chief Tactical/Security Officer</option>
<option value="Assistant Chief Tactical/Security Officer">Assistant Chief Tactical/Security Officer</option>
<option value="Tactical/Security Officer">Tactical/Security Officer</option>

<option value="Chief Engineering Officer">Chief Engineering Officer</option>
<option value="Assistant Chief Engineering Officer">Assistant Engineering Officer</option>
<option value="Engineering Officer">Engineering Officer</option>

<option value="Chief Medical Officer">Chief Medical Officer</option>
<option value="Assistant Medical Officer">Assistant Chief Medical Officer</option>
<option value="Medical Officer">Medical Officer</option>

<option value="Chief Counselor">Chief Counselor</option>
<option value="Assistant Chief Counselor">Assistant Chief Counselor</option>

<option value="Chief Science Officer">Chief Science Officer</option>
<option value="Assistant Science Officer">Assistant Chief Science Officer</option>
<option value="Science Officer">Science Officer</option>


<option value="Other">Other</option>
</select>
If other: <input name="app_position_1_other" id="app_position_1_other" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Second Choice Position:</label>
</td>
<td class="app_info">
<select name="app_position_2" id="app_position_2" size="1">
<option value="Any" selected="selected">Any</option>
<option value="Executive Officer">Executive Officer</option>
<option value="Chief Flight Control Officer (Helmsman)">Chief Flight Control Officer</option>
<option value="Assistant Chief Flight Control Officer (Helmsman)">Assistant Chief Flight Control Officer</option>
<option value="Flight Control Officer (Helmsman)">Flight Control Officer (Helmsman)</option>

<option value="Chief Operations Officer">Chief Operations Officer</option>
<option value="Assistant Chief Operations Officer">Assistant Chief Operations Officer</option>
<option value="Operations Officer">Operations Officer</option>

<option value="Chief Tactical/Security Officer">Chief Tactical/Security Officer</option>
<option value="Assistant Chief Tactical/Security Officer">Assistant Chief Tactical/Security Officer</option>
<option value="Tactical/Security Officer">Tactical/Security Officer</option>

<option value="Chief Engineering Officer">Chief Engineering Officer</option>
<option value="Assistant Chief Engineering Officer">Assistant Engineering Officer</option>
<option value="Engineering Officer">Engineering Officer</option>

<option value="Chief Medical Officer">Chief Medical Officer</option>
<option value="Assistant Medical Officer">Assistant Chief Medical Officer</option>
<option value="Medical Officer">Medical Officer</option>

<option value="Chief Counselor">Chief Counselor</option>
<option value="Assistant Chief Counselor">Assistant Chief Counselor</option>

<option value="Chief Science Officer">Chief Science Officer</option>
<option value="Assistant Science Officer">Assistant Chief Science Officer</option>
<option value="Science Officer">Science Officer</option>


<option value="Other">Other</option>
</select>
If other: <input name="app_position_2_other" id="app_position_2_other" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Requested Rank:</label><br />
ATTENTION: New members can only obtain ranks: Ensign, Lt. JG or Lt.
</td>
<td class="app_info">
<input size="57" name="app_rank" id="app_rank" type="text">
</td>
</tr>

<tr>
<td colspan="2" class="app_block">
Character Information
</td>
</tr>

<tr>
<td class="app_label">
<label>Character's Name:</label>
</td>
<td class="app_info">
<input size="37" name="app_cName" id="app_cName" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Character's Race:</label>
</td>
<td class="app_info">
<input size="37" name="app_cRace" id="app_cRace" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Character's Gender:</label>
</td>
<td class="app_info">
<input size="37" name="app_cGender" id="app_cGender" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Face Claim (if any):</label><br />
<a href="http://s1.zetaboards.com/Interceptor/topic/2269967/1/">List of Currently Taken</a>
</td>
<td class="app_info">
<input size="37" name="app_cFace" id="app_cFace" type="text" />
</td>
</tr>

<tr>
<td class="app_label">
<label>Character Application:</label>
</td>
<td class="app_info">
<textarea name="app_cBio" id="app_cBio" rows="30" >
Remember to re-post this application once you have been approved. You may add fields, but not remove!

[center]
[b][big]Full Name [/big][/b]

[img]URL LINK TO PICTURE OF YOUR CHARACTER HERE[/img]

[/center]

[right]BASICS
- - - - - - - - - - - - - - - - - - - -[/right]

FULL NAME:
SPECIES:
AGE:
GENDER:
HEIGHT:
WEIGHT:
HAIR:
EYES:
SPECIAL MARKS:
SPECIES ABILITIES (if they have any i.e. telepathy):
BIRTHPLACE:

[right]STARFLEET RECORDS
- - - - - - - - - - - - - - - - - - - -
[/right]

RANK: (To be added after application)
POSITION: (To be added after application)
STARFLEET RECORD:

(YEAR - ASSIGNMENT - RANK - SHIP/STARBASE/OTHER)
(To be added after application)

[right]PERSONAL
- - - - - - - - - - - - - - - - - - - - - - - - -
[/right]

STRENGTHS:
WEAKNESSES:
APPEARANCE:
PERSONALITY:
FAMILY/RELATIVES:

Mother:
Father:
Siblings:
Spouse:
Children:

MEDICAL/PSYCHOLOGY NOTES:

[right]FULL HISTORY
- - - - - - - - - - - - - - - - - - - -[/right]
</textarea>
</td>
</tr>

<tr>
<td class="app_label">
<label>Species Application:</label>
</td>
<td class="app_info">
<textarea name="app_cSpecies" id="app_cSpecies" rows="30">
So you have a great idea for alien? Submit your species using this template.

Note: If your character belongs to an already existing and known species you do not have to add this.

Note: 'Species Name' should be replaced with the name of the species. You may add fields but not remove existing!


[center][b]General Information - Species Name [/b]

[URL] ADD LINK TO PICTURE [/URL][/center]


Descriptive text...


[u]Physical Specifics[/u]

[b]Species: [/b]
[b]Affiliation: [/b]

[b]Appearance:[/b]
[b]Skin/Hair/Eyes Color: [/b]
[b]Average Height (M/F): [/b]
[b]Average Weight (M/F):[/b]
[b]Other: [/b]

[b]Native Environment:[/b]
[b]Homeworld:[/b]
[b]Location: [/b]

[b]Medical Notes:[/b]
[b]Life Expectancy (M/F):[/b]
[b]Unusual Traits: [/b]

[big][center] Important Characters
[/center][/big][center]

[b](Add Name)[/b]

[img] LINK TO IMAGE [/img]

Short text about the character [url=]Further Information[/url]
[/center]


</textarea>
</td>
</tr>

<tr>
<td class="app_label">
<label>RP Sample:</label><br />
Please reply to the situation as if your character has
their first choice position.<br />
<em>You are in the lounge talking to a few of your friends. One of them
brings up the subject of why he entered Starfleet. Before he's even
finished, it's obvious that everyone wants to tell their own story and
share their feelings about Starfleet, military service and life in
general. It eventually becomes your turn...</em><br />
<strong>or</strong><br />
<em>You are asleep in your quarters when suddenly the ship shakes
violently and you are knocked out of your bed.</em>
</td>
<td class="app_info">
<textarea name="app_cSample" id="app_cSample" rows="15" >Sample Post</textarea>
</td></tr>

<tr>
<td colspan="2" class="app_block">
Reference
</td>
</tr>

<tr>
<td class="app_label">
<label>How did you Hear About USS Interceptor?</label><br />
Why did you join us? What made you to pick this sim?
</td>
<td class="app_info">
<textarea name="app_Reason" id="app_Reason" rows="11" ></textarea>
</td>
</tr>

</tbody>
</table>
</td>
</tr>
</tbody>
</table>

<div id="app_ajax" style="text-align:center;padding-top:10px;">
<button id='app_send'>Submit</button>
</div>

<script type="text/javascript">
var forum_num = "FORUM_NUMBER"
jQuery("#app_send").click(function(e) {
e.preventDefault();
e.returnValue = false;
jQuery("#app_ajax").fadeOut("fast",function() {
jQuery(this).css("color","green").html("Processing...").fadeIn("slow");
});
var application = "[table=2,Crew Application,0][b][big]Player Information [/big][/b][c][c][b]Real Name:[/b][c]"+jQuery('input[name=app_name]').val()+"[c][b]Real Age:[/b][c]"+jQuery('input[name=app_age]').val()+"[c][b]Email Address:[/b][c]"+jQuery('input[name=app_email]').val()+"[c][b]Instant Messengers:[/b][c]"+jQuery('textarea[name=app_im]').val()+"[c][b]Agree to follow the Rules:[/b][c]"+jQuery('input:radio[name=app_rules]:checked').val()+"[c][b]Role Playing Experience:[/b][c]"+jQuery('textarea[name=app_exp]').val()+"[c][b][big]Simm Information[/big][/b][c][c][b]First Choice Simm:[/b][c]"+jQuery('select[name=app_ship] option:selected').val()+"[c][b]First Choice Position:[/b][c]"+jQuery('select[name=app_position_1] option:selected').val()+" - "+jQuery('input[name=app_position_1_other]').val()+"[c][b]Second Choice Position:[/b][c]"+jQuery('select[name=app_position_2] option:selected').val()+" - "+jQuery('input[name=app_position_2_other]').val()+"[c][b]Requested Rank:[/b][c]"+jQuery('input[name=app_rank]').val()+"[c][b][big]Character Information[/big][/b][c][c][b]Character's Name:[/b][c]"+jQuery('input[name=app_cName]').val()+"[c][b]Character's Race:[/b][c]"+jQuery('input[name=app_cRace]').val()+"[c][b]Character's Gender:[/b][c]"+jQuery('input[name=app_cGender]').val()+"[c][b]Face Claim (If Any):[/b][c]"+jQuery('input[name=app_cFace]').val()+"[c][b]Character Application:[/b][c]"+jQuery('textarea[name=app_cBio]').val()+"[c][b]Species Application:[/b][c]"+jQuery('textarea[name=app_cSpecies]').val()+"[c][b]Sample Post:[/b][c]"+jQuery('textarea[name=app_cSample]').val()+"[c][b][big]Reference[/big][/b][c][c][b]How did you hear about us?:[/b][c]"+jQuery('textarea[name=app_Reason]').val()+"[/table]";
jQuery.get(main_url+"post/?type=1&mode=1&f="+forum_num,function(d) {
jQuery.post(main_url+"post/",{ mode:1, type:1, sd:"1", ast:jQuery("input[name=ast]",d).val(), f:forum_num, xc:jQuery("input[name=xc]",d).val(), post:application, title:"Crew Application", description:jQuery("#top_info strong a").text(), tags:"", id:jQuery("input[name=id]",d).val(), name:jQuery("#top_info strong").text(),key:jQuery("input[name=key]",d).val()},function() {
jQuery("#app_ajax").fadeOut("fast",function() {
jQuery(this).css("color","green").html("Application Sent").fadeIn("slow");
});
});
});
});
</script>
Posted Image
"To iterate is human, to recurse divine."

Offline Profile Goto Top
 
stargazer Oct 29 2009, 03:05 AM Post #15


Posts:
219
Group:
Dedicated
Member
#2,299
Joined:
Feb 11, 2009
Coding language
HTML/CSS
It's working.. :) Thanks!
Offline Profile Goto Top
 
RedBldSandman Oct 29 2009, 09:03 AM Post #16
Member Avatar
ZIPPY!

Posts:
482
Group:
Coding Staff
Member
#2,122
Joined:
Jan 25, 2009
No problem :D

You're welcome.
See? We can read thoughts too. ;)

Your request has been completed, and we're moving it to the correct forum. We hope it works for you; if it doesn't, feel free to post another request topic in the requests forum. Just remember: read the rules first!

Thanks,
The ZBCode Staff
Posted Image
"To iterate is human, to recurse divine."

Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Completed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2

Track Topic · E-mail Topic Time: 2:27 PM Jul 11
Hosted for free by ZetaBoards · Privacy Policy