PDA

View Full Version : Who was online today scroll box.


kuska
02-06-2004, 06:21 PM
Who was online today by VBDev - Im using it on my Polish forum http://www.NaKazdyTemat.com/ - Can some one show me how to make the whos online box into a set size scoll box so 1/2 of my index isint full of "Who was online today" users. Something like the ShoutBox where the table dosent change size - Just adds a scroll. Its propably easy to do but im just lazy :disappointed:

kuska
02-06-2004, 07:26 PM
This is the code that i want to redo :speechless:


<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>

</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">




<tr>
<td class="alt2">
<a href="online.php?$session[sessionurl]"><img src="images/onnow.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">


<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>

<!-- WHO WAS ONLINE TODAY HACK -->
<span class="smallfont">
<b><phrase 1="$nbusers">$vbphrase[connectes_dernieres_24h]</phrase>
</b> $usernameonline
</span>

<!-- END WHO WAS ONLINE HACK -->


</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->