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
$User->Name
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.
Comments
pro version doesn't do that out of the box. you can modify the code to do that if you like.
can you help me?
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 $User->Name 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.