HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Another Way to Add Avatars to WhosOnline

This discussion is related to the Who’s Online addon.
ShadowdareShadowdare r_j MVP
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.