|
Post by cheerioes on May 10, 2004 0:29:02 GMT
My Web Site URL funnybonexpress.proboards30.com/index.cgi
I have a Pro Boards Forum and would like to move the Members On line Message Code from the Bottom of the Forum to go UNDER My Say Box Image of where I would like it mioved to
I went to Pro Boards and they refered me to you As it is youe code that put the say Box where it is..
Thank You In Advance
|
|
|
Post by Ron on May 10, 2004 0:49:48 GMT
My Web Site URL funnybonexpress.proboards30.com/index.cgi
I have a Pro Boards Forum and would like to move the Members On line Message Code from the Bottom of the Forum to go UNDER My Say Box Image of where I would like it mioved to
I went to Pro Boards and they refered me to you As it is youe code that put the say Box where it is..
Thank You In Advance I'm sure it's possible, i'm just not good enough with JavaScript to do it, sorry.
|
|
|
Post by cheerioes on May 10, 2004 1:26:57 GMT
Understand that.. I am nothing with Java Script.. Any other ideas or where to go to get someone to figure it out
|
|
|
Post by Peter on May 10, 2004 2:46:00 GMT
Replace the code you have in your header with this...
<table border="0" cellspacing="1" cellpadding="1" width="92%" align="center"> <tr> <td width="5%" valign="top" id="users"> <br /> <img src="http://pictureposter.allbrand.nu/pictures/moonwolf/FunnyBones/BordImages/88x31_2.jpg"> <script language="javascript" src="http://www.saybox.co.uk/output.php?user=cheerioes"></script> </td> <td valign="top">
And replace the closing table tags in your footer with this
</td> </tr> </table> </td> </tr> </table>
<script type="text/javascript"> <!--
var uCell = document.getElementsByTagName("td") if(location.href.match(/(=log|.com\/index.cgi$|^http:\/\/\w*.proboards\d*.com\/$)/i)){ for(c=0;c<uCell.length;c++){ with(uCell[c]){ if(vAlign=="top" && align=="left" && innerHTML.match(/\d+ Member*/i)){ document.getElementById("users").innerHTML += RegExp.rightContext } } } }
//--> </script>
Probably not going to be what you want just yet, but that's the basics of it. Did you want the user's online row in the info center hidden? Also did you want a row added under the shout box called "Users Online"?
|
|
|
Post by cheerioes on May 10, 2004 6:17:16 GMT
OH thank you I am so EXCITED that this can be done.. To Answer your questions::
Yes to Both Questions.. Since I have such a hard time editing the Forum Footers and Headers I am going to WAIT for futher instructions here.. Thank you so much
|
|
|
Post by Peter on May 10, 2004 9:53:58 GMT
OH thank you I am so EXCITED that this can be done.. To Answer your questions:: Yes to Both Questions.. Since I have such a hard time editing the Forum Footers and Headers I am going to WAIT for futher instructions here.. Thank you so much No problem, will sort this out later on when I get back If I forget, just send me a PM
|
|
|
Post by Ron on May 10, 2004 22:41:06 GMT
Thanks for your help Peter
|
|
|
Post by Peter on May 12, 2004 12:10:40 GMT
Hey No problem Ron ;D Sorry I haven't been back here cheerioes, been rather busy. So, you want...... - User's cell hidden
- Some sort if title under the say box "User's Online"
- And some kind of background. Could you explain in more detail, I didn't quite know what you wanted from your PM. A background image?
|
|
|
Post by cheerioes on May 12, 2004 12:58:19 GMT
Thanls for continueing help...
Think we can leave the users cell still visible (visitores are use to looking there for it)
The Users OnLine Title I think will be nice as it let's my members know where this is
All is needed for the Background is a solid color box.. #369A96 is what I am using for my title color so that should work nicely
It just seems to get lost on the main background without the color change...
I think that covers your questions.. I really appreciate this Thannks
|
|
|
Post by Peter on May 16, 2004 23:19:12 GMT
Ok, will do it sometime tomorrow, will have to insert a new cell, because changing the bgcolor of the cell will change it around the main forum table. Peter
|
|
|
Post by Peter on May 18, 2004 13:54:17 GMT
Put this into your header (replace your saybox with it)....
<div id="holder" style="display: none"> <br /><br /><table cellspacing="3" align="left"><tr><td align="left" valign="top"> <img src="http://pictureposter.allbrand.nu/pictures/moonwolf/FunnyBones/BordImages/88x31_2.jpg"> <script language="javascript" src="http://www.saybox.co.uk/output.php?user=cheerioes"></script></td></tr> <tr><td><table border="0" width="100%" cellspacing="1" cellpadding="0" bgcolor="00624B" class="bordercolor" align="center"> <tr><td class="windowbg" bgcolor="66CAC6" width="100%"> <table width="100%" cellspacing="0" cellpadding="3"> <tr><td class="titlebg" bgcolor="369A96"> <b>Users Online</b><font size=2 class="text1" color="00624B"><b></b></font></td> </tr><tr><td id="users" height="82" valign="top" bgcolor="66CAC6" class="windowbg"></td></tr> </table></td></tr></table></td></tr></table></div>
This goes into your main footer...
<script type="text/javascript"> <!--
var GetTag = document.getElementsByTagName var GetID = document.getElementById
if(location.href.match(/(=log|.com\/index.cgi$|^http:\/\/\w+.proboards\d+.com\/$)/i)){   var uCell = GetTag("td")   for(c=0;c<uCell.length;c++){     with(uCell[c]){      if(vAlign=="top" && align=="left" && innerHTML.match(/\d+ Member*/i)){        GetID("users").innerHTML += RegExp.rightContext      }    }  }
 var fTable = document.getElementsByTagName("table")   for(t=0;t<fTable.length;t++){    with(fTable[t]){      if(width=="92%" && cellSpacing=="0"){        var newCell = fTable[t].rows[0].insertCell(0)        newCell.vAlign = "top"        newCell.align = "left"        newCell.innerHTML = GetID("holder").innerHTML      }    }  } }
//--> </script>
|
|
|
Post by cheerioes on May 18, 2004 22:30:25 GMT
Wowo This really looks great just what I wanted thank you so much..
I do have one question.. I copied everything to my main board and it works great on the main Forum Page..
I also put it on the second board (which Is the one I mimic..) for the entire site
THE WHOLE SAY BOX does not show up on the inner board threads
Am I doing something wrong OR is it AND THE SAY BOX just set up to show on the main page
No big problem if that is the way it is.. Just need to know..
Thanks for your support
Cheerioes
|
|
|
Post by Peter on May 19, 2004 1:38:32 GMT
That code is just for the main page. If you want the SayBox in your boards, you need to use what you had before. You can't have the user's online in the boards, well, not unless I write another code for you, but it will take a few seconds for the user's online list to appear in boards because it has to load the iframe first before getting a copy of the user's online cell HTML Peter
|
|