MyBB Source


Enter the Guess MyBB 1.6 Release Date Contest

Blue Rush has been updated

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


jeyci
Member


Posts: 106
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,304
Joined: Aug 2009
Reputation: 7
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: 174
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: 106
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
saintsinner
Junior Member


Posts: 17
Joined: Jan 2010
Reputation: 0
Post: #6
RE: How do I do this?
where is that?
02-08-2010 12:05 PM
Detective RooTz
Member


Posts: 158
Joined: Feb 2010
Reputation: 0
Post: #7
RE: How do I do this?
Hm. I had a error similar to this. I fixed it with a post above but I forgot exactly.

[Image: bKPjlJ]
(This post was last modified: 02-08-2010 02:19 PM by Detective RooTz.)
02-08-2010 02:19 PM
 





Web Design | Web Design Jobs