Another Way to Add Avatars to WhosOnline

This discussion is related to the Who’s Online addon.
ShadowdareShadowdare Moderator
edited March 2013 in Feedback

Here is the code for WhosOnline 1.3 that I've modified for user avatars. This works in Vanilla 2.1.

Simply replace everything in ./plugins/WhosOnline/class.whosonlinemodule.php with the code on this page:

http://pastebin.com/raw.php?i=F8B0j3my

In your theme, you can add CSS code like this:

#WhosOnlineCustom li.cycle {
  display: inline;
  border: 0;
}

#WhosOnlineCustom li.cycle img {
  width: 32px;
  height: 32px;
  margin: 5px 5px 0 0;
}

Add Pages to Vanilla with the Basic Pages app

Srggamervrijvlinderngtrianjeongweerajlaksh

Comments

Sign In or Register to comment.