|
Post by eveready on Aug 27, 2010 5:13:24 GMT -8
You're real good at grabbing things and placing them in other locations so maybe you'll do this for me so that I know it's done right.
I'd like a code that grabs the last post information and new/old post icons from the main page board listings. You have written a similar code I believe but I need the various information pulled individually rather than as a group. Essentially I want to make my own sort of table and be able to place this information in the individual table cells.
The regular table with board listings would be removed of course.
|
|
|
Post by Wormopolis on Aug 27, 2010 8:43:07 GMT -8
The last post code can do individual boards actually... but it would need a slight mod to also grab the on/off icons for you.
|
|
|
Post by eveready on Aug 28, 2010 2:09:13 GMT -8
I need to read more thoroughly obviously, but I am short on time lately. I got it working, but if you could make that mod it would be a truly wonderful code.
|
|
|
Post by Wormopolis on Aug 29, 2010 17:18:21 GMT -8
you want them combined into the same area then?
|
|
|
Post by eveready on Aug 29, 2010 19:43:43 GMT -8
I want the on/off icons to be in a separate cell. So I guess a different div is required.
|
|
|
Post by Wormopolis on Aug 29, 2010 20:00:23 GMT -8
howaboutthen....
a div with id="lp_reloc_onoff_"+boardname
then it is just a matter of adding a couple lines in to get it where you want it.
|
|
|
Post by eveready on Aug 30, 2010 3:32:30 GMT -8
sounds good
|
|
|
Post by Wormopolis on Aug 30, 2010 14:16:46 GMT -8
okay.. find these lines:
if ((lp_mode==2 || lp_mode==3) && document.getElementById('lpreloc_'+brdid) && lp_relocate) { document.getElementById('lpreloc_'+brdid).innerHTML=lstpstEntry;
and immediately after them put
onoffcl=tds.previousSibling; if ((lp_mode==2 || lp_mode==3) && document.getElementById('lp_reloc_onoff_'+brdid) && lp_relocate) document.getElementById('lp_reloc_onoff_'+brdid).innerHTML=onoffcl.innerHTML;
|
|
|
Post by eveready on Aug 30, 2010 19:11:12 GMT -8
Cool. Thanks.
|
|
|
Post by Wormopolis on Aug 31, 2010 15:39:22 GMT -8
did that work?
|
|
|
Post by eveready on Aug 31, 2010 19:37:29 GMT -8
Like a charm.
|
|
|
Post by Wormopolis on Aug 31, 2010 20:00:45 GMT -8
that's what I like to hear!
(off topic: any feedback about the tournament bracket code?)
|
|
|
Post by eveready on Sept 1, 2010 22:34:16 GMT -8
Just when I thought everything had been done on proboards, you come up with something new. I like it but would never have come up with the idea in the first place. The only suggestion I can offer (but would probably be more trouble than it's worth) would be to have say pool A on the left and Pool B on the right side with the championship ending up in the middle between the two. That's how most tournaments are setup in my neck of the woods, but I'll concede it is a minor issue and probably a lot more difficult to code.
Anyways, you're pumping out codes like nobody's business lately... and they are quite original as well. Hats off to ya.
|
|
|
Post by Wormopolis on Sept 2, 2010 13:36:26 GMT -8
I thought of a double sided bracket as well.. my only caveats would be that it would make it really wide (they would have to scroll the screen) and the math would get even more complicated to make the bracket. I will probably try to save double sides until v3.0 or something. this v1.0 should have enough to tide people over and give me room for a v2.0 with some major improvements. you should see how the bracket gets edited.. it will blow your mind what I did (but havent finished).
|
|