Post by SkyBear on Dec 14, 2012 15:49:52 GMT -8
Sorry if the title is a little confusing, hopefully I can explain.
Basically, I have this code on my forum:
When people click on 'new thread' in the pending applications part of the forum, this code makes it so that a template pops up with different sections where people can input things. Once the button to post the thread is clicked, the template then sort of changes what was typed into an actual post.
It's a little confusing to explain but I wondered if the code could be converted to V5 or something?
Basically, I have this code on my forum:
<script type="text/javascript"><!--/* Posting Request Form/Template v2 by california?2005 SoCal Codes, [url]http://socal.proboards26.com[/url] */var field = ['']; function addSingleInput(title, desc){field.push(['input', title, desc]);}function addDropdown(title, desc, opts){var other = (arguments[3]) ? arguments[3] : ''; field.push(['select', title, desc, opts.split('|'), other]);}function addTextarea(title, desc, rows){field.push(['textarea', title, desc, rows]);}/* Customize Below This Line */var titleMessage = "Character Creation Form";var subjectName = "Subject";var subjectDescription = "Name in format of SURNAME, first name";var keepMessageIcon = "yes";var columnWidths = ["24%", "38%", "38%"];addSingleInput("Picture", "A picture of your character. Please use image codes and center ( [center][img] [/img][/center] ) and make sure the picture is no bigger than 500 x 300.");addSingleInput("Character's Name", "This is the name of your character; please include first, middle and last.");addSingleInput("Species", "What species is your character? Full list is in the User Legend in the Info Center.");addSingleInput("Gender", "Are they male or female?");addSingleInput("Age", "What is the age of your character?"); addSingleInput("Sexuality", "What is their sexuality?");addTextarea("Personality", "Personality of your character. At least 5 sentences.", "5");addTextarea("History", "What is your character's history? At least 10 sentences.", "5");addTextarea("Powers", "Does you character have a power? Please list them.", "5");addTextarea("Roleplay Sample", "Put your Roleplay Sample here.", "5");addTextarea("Alias, Experience and Play-By", "The name you'll use in the cbox, how many years you've been roleplaying and the celeb used for your character.", "5");/* Customize Above This Line */if(document.postForm) document.write('<script type="text/javascript" src="http://www.iycatacombs.com/socal/resources/scripts/postingformv2.js"></scr'+'ipt>');// --></script>
When people click on 'new thread' in the pending applications part of the forum, this code makes it so that a template pops up with different sections where people can input things. Once the button to post the thread is clicked, the template then sort of changes what was typed into an actual post.
It's a little confusing to explain but I wondered if the code could be converted to V5 or something?