Try commenting out
$onlineLink->setLineBreak(TRUE); in
view/onlineview.php? If you add a comma after the span with the username, it'll be showing up after even the last one, but that can't be helped (and works out well, if you left in the
Total Visitors:). In addition to the comma you added after the username, you'll want to add a space, too. ^^
The class
.onlinelistt is giving the span holding the username a width of 17%. It's being defined in **root**
/css/online.css, so you can safely remove the width line.
It's hard for me to test this since I'm the only member on my site. @_@ But to recap, the entire
while statement in onlineview.php should now look like this:
PHP Code:
while($username = $stmt->fetchColumn()){
$user = new Member($username);
$user->getprofile();
$onlineLink = new Link("profile/view/{$username}");
$onlineLink->setClass("onlinelist");
$onlineText = "<span class='onlinelistt'>{$user->username}, </span>";
$onlineLink->setText($onlineText);
$document->add($onlineLink);
}
And I think you already found the line to modify in
lang/lang_online.php to remove the top of the pseudo-table that was going on, so I won't need to go into that. ^^