MyBB Source


Enter the Guess MyBB 1.6 Release Date Contest

AdvancedProfile 2 | [Public Beta] MyTrader

Latest Releases: Password Change - Mark Unread - Ban Appeal

 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I do this?
Author Message
Skiilz
Member


Posts: 154
Joined: Sep 2009
Reputation: 0
Post: #1
How do I do this?
How do I add this image for stats, online users...?




I tried this code and look what I got:
Code:
<tr>
<td class="tcat" width="100%"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<tr><td class="tcat" align="left"><img src="images/affiliates.png" valign="middle" alt="*" border="0" /></td>
<td class="trow1" align="left">
<div class="smallfont">
<div>{$lang->online_note}<br />{$onlinemembers}</div>
</div></td></tr>

[attachment=512]
(This post was last modified: 12-11-2009 08:25 AM by Skiilz.)
12-11-2009 08:24 AM

Advertisement

jeyci
Member


Posts: 98
Joined: Aug 2009
Reputation: 0
Post: #2
RE: How do I do this?
You want to add the + image to everyone online?
Or you want to add only one @ the online users pane?
12-12-2009 01:15 PM
Svizy
Support Team

Support

Posts: 1,190
Joined: Aug 2009
Reputation: 6
Post: #3
RE: How do I do this?
(12-12-2009 01:15 PM)jeyci Wrote:  You want to add the + image to everyone online?
Or you want to add only one @ the online users pane?
He only wants to add it to the online users panel

Giving PM support only for General MyBB issues!

12-12-2009 07:23 PM
HolyPhoenix
Premium User


Posts: 173
Joined: Sep 2008
Reputation: 0
Post: #4
RE: How do I do this?
hmmmm, you might actually have to edit the variable $onlinemembers.

if there is a simpler way it would be more like this.

Code:
<tr>
<td class="tcat" width="100%"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow1" align="left">
<div class="smallfont">
<div>{$lang->online_note}<br /><td class="tcat" align="left"><img src="images/affiliates.png" valign="middle" alt="*" border="0" /></td>{$onlinemembers}</div>
</div></td></tr>

But my guess is that is pulls all the users before adding them to the list rather than on the spot. So my guess is that that code would give you a plus behind all of the online users and not each one.

[Image: tehholiestphoenixuserbar2.png]
12-19-2009 06:31 AM
jeyci
Member


Posts: 98
Joined: Aug 2009
Reputation: 0
Post: #5
RE: How do I do this?
<td background="">

Make the image background of the column.
12-19-2009 04:48 PM
 





Web Design | Web Design Jobs