MyBB Community Forums

Full Version: Help needed for DennisTTs " Who Is Online today Plugin"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Yesterday i installed DennisTTs Who was online Today plugin. Its wirking Fine. Since There was no Icon Image Appearing for the "Who was online Today Data" I made some changes in the index_whoseonline
[where code is inserted to install this plugin] And was able to do it.

But Now a 2 mm Spacing is seen on the right side of this table .
How to Remove This ?
[attachment=5161]
www.forums.freewebworld.org
Thank You.
Maybe you should paste what's inside your index_whoseonline template?
judel Wrote:Maybe you should paste what's inside your index_whoseonline template?

Here is the File :

Quote:<tr>
<td class="tcat" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/stats/collapse{$collapsedimg['online']}.gif" id="online_img" class="expander" alt="[-]" /></div>
<strong>$lang->whos_online</strong> [<a href="online.php">$lang->complete_list</a>]</td>
</tr>
<tbody style="{$collapsed['online_e']}" id="online_e">
<tr>
<td class="trow2" width="34px"><img src="$theme[imgdir]/online.gif"></td>
<td class="trow1"><span class="smalltext">$lang->online_note<br />$onlinemembers</span></td>
</tr>
</tbody>
<tr>
<td class="tcat" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/stats/collapse{$collapsedimg['online']}.gif" id="online_img" class="expander" alt="[-]" /></div><strong>Who was Online Today?</strong><a href="online.php?action=today">[Complete List]</a></td>
</tr>
<tr>
<td class="trow2" ><img src="http://www.freewebworld.icontact-hosting.com/FORUM/images/MyBulletin/stats.gif"></td>
<td class="trow1" colspan="2" ><span class="smalltext">$onlinetoday</span>
</td>
</tr>
judel Wrote:Well, it looks like you've accomplished a lot.  Looks good!! Seems like you've added an extra column in there on the right!  Since I don't know what you changed in your templates, I can only guess that you attempted to add a column to the wrong template.
WELL Jude,

Your motivation made it possible...
I have attached the file in The other post where u asked for It :

http://community.mybboard.net/showthread.php?tid=15327

Thanks.
Well, I do notice something in the last part of your code:

<tr>
<td class="trow2" ><img src="http://www.freewebworld.icontact-hosting.com/FORUM/images/MyBulletin/stats.gif"></td>
<td class="trow1" colspan="2" ><span class="smalltext">$onlinetoday</span>
</td>
</tr>

Try removing the colspan="2" and see if that fixes it. Otherwise, it looks like you have too many columns in that row. Big Grin

edit: Well, I just now checked your website, and it looks like you already solved the problem! Was that it?
Yeah you don't need the colspan="2" if you have the icon there.

Merged your two threads
Yes.. Later on i realized that it would be Meaningless to SPan the Columns when The Image Column already exhists !

Thank You Jude...& Dennis for this Nice Plugin.
Pages: 1 2