Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

who is online pro

This discussion is related to the Who’s Online addon.
edited January 2012 in Vanilla 2.0 - 2.8

I bought pro version , but i didn't see avatars online members....

Best Answer

  • hbfhbf wiki guy? MVP
    Answer ✓

    There are already some threads on how to accomplish this, so do a few searches and it should turn up what you need.

    But fundamentally you will need to edit

    public function ToString()
    in class.whosonlinemodule.php
    such that instead of returning
    it returns
    < img src=\"".Url('uploads/'.ChangeBasename($User->Photo, 'p%s'))."\" alt=\"".$User->Name."\" title=\"".$User->Name."\" />

    you'll have to play with the SQL queries to get the photo info (need to join tables) and a few other minor tweaks. But this should get you in the ball-park i would assume.


Sign In or Register to comment.