inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 14, 2010 12:36:18 GMT -8
Thank you. ^^
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 15, 2010 12:36:43 GMT -8
EXACTLY 24 HOUR BUMP.
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 16, 2010 17:55:58 GMT -8
More than 24 hour bump. XD;
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Jun 17, 2010 10:20:54 GMT -8
I wrote most of this then deleted the freakin' footer!!
I've started again so keep bumping and I'll get it to your soon.. Sorry.
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Jun 17, 2010 10:24:30 GMT -8
I wrote most of this then deleted the freakin' footer!! Dang bro! I feel your pain...
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 17, 2010 10:42:25 GMT -8
Man, that really sucks. D: I'm sorry that had to happen.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Jun 17, 2010 13:57:03 GMT -8
It's not the first time I've done something stupid, and no doubt won't be the last. Ho-hum.
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 17, 2010 15:56:37 GMT -8
Well, I hope that in the future it happens as little as possible. *hug*
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 18, 2010 17:15:55 GMT -8
I feel bad for bumping, but it's necessary. XD;
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 19, 2010 17:14:26 GMT -8
Bump. One minute early. DON'T KILL ME.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Jun 20, 2010 3:45:31 GMT -8
OK.. I have rewritten, checked, fixed and double checked it, so it should work (hopefully).. Put this part in the HEADER of the board where the thread is.. <table id="forumTable" class="bordercolor" width="92%" align="center" cellspacing="1" cellpadding="4" style="display: none;"> <tbody id="tableInfo"> <tr><td class="titlebg" colspan="4" width="100%"> <table width="100%"><tbody><tr> <td width="25%"></td><td class="titlebg" style="background-image: url(); background-color: transparent;" width="50%" align="center"><font class="cattext">Title Text</font></td><td id="tableButtons" align="right" width="25%"></td> </tr></tbody></table> </td></tr> <tr><td class="catbg" align="center" width="20%">Names</td><td class="catbg" align="center" width="50%">Order</td><td class="catbg" align="center" width="10%">Price</td><td class="catbg" align="center" width="20%">Shopkeeper</td></tr> </tbody> </table>
<table id="forumPostTable" class="bordercolor" width="92%" align="center" cellspacing="1" cellpadding="4" style="display: none;"> <tbody> <tr><td align="center" class="titlebg" colspan="4" width="100%">Modify List</td></tr> <tr><td align="center" class="windowbg" colspan="4" width="100%">To add items to the table, please fill out the fields below and click 'Submit'.<br>Please ensure all fields are filled in correctly before submitting the data.</td></tr> <tr><td class="windowbg2" align="center" width="20%">Names:<br><input type="text" name="names" id="names" style="width: 100%;"></td><td class="windowbg2" align="center" width="50%">Order:<br><input type="text" name="order" id="order" style="width: 100%;"></td><td class="windowbg2" align="center" width="10%">Price:<br><input type="text" name="price" id="price" style="width: 100%;"></td><td class="windowbg2" align="center" width="20%">Shopkeeper:<br><input type="text" name="shopkeeper" id="shopkeeper" style="width: 100%;"></td></tr> <tr><td align="center" class="windowbg" colspan="4" width="100%"><input type="button" name="submitOrder" id="submitorder" value="Submit"></td></tr> </tbody> </table>
<div id="forum"> then put this in the FOOTER of the same board.. </div> <script type="text/javascript"> <!-- // Remove forum, display table and add contents..
if(location.href.match(/&thread=10(&(page|post)=\d+)?$/)) { document.getElementById('forum').style.display = 'none'; if(location.href.match(/ion=display/)) { document.getElementById('forumTable').style.display = ''; var mButton = document.links; for(m=0; m<mButton.length; m++) { if(mButton[m].href.match(/ion=modifypost/)) { document.getElementById('tableButtons').appendChild(mButton[m]); break; }} var info = document.getElementsByTagName('font'); for(i=0; i<info.length; i++) { if(info[i].innerHTML.match(/google_ad_section_start/)) { info = info[i].getElementsByTagName('b'); break; }} for(i=0; i<info.length; i++) { var cells = info[i].getElementsByTagName('i'); var tr = document.createElement('tr'); var td = document.createElement('td'); with(td){className="windowbg"; innerHTML=cells[0].innerHTML}; tr.appendChild(td); var td = document.createElement('td'); with(td){className="windowbg2"; innerHTML=cells[1].innerHTML}; tr.appendChild(td); var td = document.createElement('td'); with(td){className="windowbg"; innerHTML=cells[2].innerHTML}; tr.appendChild(td); var td = document.createElement('td'); with(td){className="windowbg2"; innerHTML=cells[3].innerHTML}; tr.appendChild(td); document.getElementById('tableInfo').appendChild(tr); }}
if(document.postForm) { document.getElementById('forumPostTable').style.display = ''; function submitorder() { if(document.getElementById('names').value == ''||document.getElementById('order').value == ''||document.getElementById('price').value == ''||document.getElementById('shopkeeper').value == '') { alert('Please ensure all fields are filled in.'); return; } else { var newData = '[b][i]'+document.getElementById('names').value; newData += '[/i][i]'+document.getElementById('order').value; newData += '[/i][i]'+document.getElementById('price').value; newData+= '[/i][i]'+document.getElementById('shopkeeper').value+'[/i][/b]'; document.postForm.message.value += '\n'+newData; document.postForm.submit(); }} document.getElementById('submitorder').onclick = function(){submitorder();} } } // --> </script> In the footer, find this line at the top of the code.. if(location.href.match(/&thread=10(&(page|post)=\d+)?$/)) You need to change the red number to the thread number you want it to effect.. Create a new thread with one post, the contents can be anything as it will not be seen and get the thread number from the address bar at the top of your browser.
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 20, 2010 6:12:01 GMT -8
Oh my god. Todge, it's amazing. Absolutely amazing! I honestly don't know how to thank you enough. If I could, I'd be exalting you right now. About a hundred times. Thank you SO much!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Jun 20, 2010 7:04:30 GMT -8
You like it then? Glad I could help, and no worries.
|
|
inherit
94587
0
Nov 2, 2012 15:20:44 GMT -8
Jackal
280
December 2006
iluvk9s101
|
Post by Jackal on Jun 20, 2010 9:56:22 GMT -8
I LOVE it.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Jun 20, 2010 11:01:26 GMT -8
|
|