Quote:
Originally posted by jcroft
Has anyone modified this hack for use in a sidebar...with like a vertical list of the online users, with links to their profiles? If so, would you mind sharing your code?
|
Not running this - yet, at any rate. But looking at the code...
FIND
$regmemberson .= ", ";
REPLACE WITH
$regmemberson .= "<br>";
FIND
echo("Member(s) on: $regmemberson. Guest(s) on: $guestson.");
REPLACE WITH
echo("Member(s) on:<BR>$regmemberson.<BR>Guest(s) on:<BR>$guestson.");
My understanding of the code is that this should produce:
Member(s) on:
Hammer
Friend
JDoe
JBloggs.
Guest(s) on:
8.
Should be easy to program that as a configuration option; I'd fix "Member(s)" to work properly too, to be honest... not a difficult thing.
J