Grunt
09-23-2002, 11:08 AM
Ive been working on modding a welcome panel, but i cant get the $loggedinusers info to display..the template (tables) are
ok, but the info just doesnt show up..it is however working in the default location at the bottom of the forums..i just
basically just cut and pasted the info from the loggedinusers template info into a table..wondering perhaps what
the problem might be?
a snippet of the code:
<tr id="cat">
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"">
<!-- private messages table header -->
<table width="100%" width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<td width="100%" colspan="2"><normalfont color="#000000"><b>Private Messages</b></normalfont></td>
</tr>
</table>
<!-- /private messages table header -->
</td>
</tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<!-- private messages icon-->
<td bgcolor="#FFFFFF" align="center" valign="top" width="70">
<a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname"><img src="images/_silverorange/privmsg$lightbulb.gif" alt="Private Messages System" border="0"></a>
</td>
<!-- private messages icon -->
<!-- private messages text -->
<td bgcolor="#FFFFFF">
<smallfont>
<b>$bbuserinfo[username]</b> - You have <b>$newpm[messages]</b> new message(s) since your last visit.<br>
(You have <b>$unreadpm[messages]</b> unread messages and <b>$allpm[messages]</b> total messages in all your folders.)
</smallfont>
</td>
<!-- /private messages text -->
</tr>
</table>
</td>
</tr>
<tr id="cat">
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"">
<!-- Logged In Users table header -->
<table width="100%" width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<td width="100%" colspan="2"><normalfont color="#000000"><a href="online.php?s=$session[sessionhash]"><normalfont color="#FFFFFF"><b>Currently Active Users</b></normalfont></a><normalfont color="#FFFFFF"><b>: $totalonline</b></normalfont></td>
</tr>
</table>
<!-- /Logged In Users table header -->
</td>
</tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<!-- Logged In User text -->
<td bgcolor="#FFFFFF">
<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>
</smallfont>
</td>
<!-- /Logged In User text -->
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
what it looks like now:
ok, but the info just doesnt show up..it is however working in the default location at the bottom of the forums..i just
basically just cut and pasted the info from the loggedinusers template info into a table..wondering perhaps what
the problem might be?
a snippet of the code:
<tr id="cat">
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"">
<!-- private messages table header -->
<table width="100%" width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<td width="100%" colspan="2"><normalfont color="#000000"><b>Private Messages</b></normalfont></td>
</tr>
</table>
<!-- /private messages table header -->
</td>
</tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<!-- private messages icon-->
<td bgcolor="#FFFFFF" align="center" valign="top" width="70">
<a href="private.php?s=$session[sessionhash]" title="Click Here to Open Your Private Messages $inboxname"><img src="images/_silverorange/privmsg$lightbulb.gif" alt="Private Messages System" border="0"></a>
</td>
<!-- private messages icon -->
<!-- private messages text -->
<td bgcolor="#FFFFFF">
<smallfont>
<b>$bbuserinfo[username]</b> - You have <b>$newpm[messages]</b> new message(s) since your last visit.<br>
(You have <b>$unreadpm[messages]</b> unread messages and <b>$allpm[messages]</b> total messages in all your folders.)
</smallfont>
</td>
<!-- /private messages text -->
</tr>
</table>
</td>
</tr>
<tr id="cat">
<td bgcolor=""#90B9F1" background="images/cat_bg.gif"">
<!-- Logged In Users table header -->
<table width="100%" width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<td width="100%" colspan="2"><normalfont color="#000000"><a href="online.php?s=$session[sessionhash]"><normalfont color="#FFFFFF"><b>Currently Active Users</b></normalfont></a><normalfont color="#FFFFFF"><b>: $totalonline</b></normalfont></td>
</tr>
</table>
<!-- /Logged In Users table header -->
</td>
</tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="4" height="100%">
<tr>
<!-- Logged In User text -->
<td bgcolor="#FFFFFF">
<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>
</smallfont>
</td>
<!-- /Logged In User text -->
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
what it looks like now: