|
Post by Leopardstar on Jun 28, 2009 7:44:46 GMT
Hi guys I am in the midst of making a new warriors website based on the earlier clans eg: Lionclan, Pantherclan, Leopardclan and Tigerclan but i need some help with the codes. If you have any codes that you think will help please post them here or PM me. Thanks Leopardstar xx
PS:the codes i need help with @ the mo are the news board (most important). I will post more up as i need them. Thanks again ;D
PPS: I will tell you guys the website when its almost finished ;D
|
|
|
Post by Leopardstar on Jun 30, 2009 7:24:24 GMT
ANYONE? i would really appreciate your help! XD
|
|
|
Post by risingdusk on Jun 30, 2009 17:59:46 GMT
What do you mean by the news board? The info bit up the top or whaaat? =)
|
|
|
Post by Leopardstar on Jul 4, 2009 8:38:19 GMT
Yeah the info bit! ;D
|
|
|
Post by risingdusk on Jul 4, 2009 14:28:20 GMT
Oh fair do's. I can get you the code for a three column board but you'll have to do all the words and stuff yourself, you ain't nicking ours! xD
Here's the code for the board, the bits in red are the bits to change, don't change anything else or it wont work:
<table align="center" border="0" width="92%" cellspacing="0" cellpadding="0" class="bordercolor"> <tr> <td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr> <td class="titlebg" align="center" colspan="3"> <font color="000000" size="2"> <b>TABLE TITLE GOES HERE</font></b> </font> </td> </tr> <tr> <td width="20%" valign="top" class="windowbg"> <center><b><u>HIGH POSITION INFO GOES HERE</u></b> <br> <br><b>FIRST CLAN NAME:</b> <i></i> <br><font size=2>Leader: Open <br>Deputy: Open <br>Medicine Cat: Open </font> <br> <br><b>SECOND CLAN NAME:</b> <i></i> <br><font size=2>Leader: Open <br>Deputy: Open <br>Medicine Cat: Open</font>
</td> <td width="60%" class="windowbg2" valign="top"> <center> <br><b>HEADER NAME FOR MAIN COLUMN</b> <br> ALL YOUR BASIC INFORMATION ETC PLUS NEWS AND EVENTS <br> </td> <td width="20%" valign="top" class="windowbg"> <center><b><u>HIGH POSITION INFO#2 GOES HERE</u></b> <br> <br><b>THIRD CLAN NAME:</b> <i></i> <br><font size=2>Leader: Open <br>Deputy: Open <br>Medicine Cat: Open</font> <br> <br> <br><b>FOURTH CLAN NAME:</b> <i></i> <br><font size=2>Leader: Open <br>Deputy: Open <br>Medicine Cat: Open </font> <br>
</td> </tr> </table> </td> </tr> </table>
Is that okay? =D
|
|
|
Post by Leopardstar on Jul 4, 2009 19:25:09 GMT
OMG Thanks soooooo much
I really didnt want to copy yours lol ;D
|
|
|
Post by Ebonstar on Jul 11, 2009 4:33:33 GMT
Could anyone tell me how to set up a form for the bio-making? Similar to the one on this site?
|
|
|
Post by Leopardstar on Jul 11, 2009 8:38:54 GMT
Oh yeah! Thats what i need! Thanks Ebon
|
|
|
Post by risingdusk on Jul 11, 2009 10:56:23 GMT
Here you go guys, again the things to edit are in red (just a note - if you use a ' when typing you MUST put a \ before it otherwise it WILL NOT work - any other problems just gimme a yell):
<script type="text/javascript"> <!--
/* Predefined Posting Template/Form Created by Ross of PBS Please do not repost outside of PBS without permission */
var _title = 'Character Creation Form';
var _description = 'PLEASE ENSURE THAT YOU HAVE READ THE <a href="http://silvercoat.proboards.com/index.cgi?board=helpsec&action=display&thread=640">RULES</a> BEFORE POSTING!';
var _fields = new Array(); var _f = 0; _fields[_f++] = new Array('input', 'Subject Title:', ['size', 60, 'maxLength', 50], '', 'This will be the name of your thread.', true); _fields[_f++] = new Array('input', 'Character Name:', ['size', 60, 'maxLength', 50], '', 'Please write your characters name.', true); _fields[_f++] = new Array('input', 'Age:', ['size', 60, 'maxLength', 50], '', 'Your characters age (in moons please, moons means months).', true); _fields[_f++] = new Array('select', 'Gender:', [], ['Tom', 'She-cat'], 'Either a tom or a she-cat', true); _fields[_f++] = new Array('textarea', 'Physical Appearance:', ['cols', 70, 'rows', 5], '', 'A description of what your cat looks like. A minimum of five good length sentences is required.', true); _fields[_f++] = new Array('textarea', 'Personality Description:', ['cols', 70, 'rows', 5], '', 'A description of your cat\'s personality. A minimum of five good length sentences is required.', true); _fields[_f++] = new Array('textarea', 'History:', ['cols', 70, 'rows', 5], '', 'What happened in your cat\'s past? Please make it realistic. A minimum of seven good length sentences is required.', true); _fields[_f++] = new Array('textarea', 'Likes/Dislikes(optional):', ['cols', 70, 'rows', 5], '', 'Your cat\'s likes and dislikes.', false); _fields[_f++] = new Array('textarea', 'Other:', ['cols', 70, 'rows', 5], '', 'Anything else you want to mention that doesn\'t fit into the above categories.', false);
var _widths = ['100%', '30%', '35%', '35%'];
var _posting_form = {
errors: new Array(),
init: function() { this.create_form(); }, create_form: function() { // Create new post layout var _holder = document.createElement('table'); _holder.setAttribute('className', 'bordercolor'); _holder.setAttribute('class', 'bordercolor'); _holder.setAttribute('cellSpacing','1'); _holder.setAttribute('cellPadding', '4'); _holder.setAttribute('align', 'center'); _holder.setAttribute('width', _widths[0]); _holder.setAttribute('id', 'post_form_holder'); _holder.appendChild(document.createElement('tbody')); _holder.firstChild.appendChild( document.createElement('tr') ).appendChild( document.createElement('td') ).appendChild( document.createElement('font') ); _holder.firstChild.lastChild.lastChild.className = 'titlebg'; _holder.firstChild.lastChild.lastChild.colSpan = '3'; _holder.firstChild.lastChild.lastChild.lastChild.size = '2'; _holder.firstChild.lastChild.lastChild.lastChild.appendChild(document.createTextNode(_title)); if(_description) { _holder.firstChild.appendChild( document.createElement('tr') ).appendChild( document.createElement('td') ).appendChild( document.createElement('font') ); _holder.firstChild.lastChild.lastChild.setAttribute('className', 'windowbg'); _holder.firstChild.lastChild.lastChild.setAttribute('class', 'windowbg'); _holder.firstChild.lastChild.lastChild.setAttribute('colSpan', '3'); _holder.firstChild.lastChild.lastChild.lastChild.setAttribute('size', '2'); _holder.firstChild.lastChild.lastChild.lastChild.innerHTML = _description; } for(_f=0; _f<_fields.length; _f++) { switch(_fields[_f][0]) { case 'textarea' : var _tmp = document.createElement('textarea'); break; case 'select' : var _tmp = document.createElement('select'); for(_o=0; _o<_fields[_f][3].length; _o++) { _tmp.options[_o] = new Option(_fields[_f][3][_o], _fields[_f][3][_o]); } break; default : var _tmp = document.createElement('input'); _tmp.type = 'text'; if("undefined" != typeof _fields[_f][3] && _fields[_f][3] != "") _tmp.setAttribute('value', _fields[_f][3]); break; } _tmp.setAttribute('id', _f); if("undefined" != typeof _fields[_f][2] && _fields[_f][2].length > 0) { for(_a=0; _a<_fields[_f][2].length; _a++) { _tmp.setAttribute(_fields[_f][2][_a++], _fields[_f][2][_a]); } } var _class = 'windowbg' + ((_f % 2 == 0)? '2' : ''); var _row = document.createElement('tr'); _row.appendChild(document.createElement('td')); _row.lastChild.setAttribute('class', _class); _row.lastChild.setAttribute('className', _class); _row.lastChild.setAttribute('vAlign', 'top'); _row.lastChild.setAttribute('width', _widths[1]); _row.lastChild.appendChild(document.createElement('font')); _row.lastChild.lastChild.setAttribute('size', '2'); _row.lastChild.lastChild.style.fontWeight = 'bold'; _row.lastChild.lastChild.appendChild(document.createTextNode(_fields[_f][1] + ':')); _row.appendChild(document.createElement('td')); _row.lastChild.setAttribute('class', _class); _row.lastChild.setAttribute('className', _class); _row.lastChild.setAttribute('width', _widths[2]); _row.lastChild.appendChild(document.createElement('font')); _row.lastChild.lastChild.setAttribute('size', '2'); _row.lastChild.lastChild.appendChild(_tmp); _row.appendChild(document.createElement('td')); _row.lastChild.setAttribute('class', _class); _row.lastChild.setAttribute('className', _class); _row.lastChild.setAttribute('vAlign', 'top'); _row.lastChild.setAttribute('width', _widths[3]); _row.lastChild.appendChild(document.createElement('font')); _row.lastChild.lastChild.size = '1'; _row.lastChild.lastChild.appendChild(document.createTextNode(_fields[_f][4])); _holder.firstChild.appendChild(_row); } var _submit = document.createElement('tr'); _submit.appendChild(document.createElement('td')); _submit.lastChild.setAttribute('class', 'windowbg' + (((_f+1) % 2 == 0)? '' : '2')); _submit.lastChild.setAttribute('className', 'windowbg' + (((_f+1) % 2 == 0)? '' : '2')); _submit.lastChild.setAttribute('align', 'center'); _submit.lastChild.setAttribute('colSpan', 3); var _button = document.createElement('input'); _button.setAttribute('type', 'button'); _button.setAttribute('value', 'Post Message'); _button.onclick = function() { _posting_form.post_it(); }; _submit.lastChild.appendChild(_button); _holder.firstChild.appendChild(_submit); var _tables = document.getElementsByTagName('table'); for(_t=0; _t<_tables.length; _t++) { if(_tables.item(_t).cellPadding == '0' && _tables.item(_t).className == 'bordercolor' && _tables.item(_t).firstChild.nodeName.toLowerCase() == 'form') { _tables.item(_t).style.display = 'none'; _tables.item(_t).parentNode.insertBefore(_holder, _tables.item(_t)); break; } } }, post_it: function() { // create message and attempt to post it this.errors = new Array(); document.postForm.message.value = document.postForm.subject.value = ''; var _sub = document.getElementById('0').value; _fields[0][5] = true; document.postForm.subject.value = _sub; for(_f=0; _f<_fields.length; _f++) { if(document.getElementById(_f)) { _value = document.getElementById(_f).value; if(!_value || _value.match(/^\s*$/)) { if(_f > 0 && _fields[_f][5]) this.show_error('You have left the ' + _fields[_f][1] + ' option empty. This is a required field and as such must contain a value.'); else _value = 'None'; } document.postForm.message.value += '' + _fields[_f][1] + ': ' + _value + '\n\n'; } } if(this.errors.length == 0) document.postForm.submit(true); else this.show_error(); }, show_error: function() { if("undefined" != typeof arguments[0] && arguments[0]) { this.errors.push(arguments[0]); } else { // Show Errors if(document.getElementById('error_holder')) { document.getElementById('error_holder').innerHTML = this.errors.join("<br />"); } else { var _error_holder = document.createElement('table'); _error_holder.className = 'bordercolor'; _error_holder.cellSpacing= '1'; _error_holder.cellPadding = '4'; _error_holder.align = 'center'; _error_holder.width = _widths[0]; _error_holder.appendChild(document.createElement('tbody')); _error_holder.firstChild.appendChild(document.createElement('tr')).appendChild(document.createElement('td')).appendChild (document.createElement('font')); _error_holder.firstChild.lastChild.lastChild.setAttribute('className', 'titlebg'); _error_holder.firstChild.lastChild.lastChild.lastChild.setAttribute('size', '2'); _error_holder.firstChild.lastChild.lastChild.lastChild.setAttribute('innerHTML', 'An Error Has Occured'); _error_holder.firstChild.appendChild(document.createElement('tr')).appendChild(document.createElement('td')).appendChild (document.createElement('font')); _error_holder.firstChild.lastChild.lastChild.setAttribute('className', 'windowbg'); _error_holder.firstChild.lastChild.lastChild.lastChild.setAttribute('size', '2'); _error_holder.firstChild.lastChild.lastChild.lastChild.setAttribute('id', 'error_holder'); _error_holder.firstChild.lastChild.lastChild.lastChild.setAttribute('innerHTML', this.errors.join("<br />") ); var _holder = document.getElementById('post_form_holder'); _holder.parentNode.insertBefore(_error_holder, _holder); _holder.parentNode.insertBefore(document.createElement('br'), _holder); } } } }
if(document.postForm && location.href.match(/action=post(#\w+)?$/) && pb_username != 'Guest') { _posting_form.init(); }
//--> </script>
|
|
|
Post by Ebonstar on Jul 12, 2009 4:47:35 GMT
Thanks. Where Do We Post It?
|
|
|
Post by risingdusk on Jul 12, 2009 13:10:18 GMT
Oh pants, forgot to say xD
Post it in the header of the board you want it to appear in. On this site it's the header of the Character Applications board for example. =)
|
|
|
Post by Leopardstar on Jul 12, 2009 21:50:13 GMT
Thanks!!! ^^ ;D
|
|
|
Post by Ebonstar on Jul 13, 2009 3:07:37 GMT
I was wondering if there was any problem with me using the descriptions on this site as a basis for my own. I don't want to seem to be stealing them . . .
|
|
|
Post by risingdusk on Jul 13, 2009 11:41:53 GMT
Hmm.
You can take the basics out and use those I suppose, just change a couple of the details around and make it look different.
Or you could take the whole thing and give us credit for it and put a majorly big link next to it to direct people here.. =) It's not so hard to make up descriptions for camps and territories. I made most of these up myself, just based off of the few notes Kakashi had written and what you think the territory would look like.
Just be creative. Maybe look around some other Warriors sites and take a little bit of 'inspiration' from each of them
|
|
|
Post by Ebonstar on Jul 15, 2009 1:23:30 GMT
Cool as, thanks. I'll put a link somewhere for this site anyway but it's good to know that I have at least one 'official' source of inspiration lol ;D
|
|
|
Post by Ebonstar on Jul 20, 2009 5:49:56 GMT
Is there possibly a basic header for the clan thingies?
|
|
|
Post by risingdusk on Jul 20, 2009 20:03:53 GMT
Please elaborate. =)
|
|
|
Post by Ebonstar on Jul 21, 2009 6:16:00 GMT
The headers that you see when you first go in to a main clan board. Where you put the clan stats.
|
|
|
Post by risingdusk on Jul 21, 2009 19:22:04 GMT
<br/><script>NekoType="black"</script> <h1 id=nl><script>var s='script';document.write("<"+s+" src=\"http://webneko.net/n200504.js\"></"+s+">");</script><a href="http://webneko.net">Neko</a></h1> <three column table> <table width="92%" cellpadding="4" cellspacing="1" align="center" class="bordercolor"> <tr> <td class="titlebg" width="100%" colspan="3" height="25" align="center"> <font color=black> <font size=3> <b>CLAN NAME</B> </color> </td></tr> <tr> <td width="20%" class="windowbg2" vAlign="top"> <font color=black><font size="2"> COLUMN TITLE</font> <br> <br>WRITE WHATEVER YOU WANT HERE <br> </td> <td width="60%" class="windowbg" vAlign="top"> <center>UPDATES AND THE LIKE CAN GO HERE</center> </td> <td width="20%" class="windowbg2" vAlign="top"> <P align="left"><font size="2"><Font color=black>COLUMN TITLE</font> </align><br> THINGS LIKE HIERARCHY ETC COULD GO HERE <br> </td></tr> </table> <table width="92%" cellpadding="4" cellspacing="1" align="center" class="bordercolor"><tr> <td width="25%" class="windowbg" vAlign="top"> <font size="2"><Font color=Black><u>Warriors</u></font> <br> <br>WARRIORS NAMES HERE <br> </td> <td width="25%"class="windowbg" vAlign="top"> <font size=2><Font color=black><u>Apprentices</u></font> <br> <br>APPRENTICES NAMES HERE <br> </td> <td width="25%" class="windowbg" vAlign="top"> <u><font size="2"><Font color=black>Kits</font></u> <br> <br>KITS NAMES HERE <br> </td><td width="25%" class="windowbg" vAlign="top"> <u><font size="2"><Font color=black>Elders</font></u/> <br>ELDERS NAMES HERE
</tr>
As always, red means edit and any questions just gimme a yell. =)
|
|
|
Post by Ebonstar on Jul 23, 2009 5:42:58 GMT
coolies Thanks
|
|
|
Post by risingdusk on Jul 23, 2009 18:06:21 GMT
No problem =) Glad I could help.
|
|