PDA

View Full Version : New Online Users Template


imported_ULTIMATESSJ
02-06-2003, 03:35 PM
Something that i would really like, would be if someone can make a template, which joins the online users and onloine users today (from a hack) into one halfed table, it would look pretty good

Tony G
02-07-2003, 03:10 AM
Halfed table? Like split half way?

imported_ULTIMATESSJ
02-07-2003, 03:56 PM
yep, so that the users online are on the left side, and the users today are on the right side, the tables could look the same, but he split down the middle

Tony G
02-07-2003, 08:20 PM
Quite simple, just make sure they use the same <tr> tag. When you want them tp split, add a </td> and then start a new one. Make sure the width is at 50% to be even on both sides. Also it will split the category side to it too.

imported_ULTIMATESSJ
02-07-2003, 09:30 PM
i've tried this, but no matter what i've tried to do, i get this problem, heres the code



<tr id="cat">
<td width="50%" bgcolor="{categorybackcolor}" colspan="5"><a href="online.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Currently Active Users</b></normalfont></a><normalfont color="{categoryfontcolor}"><b>: $totalonline</b></normalfont></td>


<td width="50%" bgcolor="{categorybackcolor}" colspan="6">
<normalfont color="{categoryfontcolor}"><b>
Number of Active Users Today:</b>
</normalfont><normalfont color="{categoryfontcolor}">
<b>$numbertodayonline</b></normalfont>
</td>


</tr>
<tr>
<td bgcolor="{firstaltcolor}" colspan="5"><smallfont>
<nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> |
<nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br>
$activeusers</smallfont></td>

<td bgcolor="{firstaltcolor}" colspan="6"><smallfont>
<nobr>Most users ever online on a day was $todayrecordusers on $todayrecorddate.</nobr> |
<nobr>The following members have already visited the Board today:</nobr><br>
$todayloggedinuser<br>
</smallfont></td>


</tr>

Brad
02-19-2003, 12:38 PM
</tr>
<tr>

Remove that from your code and it sould work.

Tony G
02-19-2003, 08:38 PM
Yes, I mentioned for you to split the tables using a </td> and not a </tr>. You did that, but no </tr> is needed otherwise it starts a new line.