game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 5, 2010 5:14:58 GMT -8
Your New Post table on the top of the main page!!!!! I've got to have it!! Can I have the code please? Thanks
|
|
game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 5, 2010 5:17:54 GMT -8
Your New Post table on the top of the main page!!!!! I've got to have it!! Can I have the code please? Thanks Hmmm, Your New Post table didn't show this one after I posted it. Is that box what I think it is? The most recent post that were posted on the site? If not, is that possible?
|
|
|
Post by Wormopolis on Jul 5, 2010 5:40:46 GMT -8
You sure? it showed it for me. It wont say its a new post in MY particular table because of the way I have configured the code. if a post isnt new, it gets lumped with all the other "recent posts" in the list. The table I have will put "old" posts in a group, and new posts in a group. if all posts have been read, they just get grouped together. the code as it currently stands is located here: www.wormocodes.com/index.cgi?action=display&board=codereqs&thread=614&page=1#5061
|
|
game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 5, 2010 6:05:22 GMT -8
You're right. My post was in 'old'. I was wrong, sorry...it showed up in your table. BTW, Is this the code that you were going to give me on the Proboards Code Request board?
And can I put this in a table next to my chatbox? Thanks
Also, would this code go in the main footer?
|
|
game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 5, 2010 6:46:24 GMT -8
You sure? it showed it for me. It wont say its a new post in MY particular table because of the way I have configured the code. if a post isnt new, it gets lumped with all the other "recent posts" in the list. The table I have will put "old" posts in a group, and new posts in a group. if all posts have been read, they just get grouped together. the code as it currently stands is located here: www.wormocodes.com/index.cgi?action=display&board=codereqs&thread=614&page=1#5061This code isn't working for me. I tried to put it in the top and bottom of Main Header Main Footer Global Header Global Footer It puts a 'this page cannot be found' table on the bottom of my main page Here's the link to my forum nohaterville.proboards.com
|
|
|
Post by Wormopolis on Jul 5, 2010 9:29:35 GMT -8
needs to be in main footer. and where do you have the element with id=lastpostsspot?
|
|
game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 5, 2010 10:06:22 GMT -8
I hope that you're patient with me because even thought I have a basic knowledge of html, I am lost at this point. When you ask about the element. I don't know what that is. I thought that I could just copy and paste the code as it was into my main footer. I know that there are modifications within the code that you give people the option to change, but I thought that leaving it 'as is' would make it appear how yours is on your front page. So I really, really, REALLY, need this code. I have been waiting for you to reply all day. Please be a little bit more patient with me and explain what I need to do when it comes to the element. And I would still like to put this in a table with my chat box. Could you help me out here, please!!!! I couldn't really repay you any way, or accept maybe put a link to your site on mine if you would like. But this little set up that I am requesting is really detrimental to my site. Thanks Heres my forum link: nohaterville.proboards.com/index.cgi
|
|
|
Post by Wormopolis on Jul 5, 2010 14:46:54 GMT -8
saw the site earlier.. the "http:// requested not found error" was coming froma google ad.
the code will scan last posts and relocate them. it relocates into any element that has id=lastpostspot.
so you say you have a side table or some other table. wherever you want the last posts to appear, put <div id="lastpostspot"></div>
the code will do the rest.
|
|
game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 5, 2010 15:45:52 GMT -8
Thank you! It worked!! Now if ya don't mind, I need to ask you about a couple of modifications. Can I put the new post above the old post instead of vise versa, how it is now? Or just due away with the old post altogether? Can I change the font color within the code, without needing to change the font color of my whole board? And lastly, do you have any idea why my chat box and the 10 most recent post aren't splitting up equally within the table? The 10 most recent post is taking up maybe 70% of the table, Thanks for everything!! nohaterville.proboards.com
|
|
game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 5, 2010 16:34:49 GMT -8
Thank you! It worked!! Now if ya don't mind, I need to ask you about a couple of modifications. Can I put the new post above the old post instead of vise versa, how it is now? Or just due away with the old post altogether? Can I change the font color within the code, without needing to change the font color of my whole board? And lastly, do you have any idea why my chat box and the 10 most recent post aren't splitting up equally within the table? The 10 most recent post is taking up maybe 70% of the table, Thanks for everything!! nohaterville.proboards.comI went ahead and changed the skins colors on my board so the font color is not an issue now. Also, I tried to do a couple of things in your code to put the old post below the new, but couldn't figure noting out. So, I'm still stuck on that one. And I thought I should probably leave you the code to my table to see if you see the error that is causing it to not equally divide the chat box and the new post box. <center> <table border="1"border color="ffffff"width="70%"height="75"font color="ffffff"> <tr><td><center> <!-- BEGIN CBOX - www.cbox.ws - v001 --> <div id="cboxdiv" style="text-align: center; line-height: 0"> <div><iframe frameborder="0" width="100%" height="175" src="http://www3.cbox.ws/box/?boxid=3162385&boxtag=7m92rj&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#0f0f0f 1px solid;" id="cboxmain"></iframe></div> <div><iframe frameborder="0" width="100%" height="75" src="http://www3.cbox.ws/box/?boxid=3162385&boxtag=7m92rj&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#0f0f0f 1px solid;border-top:0px" id="cboxform"></iframe></div> </div> <!-- END CBOX --></center></td> <td><center> <div id="lastpostspot"></div></center> </td> </table> </center>
|
|
|
Post by Wormopolis on Jul 6, 2010 7:27:38 GMT -8
the links are taking on the color you have set up for all link in the board, but you COULD try this above the code:
<style type="text/css"> #lastpostsspot, #lastpostsspot A {color: #FF0000 !important} </style>
the table you made, which contains the chat box in the left cell and the lastposts in the right, doesnt have any width attributes to it. put width="50%" into the cell that contains the chatbox.
as for reversing newpost/oldposts, find this line:
document.getElementById('lastpostspot').innerHTML=(lstpstCont!='<br><br>' && nwlstpstCont!='<br><br>' ? oldpstsDivide : '') + lstpstCont + (nwlstpstCont!='<br><br>' ? nwpstsDivide : '') + nwlstpstCont;
change to
document.getElementById('lastpostspot').innerHTML=(lstpstCont!='<br><br>' && nwlstpstCont!='<br><br>' ? newpstsDivide : '') + nwlstpstCont + (lstpstCont!='<br><br>' ? oldpstsDivide : '') + lstpstCont;
|
|
|
Post by Wormopolis on Jul 13, 2010 22:27:44 GMT -8
assuming this is done?
|
|
|
Post by Wormopolis on Jul 22, 2010 23:26:57 GMT -8
guess so...
|
|
game
Junior Member
Code Digger
Posts: 59
game said 0 great things
|
Post by game on Jul 23, 2010 12:48:02 GMT -8
Ooo Sorry. I didn't see this till just now. Yes, all is good. The cells are now equally spaced from doing as you explained. And reversing the old/new post with the modification that you explained above did work, although now I have the 'newmode' set to false, in result 'storing all threads together. Thanks
|
|
|
Post by Wormopolis on Jul 23, 2010 13:44:48 GMT -8
ok.
|
|